0s autopkgtest [18:36:05]: starting date and time: 2025-05-06 18:36:05+0000 0s autopkgtest [18:36:05]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [18:36:05]: host juju-7f2275-prod-proposed-migration-environment-21; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.pugtuuji/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-1ubuntu1.1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-21@bos03-11.secgroup --name adt-plucky-amd64-glib2.0-20250506-183605-juju-7f2275-prod-proposed-migration-environment-21-327fec12-ed4f-4bd4-bde7-1dd626ab3d3c --image adt/ubuntu-plucky-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/ 55s autopkgtest [18:37:00]: testbed dpkg architecture: amd64 55s autopkgtest [18:37:00]: testbed apt version: 3.0.0 55s autopkgtest [18:37:00]: @@@@@@@@@@@@@@@@@@@@ test bed setup 56s autopkgtest [18:37:01]: testbed release detected to be: None 56s autopkgtest [18:37:01]: updating testbed package index (apt update) 57s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [265 kB] 57s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 57s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 57s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 57s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [5196 B] 57s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [3700 B] 57s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [5776 B] 57s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 c-n-f Metadata [288 B] 57s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 c-n-f Metadata [232 B] 57s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [14.8 kB] 57s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [17.3 kB] 57s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 c-n-f Metadata [9496 B] 57s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 c-n-f Metadata [440 B] 58s Fetched 322 kB in 1s (458 kB/s) 58s Reading package lists... 59s autopkgtest [18:37:04]: upgrading testbed (apt dist-upgrade and autopurge) 59s Reading package lists... 59s Building dependency tree... 59s Reading state information... 60s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 60s Starting 2 pkgProblemResolver with broken count: 0 60s Done 60s Entering ResolveByKeep 60s 60s Calculating upgrade... 61s The following packages will be upgraded: 61s tzdata 61s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 61s Need to get 198 kB of archives. 61s After this operation, 0 B of additional disk space will be used. 61s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 tzdata all 2025b-1ubuntu1.1 [198 kB] 61s Preconfiguring packages ... 61s Fetched 198 kB in 0s (583 kB/s) 62s (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 ... 80514 files and directories currently installed.) 62s Preparing to unpack .../tzdata_2025b-1ubuntu1.1_all.deb ... 62s Unpacking tzdata (2025b-1ubuntu1.1) over (2025b-1ubuntu1) ... 62s Setting up tzdata (2025b-1ubuntu1.1) ... 62s 62s Current default time zone: 'Etc/UTC' 62s Local time is now: Tue May 6 18:37:07 UTC 2025. 62s Universal Time is now: Tue May 6 18:37:07 UTC 2025. 62s Run 'dpkg-reconfigure tzdata' if you wish to change it. 62s 62s Reading package lists... 62s Building dependency tree... 62s Reading state information... 63s Starting pkgProblemResolver with broken count: 0 63s Starting 2 pkgProblemResolver with broken count: 0 63s Done 63s Solving dependencies... 63s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 66s autopkgtest [18:37:11]: testbed running kernel: Linux 6.14.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Sun Apr 6 15:05:05 UTC 2025 66s autopkgtest [18:37:11]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 76s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.84.1-1 (dsc) [4812 B] 76s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.84.1-1 (tar) [661 kB] 76s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.84.1-1 (tar) [5615 kB] 76s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.84.1-1 (diff) [136 kB] 76s gpgv: Signature made Fri Apr 4 19:02:25 2025 UTC 76s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D 76s gpgv: Can't check signature: No public key 76s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.84.1-1.dsc: no acceptable signature found 77s autopkgtest [18:37:22]: testing package glib2.0 version 2.84.1-1 82s autopkgtest [18:37:27]: build not needed 89s autopkgtest [18:37:34]: test build: preparing testbed 89s Reading package lists... 89s Building dependency tree... 89s Reading state information... 90s Starting pkgProblemResolver with broken count: 0 90s Starting 2 pkgProblemResolver with broken count: 0 90s Done 90s The following NEW packages will be installed: 90s build-essential cpp cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu g++ 90s g++-14 g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14 90s gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 libblkid-dev libcc1-0 90s libffi-dev libgcc-14-dev libgio-2.0-dev libgomp1 libhwasan0 libisl23 libitm1 90s liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 90s libpcre2-posix3 libpkgconf3 libquadmath0 libselinux1-dev libsepol-dev 90s libstdc++-14-dev libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf 90s pkgconf-bin uuid-dev zlib1g-dev 90s 0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded. 90s Need to get 71.0 MB of archives. 90s After this operation, 245 MB of additional disk space will be used. 90s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libisl23 amd64 0.27-1 [685 kB] 91s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 91s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-19ubuntu2 [11.9 MB] 91s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14 amd64 14.2.0-19ubuntu2 [1030 B] 91s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [5586 B] 91s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp amd64 4:14.2.0-1ubuntu1 [22.4 kB] 91s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libcc1-0 amd64 15-20250404-0ubuntu1 [47.1 kB] 91s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libgomp1 amd64 15-20250404-0ubuntu1 [151 kB] 91s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libitm1 amd64 15-20250404-0ubuntu1 [29.5 kB] 91s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libasan8 amd64 15-20250404-0ubuntu1 [3076 kB] 91s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 liblsan0 amd64 15-20250404-0ubuntu1 [1362 kB] 91s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libtsan2 amd64 15-20250404-0ubuntu1 [2760 kB] 91s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libubsan1 amd64 15-20250404-0ubuntu1 [1211 kB] 91s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libhwasan0 amd64 15-20250404-0ubuntu1 [1687 kB] 91s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libquadmath0 amd64 15-20250404-0ubuntu1 [153 kB] 91s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-14-dev amd64 14.2.0-19ubuntu2 [2815 kB] 91s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-19ubuntu2 [23.3 MB] 92s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14 amd64 14.2.0-19ubuntu2 [540 kB] 92s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [1208 B] 92s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc amd64 4:14.2.0-1ubuntu1 [5004 B] 92s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++-14-dev amd64 14.2.0-19ubuntu2 [2510 kB] 92s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-19ubuntu2 [13.4 MB] 93s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14 amd64 14.2.0-19ubuntu2 [23.0 kB] 93s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [968 B] 93s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 g++ amd64 4:14.2.0-1ubuntu1 [1100 B] 93s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 build-essential amd64 12.12ubuntu1 [5080 B] 93s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 libffi-dev amd64 3.4.7-1 [65.5 kB] 93s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 uuid-dev amd64 2.40.2-14ubuntu1 [54.5 kB] 93s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 libblkid-dev amd64 2.40.2-14ubuntu1 [235 kB] 93s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 libsepol-dev amd64 3.7-1 [404 kB] 93s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-16-0 amd64 10.45-1 [268 kB] 93s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-32-0 amd64 10.45-1 [251 kB] 93s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-posix3 amd64 10.45-1 [7204 B] 93s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-dev amd64 10.45-1 [908 kB] 93s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libselinux1-dev amd64 3.7-3ubuntu3 [170 kB] 93s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 libmount-dev amd64 2.40.2-14ubuntu1 [34.6 kB] 93s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 libsysprof-capture-4-dev amd64 48.0-2 [55.1 kB] 93s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libpkgconf3 amd64 1.8.1-4 [32.3 kB] 93s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf-bin amd64 1.8.1-4 [21.6 kB] 93s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf amd64 1.8.1-4 [16.8 kB] 93s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu1 [895 kB] 93s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev amd64 2.84.1-1 [1886 kB] 93s Fetched 71.0 MB in 3s (25.7 MB/s) 93s Selecting previously unselected package libisl23:amd64. 93s (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 ... 80514 files and directories currently installed.) 93s Preparing to unpack .../00-libisl23_0.27-1_amd64.deb ... 93s Unpacking libisl23:amd64 (0.27-1) ... 93s Selecting previously unselected package libmpc3:amd64. 93s Preparing to unpack .../01-libmpc3_1.3.1-1build2_amd64.deb ... 93s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 93s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 93s Preparing to unpack .../02-cpp-14-x86-64-linux-gnu_14.2.0-19ubuntu2_amd64.deb ... 93s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 94s Selecting previously unselected package cpp-14. 94s Preparing to unpack .../03-cpp-14_14.2.0-19ubuntu2_amd64.deb ... 94s Unpacking cpp-14 (14.2.0-19ubuntu2) ... 94s Selecting previously unselected package cpp-x86-64-linux-gnu. 94s Preparing to unpack .../04-cpp-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 94s Unpacking cpp-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 94s Selecting previously unselected package cpp. 94s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_amd64.deb ... 94s Unpacking cpp (4:14.2.0-1ubuntu1) ... 94s Selecting previously unselected package libcc1-0:amd64. 94s Preparing to unpack .../06-libcc1-0_15-20250404-0ubuntu1_amd64.deb ... 94s Unpacking libcc1-0:amd64 (15-20250404-0ubuntu1) ... 94s Selecting previously unselected package libgomp1:amd64. 94s Preparing to unpack .../07-libgomp1_15-20250404-0ubuntu1_amd64.deb ... 94s Unpacking libgomp1:amd64 (15-20250404-0ubuntu1) ... 94s Selecting previously unselected package libitm1:amd64. 94s Preparing to unpack .../08-libitm1_15-20250404-0ubuntu1_amd64.deb ... 94s Unpacking libitm1:amd64 (15-20250404-0ubuntu1) ... 94s Selecting previously unselected package libasan8:amd64. 94s Preparing to unpack .../09-libasan8_15-20250404-0ubuntu1_amd64.deb ... 94s Unpacking libasan8:amd64 (15-20250404-0ubuntu1) ... 94s Selecting previously unselected package liblsan0:amd64. 94s Preparing to unpack .../10-liblsan0_15-20250404-0ubuntu1_amd64.deb ... 94s Unpacking liblsan0:amd64 (15-20250404-0ubuntu1) ... 94s Selecting previously unselected package libtsan2:amd64. 94s Preparing to unpack .../11-libtsan2_15-20250404-0ubuntu1_amd64.deb ... 94s Unpacking libtsan2:amd64 (15-20250404-0ubuntu1) ... 94s Selecting previously unselected package libubsan1:amd64. 94s Preparing to unpack .../12-libubsan1_15-20250404-0ubuntu1_amd64.deb ... 94s Unpacking libubsan1:amd64 (15-20250404-0ubuntu1) ... 94s Selecting previously unselected package libhwasan0:amd64. 94s Preparing to unpack .../13-libhwasan0_15-20250404-0ubuntu1_amd64.deb ... 94s Unpacking libhwasan0:amd64 (15-20250404-0ubuntu1) ... 94s Selecting previously unselected package libquadmath0:amd64. 94s Preparing to unpack .../14-libquadmath0_15-20250404-0ubuntu1_amd64.deb ... 94s Unpacking libquadmath0:amd64 (15-20250404-0ubuntu1) ... 94s Selecting previously unselected package libgcc-14-dev:amd64. 94s Preparing to unpack .../15-libgcc-14-dev_14.2.0-19ubuntu2_amd64.deb ... 94s Unpacking libgcc-14-dev:amd64 (14.2.0-19ubuntu2) ... 94s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 94s Preparing to unpack .../16-gcc-14-x86-64-linux-gnu_14.2.0-19ubuntu2_amd64.deb ... 94s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 95s Selecting previously unselected package gcc-14. 95s Preparing to unpack .../17-gcc-14_14.2.0-19ubuntu2_amd64.deb ... 95s Unpacking gcc-14 (14.2.0-19ubuntu2) ... 95s Selecting previously unselected package gcc-x86-64-linux-gnu. 95s Preparing to unpack .../18-gcc-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 95s Unpacking gcc-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 95s Selecting previously unselected package gcc. 95s Preparing to unpack .../19-gcc_4%3a14.2.0-1ubuntu1_amd64.deb ... 95s Unpacking gcc (4:14.2.0-1ubuntu1) ... 95s Selecting previously unselected package libstdc++-14-dev:amd64. 95s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-19ubuntu2_amd64.deb ... 95s Unpacking libstdc++-14-dev:amd64 (14.2.0-19ubuntu2) ... 95s Selecting previously unselected package g++-14-x86-64-linux-gnu. 95s Preparing to unpack .../21-g++-14-x86-64-linux-gnu_14.2.0-19ubuntu2_amd64.deb ... 95s Unpacking g++-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 95s Selecting previously unselected package g++-14. 95s Preparing to unpack .../22-g++-14_14.2.0-19ubuntu2_amd64.deb ... 95s Unpacking g++-14 (14.2.0-19ubuntu2) ... 95s Selecting previously unselected package g++-x86-64-linux-gnu. 95s Preparing to unpack .../23-g++-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 95s Unpacking g++-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 95s Selecting previously unselected package g++. 95s Preparing to unpack .../24-g++_4%3a14.2.0-1ubuntu1_amd64.deb ... 95s Unpacking g++ (4:14.2.0-1ubuntu1) ... 95s Selecting previously unselected package build-essential. 95s Preparing to unpack .../25-build-essential_12.12ubuntu1_amd64.deb ... 95s Unpacking build-essential (12.12ubuntu1) ... 95s Selecting previously unselected package libffi-dev:amd64. 95s Preparing to unpack .../26-libffi-dev_3.4.7-1_amd64.deb ... 95s Unpacking libffi-dev:amd64 (3.4.7-1) ... 95s Selecting previously unselected package uuid-dev:amd64. 95s Preparing to unpack .../27-uuid-dev_2.40.2-14ubuntu1_amd64.deb ... 95s Unpacking uuid-dev:amd64 (2.40.2-14ubuntu1) ... 95s Selecting previously unselected package libblkid-dev:amd64. 95s Preparing to unpack .../28-libblkid-dev_2.40.2-14ubuntu1_amd64.deb ... 95s Unpacking libblkid-dev:amd64 (2.40.2-14ubuntu1) ... 95s Selecting previously unselected package libsepol-dev:amd64. 95s Preparing to unpack .../29-libsepol-dev_3.7-1_amd64.deb ... 95s Unpacking libsepol-dev:amd64 (3.7-1) ... 95s Selecting previously unselected package libpcre2-16-0:amd64. 95s Preparing to unpack .../30-libpcre2-16-0_10.45-1_amd64.deb ... 95s Unpacking libpcre2-16-0:amd64 (10.45-1) ... 96s Selecting previously unselected package libpcre2-32-0:amd64. 96s Preparing to unpack .../31-libpcre2-32-0_10.45-1_amd64.deb ... 96s Unpacking libpcre2-32-0:amd64 (10.45-1) ... 96s Selecting previously unselected package libpcre2-posix3:amd64. 96s Preparing to unpack .../32-libpcre2-posix3_10.45-1_amd64.deb ... 96s Unpacking libpcre2-posix3:amd64 (10.45-1) ... 96s Selecting previously unselected package libpcre2-dev:amd64. 96s Preparing to unpack .../33-libpcre2-dev_10.45-1_amd64.deb ... 96s Unpacking libpcre2-dev:amd64 (10.45-1) ... 96s Selecting previously unselected package libselinux1-dev:amd64. 96s Preparing to unpack .../34-libselinux1-dev_3.7-3ubuntu3_amd64.deb ... 96s Unpacking libselinux1-dev:amd64 (3.7-3ubuntu3) ... 96s Selecting previously unselected package libmount-dev:amd64. 96s Preparing to unpack .../35-libmount-dev_2.40.2-14ubuntu1_amd64.deb ... 96s Unpacking libmount-dev:amd64 (2.40.2-14ubuntu1) ... 96s Selecting previously unselected package libsysprof-capture-4-dev:amd64. 96s Preparing to unpack .../36-libsysprof-capture-4-dev_48.0-2_amd64.deb ... 96s Unpacking libsysprof-capture-4-dev:amd64 (48.0-2) ... 96s Selecting previously unselected package libpkgconf3:amd64. 96s Preparing to unpack .../37-libpkgconf3_1.8.1-4_amd64.deb ... 96s Unpacking libpkgconf3:amd64 (1.8.1-4) ... 96s Selecting previously unselected package pkgconf-bin. 96s Preparing to unpack .../38-pkgconf-bin_1.8.1-4_amd64.deb ... 96s Unpacking pkgconf-bin (1.8.1-4) ... 96s Selecting previously unselected package pkgconf:amd64. 96s Preparing to unpack .../39-pkgconf_1.8.1-4_amd64.deb ... 96s Unpacking pkgconf:amd64 (1.8.1-4) ... 96s Selecting previously unselected package zlib1g-dev:amd64. 96s Preparing to unpack .../40-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_amd64.deb ... 96s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 96s Selecting previously unselected package libgio-2.0-dev:amd64. 96s Preparing to unpack .../41-libgio-2.0-dev_2.84.1-1_amd64.deb ... 96s Unpacking libgio-2.0-dev:amd64 (2.84.1-1) ... 96s Setting up libgomp1:amd64 (15-20250404-0ubuntu1) ... 96s Setting up libffi-dev:amd64 (3.4.7-1) ... 96s Setting up libpcre2-16-0:amd64 (10.45-1) ... 96s Setting up libsysprof-capture-4-dev:amd64 (48.0-2) ... 96s Setting up libpcre2-32-0:amd64 (10.45-1) ... 96s Setting up libpkgconf3:amd64 (1.8.1-4) ... 96s Setting up uuid-dev:amd64 (2.40.2-14ubuntu1) ... 96s Setting up libquadmath0:amd64 (15-20250404-0ubuntu1) ... 96s Setting up libmpc3:amd64 (1.3.1-1build2) ... 96s Setting up libsepol-dev:amd64 (3.7-1) ... 96s Setting up pkgconf-bin (1.8.1-4) ... 96s Setting up libubsan1:amd64 (15-20250404-0ubuntu1) ... 96s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 96s Setting up libpcre2-posix3:amd64 (10.45-1) ... 96s Setting up libhwasan0:amd64 (15-20250404-0ubuntu1) ... 96s Setting up libasan8:amd64 (15-20250404-0ubuntu1) ... 96s Setting up libtsan2:amd64 (15-20250404-0ubuntu1) ... 96s Setting up libisl23:amd64 (0.27-1) ... 96s Setting up libcc1-0:amd64 (15-20250404-0ubuntu1) ... 96s Setting up liblsan0:amd64 (15-20250404-0ubuntu1) ... 96s Setting up libitm1:amd64 (15-20250404-0ubuntu1) ... 96s Setting up libblkid-dev:amd64 (2.40.2-14ubuntu1) ... 96s Setting up libpcre2-dev:amd64 (10.45-1) ... 96s Setting up libselinux1-dev:amd64 (3.7-3ubuntu3) ... 96s Setting up pkgconf:amd64 (1.8.1-4) ... 96s Setting up cpp-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 96s Setting up cpp-14 (14.2.0-19ubuntu2) ... 96s Setting up libgcc-14-dev:amd64 (14.2.0-19ubuntu2) ... 96s Setting up libstdc++-14-dev:amd64 (14.2.0-19ubuntu2) ... 96s Setting up libmount-dev:amd64 (2.40.2-14ubuntu1) ... 96s Setting up cpp-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 96s Setting up libgio-2.0-dev:amd64 (2.84.1-1) ... 96s Setting up cpp (4:14.2.0-1ubuntu1) ... 96s Setting up gcc-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 96s Setting up gcc-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 96s Setting up gcc-14 (14.2.0-19ubuntu2) ... 96s Setting up g++-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 96s Setting up g++-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 96s Setting up g++-14 (14.2.0-19ubuntu2) ... 96s Setting up gcc (4:14.2.0-1ubuntu1) ... 96s Setting up g++ (4:14.2.0-1ubuntu1) ... 96s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 96s Setting up build-essential (12.12ubuntu1) ... 96s Processing triggers for libc-bin (2.41-6ubuntu1) ... 96s Processing triggers for man-db (2.13.0-1) ... 97s Processing triggers for libglib2.0-0t64:amd64 (2.84.1-1) ... 97s No schema files found: doing nothing. 97s Processing triggers for install-info (7.1.1-1) ... 98s autopkgtest [18:37:43]: test build: [----------------------- 99s + mode=dynamic 99s + getopt -o --long static -n debian/tests/build -- 99s + getopt_temp= -- 99s + eval set -- -- 99s + set -- -- 99s + true 99s + shift 99s + break 99s + mktemp -d 99s + WORKDIR=/tmp/tmp.0Xw6E6vvuv 99s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 99s + cd /tmp/tmp.0Xw6E6vvuv 99s + [ -n ] 99s + CROSS_COMPILE= 99s + cat 99s + cat 99s + cat 99s + cat 99s + cat 99s + cat 99s + cflags= 99s + pcflags= 99s + packages=glib-2.0 99s + pkg-config --cflags --libs glib-2.0 99s + 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 99s + echo build (glib, dynamic): OK 99s + [ -x glib-dynamic ] 99s + foo=bar ./glib-dynamic 99s + echo run (glib, dynamic): OK 99s + cflags= 99s + pcflags= 99s + packages=gobject-2.0 99s + pkg-config --cflags --libs gobject-2.0 99s + 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 99s build (glib, dynamic): OK 99s run (glib, dynamic): OK 99s build (gobject, dynamic): OK 99s + echo build (gobject, dynamic): OK 99s + [ -x gobject-dynamic ] 99s + foo=bar ./gobject-dynamic 99s + echo run (gobject, dynamic): OKrun (gobject, dynamic): OK 99s 99s + cflags= 99s + pcflags= 99s + packages=gio-2.0 99s + pkg-config --cflags --libs gio-2.0 99s + 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 99s build (gio, dynamic): OK 99s + echo build (gio, dynamic): OK 99s + [ -x gio-dynamic ] 99s + foo=bar ./gio-dynamic 99s + echo run (gio, dynamic): OK 99s + cflags= 99s + pcflags= 99s + packages=gio-unix-2.0 99s + run (gio, dynamic): OK 99s pkg-config --cflags --libs gio-unix-2.0 99s + 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 99s build (gio-unix, dynamic): OK 99s + echo build (gio-unix, dynamic): OK 99s + [ -x gio-unix-dynamic ] 99s + foo=bar ./gio-unix-dynamic 99s run (gio-unix, dynamic): OK 99s + echo run (gio-unix, dynamic): OK 99s + cflags= 99s + pcflags= 99s + packages=gmodule-2.0 99s + pkg-config --cflags --libs gmodule-2.0 99s + 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 99s build (gmodule, dynamic): OK 99s + echo build (gmodule, dynamic): OK 99s + [ -x gmodule-dynamic ] 99s + foo=bar ./gmodule-dynamic 99s run (gmodule, dynamic): OK 99s + echo run (gmodule, dynamic): OK 99s + cflags= 99s + pcflags= 99s + packages=gthread-2.0 99s + pkg-config --cflags --libs gthread-2.0 99s + 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 99s + echo build (gthread, dynamic): OK 99s build (gthread, dynamic): OK 99s + [ -x gthread-dynamic ] 99s + foo=bar ./gthread-dynamic 99s run (gthread, dynamic): OK 99s + echo run (gthread, dynamic): OK 99s + rm -rf /tmp/tmp.0Xw6E6vvuv 100s autopkgtest [18:37:45]: test build: -----------------------] 100s autopkgtest [18:37:45]: test build: - - - - - - - - - - results - - - - - - - - - - 100s build PASS (superficial) 100s autopkgtest [18:37:45]: test build-static: preparing testbed 101s Reading package lists... 101s Building dependency tree... 101s Reading state information... 101s Starting pkgProblemResolver with broken count: 0 101s Starting 2 pkgProblemResolver with broken count: 0 101s Done 102s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 103s autopkgtest [18:37:48]: test build-static: [----------------------- 103s + mode=dynamic 103s + getopt -o --long static -n debian/tests/build -- --static 103s + getopt_temp= --static -- 103s + eval set -- --static -- 103s + set -- --static -- 103s + true 103s + mode=static 103s + shift 103s + continue 103s + true 103s + shift 103s + break 103s + mktemp -d 103s + WORKDIR=/tmp/tmp.NMu3u7Jakg 103s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 103s + cd /tmp/tmp.NMu3u7Jakg 103s + [ -n ] 103s + CROSS_COMPILE= 103s + cat 103s + cat 103s + cat 103s + cat 103s + cat 103s + cat 103s + cflags= 103s + pcflags= 103s + packages=glib-2.0 103s + cflags=-static 103s + pcflags=--static 103s + pkg-config --static --cflags --libs glib-2.0 103s + 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 103s /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': 103s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 103s /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 103s /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 103s build (glib, static): OK 103s + echo build (glib, static): OK 103s + [ -x glib-static ] 103s + foo=bar ./glib-static 103s + run (glib, static): OK 103s echo run (glib, static): OK 103s + cflags= 103s + pcflags= 103s + packages=gobject-2.0 103s + cflags=-static 103s + pcflags=--static 103s + pkg-config --static --cflags --libs gobject-2.0 103s + 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 103s /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': 103s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 103s /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 103s /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 103s build (gobject, static): OK 103s + echo build (gobject, static): OK 103s + [ -x gobject-static ] 103s + foo=bar ./gobject-static 103s + echo run (gobject, static): OK 103s + cflags= 103s + pcflags= 103s + packages=gio-2.0 103s + cflags=-static 103s + pcflags=--static 103s + continue 103s + cflags= 103s + pcflags= 103s + packages=gio-unix-2.0 103s + cflags=-static 103s + pcflags=--static 103s + continue 103s + cflags= 103s + pcflags= 103s + packages=gmodule-2.0 103s + cflags=-static 103s + pcflags=--static 103s run (gobject, static): OK 103s + pkg-config --static --cflags --libs gmodule-2.0 103s + 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 103s /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': 103s (.text+0x5bf): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 103s /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': 103s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 103s /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 103s /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 103s build (gmodule, static): OK 103s + echo build (gmodule, static): OK 103s + [ -x gmodule-static ] 103s + foo=bar ./gmodule-static 103s run (gmodule, static): OK 103s + echo run (gmodule, static): OK 103s + cflags= 103s + pcflags= 103s + packages=gthread-2.0 103s + cflags=-static 103s + pcflags=--static 103s + pkg-config --static --cflags --libs gthread-2.0 103s + 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 104s /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': 104s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 104s /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 104s /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 104s build (gthread, static): OK 104s + echo build (gthread, static): OK 104s + [ -x gthread-static ] 104s + foo=bar ./gthread-static 104s + echo run (gthread, static): OK 104s + rm -rf /tmp/tmp.NMu3u7Jakg 104s run (gthread, static): OK 104s autopkgtest [18:37:49]: test build-static: -----------------------] 104s autopkgtest [18:37:49]: test build-static: - - - - - - - - - - results - - - - - - - - - - 104s build-static PASS (superficial) 105s autopkgtest [18:37:50]: test girepository-tools: preparing testbed 190s autopkgtest [18:39:15]: testbed dpkg architecture: amd64 190s autopkgtest [18:39:15]: testbed apt version: 3.0.0 191s autopkgtest [18:39:16]: @@@@@@@@@@@@@@@@@@@@ test bed setup 191s autopkgtest [18:39:16]: testbed release detected to be: plucky 192s autopkgtest [18:39:17]: updating testbed package index (apt update) 192s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [265 kB] 192s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 192s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 192s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 193s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [5196 B] 193s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [5776 B] 193s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [3700 B] 193s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 c-n-f Metadata [288 B] 193s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 c-n-f Metadata [232 B] 193s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [17.3 kB] 193s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [14.8 kB] 193s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 c-n-f Metadata [9496 B] 193s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 c-n-f Metadata [440 B] 193s Fetched 322 kB in 1s (464 kB/s) 194s Reading package lists... 194s autopkgtest [18:39:19]: upgrading testbed (apt dist-upgrade and autopurge) 195s Reading package lists... 195s Building dependency tree... 195s Reading state information... 196s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 196s Starting 2 pkgProblemResolver with broken count: 0 196s Done 197s Entering ResolveByKeep 197s 197s Calculating upgrade... 198s The following packages will be upgraded: 198s tzdata 198s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 198s Need to get 198 kB of archives. 198s After this operation, 0 B of additional disk space will be used. 198s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 tzdata all 2025b-1ubuntu1.1 [198 kB] 198s Preconfiguring packages ... 199s Fetched 198 kB in 0s (549 kB/s) 199s (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 ... 80514 files and directories currently installed.) 199s Preparing to unpack .../tzdata_2025b-1ubuntu1.1_all.deb ... 199s Unpacking tzdata (2025b-1ubuntu1.1) over (2025b-1ubuntu1) ... 199s Setting up tzdata (2025b-1ubuntu1.1) ... 199s 199s Current default time zone: 'Etc/UTC' 199s Local time is now: Tue May 6 18:39:24 UTC 2025. 199s Universal Time is now: Tue May 6 18:39:24 UTC 2025. 199s Run 'dpkg-reconfigure tzdata' if you wish to change it. 199s 199s Reading package lists... 200s Building dependency tree... 200s Reading state information... 200s Starting pkgProblemResolver with broken count: 0 200s Starting 2 pkgProblemResolver with broken count: 0 200s Done 201s Solving dependencies... 201s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 204s Reading package lists... 204s Building dependency tree... 204s Reading state information... 204s Starting pkgProblemResolver with broken count: 0 205s Starting 2 pkgProblemResolver with broken count: 0 205s Done 205s The following NEW packages will be installed: 205s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 205s native-architecture 205s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 205s Need to get 1060 kB of archives. 205s After this operation, 12.7 MB of additional disk space will be used. 205s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 gir1.2-glib-2.0-dev amd64 2.84.1-1 [862 kB] 206s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 native-architecture all 0.2.6 [2140 B] 206s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libgirepository-2.0-0 amd64 2.84.1-1 [79.3 kB] 206s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 girepository-tools amd64 2.84.1-1 [116 kB] 206s Fetched 1060 kB in 1s (1781 kB/s) 206s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64. 206s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80514 files and directories currently installed.) 206s Preparing to unpack .../gir1.2-glib-2.0-dev_2.84.1-1_amd64.deb ... 206s Unpacking gir1.2-glib-2.0-dev:amd64 (2.84.1-1) ... 206s Selecting previously unselected package native-architecture. 206s Preparing to unpack .../native-architecture_0.2.6_all.deb ... 206s Unpacking native-architecture (0.2.6) ... 206s Selecting previously unselected package libgirepository-2.0-0:amd64. 206s Preparing to unpack .../libgirepository-2.0-0_2.84.1-1_amd64.deb ... 206s Unpacking libgirepository-2.0-0:amd64 (2.84.1-1) ... 206s Selecting previously unselected package girepository-tools:amd64. 206s Preparing to unpack .../girepository-tools_2.84.1-1_amd64.deb ... 206s Unpacking girepository-tools:amd64 (2.84.1-1) ... 206s Setting up native-architecture (0.2.6) ... 206s Setting up libgirepository-2.0-0:amd64 (2.84.1-1) ... 206s Setting up gir1.2-glib-2.0-dev:amd64 (2.84.1-1) ... 206s Setting up girepository-tools:amd64 (2.84.1-1) ... 206s Processing triggers for man-db (2.13.0-1) ... 207s Processing triggers for libc-bin (2.41-6ubuntu1) ... 218s autopkgtest [18:39:43]: test girepository-tools: [----------------------- 218s + cd /tmp/autopkgtest.5Mldd1/autopkgtest_tmp 218s + dpkg-architecture -qDEB_HOST_GNU_TYPE 218s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 218s + DEB_HOST_GNU_TYPE=x86_64-linux-gnu 218s + dpkg-architecture -qDEB_HOST_MULTIARCH 218s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 218s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 218s + x86_64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 218s typelib: GLib-2.0 218s + x86_64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 219s + x86_64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 219s autopkgtest [18:39:44]: test girepository-tools: -----------------------] 219s autopkgtest [18:39:44]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 219s girepository-tools PASS (superficial) 220s autopkgtest [18:39:45]: test libgio-2.0-dev-bin: preparing testbed 289s autopkgtest [18:40:54]: testbed dpkg architecture: amd64 289s autopkgtest [18:40:54]: testbed apt version: 3.0.0 289s autopkgtest [18:40:54]: @@@@@@@@@@@@@@@@@@@@ test bed setup 289s autopkgtest [18:40:54]: testbed release detected to be: plucky 290s autopkgtest [18:40:55]: updating testbed package index (apt update) 291s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [265 kB] 291s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 291s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 291s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 291s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [5196 B] 291s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [5776 B] 291s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [3700 B] 291s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 c-n-f Metadata [288 B] 291s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 c-n-f Metadata [232 B] 291s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [14.8 kB] 291s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [17.3 kB] 291s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 c-n-f Metadata [9496 B] 291s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 c-n-f Metadata [440 B] 291s Fetched 322 kB in 1s (451 kB/s) 292s Reading package lists... 293s autopkgtest [18:40:58]: upgrading testbed (apt dist-upgrade and autopurge) 293s Reading package lists... 293s Building dependency tree... 293s Reading state information... 294s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 294s Starting 2 pkgProblemResolver with broken count: 0 294s Done 295s Entering ResolveByKeep 295s 295s Calculating upgrade... 295s The following packages will be upgraded: 295s tzdata 296s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 296s Need to get 198 kB of archives. 296s After this operation, 0 B of additional disk space will be used. 296s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 tzdata all 2025b-1ubuntu1.1 [198 kB] 296s Preconfiguring packages ... 296s Fetched 198 kB in 0s (571 kB/s) 296s (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 ... 80514 files and directories currently installed.) 296s Preparing to unpack .../tzdata_2025b-1ubuntu1.1_all.deb ... 296s Unpacking tzdata (2025b-1ubuntu1.1) over (2025b-1ubuntu1) ... 297s Setting up tzdata (2025b-1ubuntu1.1) ... 297s 297s Current default time zone: 'Etc/UTC' 297s Local time is now: Tue May 6 18:41:02 UTC 2025. 297s Universal Time is now: Tue May 6 18:41:02 UTC 2025. 297s Run 'dpkg-reconfigure tzdata' if you wish to change it. 297s 297s Reading package lists... 297s Building dependency tree... 297s Reading state information... 298s Starting pkgProblemResolver with broken count: 0 298s Starting 2 pkgProblemResolver with broken count: 0 298s Done 298s Solving dependencies... 298s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 301s Reading package lists... 301s Building dependency tree... 301s Reading state information... 302s Starting pkgProblemResolver with broken count: 0 302s Starting 2 pkgProblemResolver with broken count: 0 302s Done 302s The following NEW packages will be installed: 302s libgio-2.0-dev-bin 302s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 302s Need to get 129 kB of archives. 302s After this operation, 711 kB of additional disk space will be used. 302s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev-bin amd64 2.84.1-1 [129 kB] 303s Fetched 129 kB in 0s (352 kB/s) 303s Selecting previously unselected package libgio-2.0-dev-bin. 303s (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 ... 80514 files and directories currently installed.) 303s Preparing to unpack .../libgio-2.0-dev-bin_2.84.1-1_amd64.deb ... 303s Unpacking libgio-2.0-dev-bin (2.84.1-1) ... 303s Setting up libgio-2.0-dev-bin (2.84.1-1) ... 303s Processing triggers for man-db (2.13.0-1) ... 311s autopkgtest [18:41:16]: test libgio-2.0-dev-bin: [----------------------- 312s + gdbus-codegen --help 312s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 312s [--c-namespace NAMESPACE] [--c-generate-object-manager] 312s [--c-generate-autocleanup {none,objects,all}] 312s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 312s [--generate-rst OUTFILES] [--pragma-once] 312s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 312s [--glib-min-required VERSION] 312s [--glib-max-allowed VERSION] 312s [--symbol-decorator SYMBOL_DECORATOR] 312s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 312s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 312s [--generate-c-code OUTFILES | --header | --body | 312s --interface-info-header | --interface-info-body] 312s [--output FILE | --output-directory OUTDIR] 312s FILE [FILE ...] 312s 312s D-Bus code and documentation generator 312s 312s positional arguments: 312s FILE D-Bus introspection XML file 312s 312s options: 312s -h, --help show this help message and exit 312s --interface-prefix PREFIX 312s String to strip from D-Bus interface names for code 312s and docs 312s --c-namespace NAMESPACE 312s The namespace to use for generated C code 312s --c-generate-object-manager 312s Generate a GDBusObjectManagerClient subclass when 312s generating C code 312s --c-generate-autocleanup {none,objects,all} 312s Generate autocleanup support 312s --generate-docbook OUTFILES 312s Generate Docbook in OUTFILES-org.Project.IFace.xml 312s --generate-md OUTFILES 312s Generate Markdown in OUTFILES-org.Project.IFace.md 312s --generate-rst OUTFILES 312s Generate reStructuredText in OUTFILES- 312s org.Project.IFace.rst 312s --pragma-once Use "pragma once" as the inclusion guard 312s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 312s Add annotation (may be used several times) 312s --glib-min-required VERSION 312s Minimum version of GLib to be supported by the 312s outputted code (default: 2.30) 312s --glib-max-allowed VERSION 312s Maximum version of GLib to be used by the outputted 312s code (default: current GLib version) 312s --symbol-decorator SYMBOL_DECORATOR 312s Macro used to decorate a symbol in the outputted 312s header, possibly to export symbols 312s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 312s Additional header required for decorator specified by 312s --symbol-decorator 312s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 312s Additional define required for decorator specified by 312s --symbol-decorator 312s --generate-c-code OUTFILES 312s Generate C code in OUTFILES.[ch] 312s --header Generate C headers 312s --body Generate C code 312s --interface-info-header 312s Generate GDBusInterfaceInfo C header 312s --interface-info-body 312s Generate GDBusInterfaceInfo C code 312s --output FILE Write output into the specified file 312s --output-directory OUTDIR 312s Location to output generated files 312s + glib-compile-resources --version 312s + glib-genmarshal --version 312s 2.84.1 312s glib-genmarshal version 2.84.1 312s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 312s You may redistribute copies of glib-genmarshal under the terms of 312s the GNU General Public License which can be found in the 312s GLib source package. Sources, examples and contact 312s information are available at http://www.gtk.org 312s + glib-gettextize --version 312s + glib-mkenums --version 312s /usr/bin/glib-gettextize (GNU glib) 2.84.1 312s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 312s This is free software; see the source for copying conditions. There is NO 312s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 312s Written by Ulrich Drepper 312s glib-mkenums version 2.84.1 312s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 312s You may redistribute copies of glib-mkenums under the terms of 312s the GNU General Public License which can be found in the 312s GLib source package. Sources, examples and contact 312s information are available at http://www.gtk.org 312s + gobject-query tree 312s + gtester --version 312s GObject 312s + gtester-report --version 312s gtester version 2.84.1 312s gtester-report (GLib utils) version 2.84.1. 312s autopkgtest [18:41:17]: test libgio-2.0-dev-bin: -----------------------] 313s autopkgtest [18:41:18]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 313s libgio-2.0-dev-bin PASS (superficial) 313s autopkgtest [18:41:18]: test libglib2.0-dev: preparing testbed 385s autopkgtest [18:42:30]: testbed dpkg architecture: amd64 385s autopkgtest [18:42:30]: testbed apt version: 3.0.0 385s autopkgtest [18:42:30]: @@@@@@@@@@@@@@@@@@@@ test bed setup 386s autopkgtest [18:42:31]: testbed release detected to be: plucky 386s autopkgtest [18:42:31]: updating testbed package index (apt update) 387s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [265 kB] 387s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 387s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 387s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 387s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [5196 B] 387s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [5776 B] 387s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [3700 B] 387s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 c-n-f Metadata [288 B] 387s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 c-n-f Metadata [232 B] 387s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [17.3 kB] 387s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [14.8 kB] 387s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 c-n-f Metadata [9496 B] 387s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 c-n-f Metadata [440 B] 388s Fetched 322 kB in 1s (459 kB/s) 388s Reading package lists... 389s autopkgtest [18:42:34]: upgrading testbed (apt dist-upgrade and autopurge) 389s Reading package lists... 389s Building dependency tree... 389s Reading state information... 390s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 390s Starting 2 pkgProblemResolver with broken count: 0 390s Done 390s Entering ResolveByKeep 390s 390s Calculating upgrade... 391s The following packages will be upgraded: 391s tzdata 391s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 391s Need to get 198 kB of archives. 391s After this operation, 0 B of additional disk space will be used. 391s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 tzdata all 2025b-1ubuntu1.1 [198 kB] 391s Preconfiguring packages ... 391s Fetched 198 kB in 0s (581 kB/s) 392s (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 ... 80514 files and directories currently installed.) 392s Preparing to unpack .../tzdata_2025b-1ubuntu1.1_all.deb ... 392s Unpacking tzdata (2025b-1ubuntu1.1) over (2025b-1ubuntu1) ... 392s Setting up tzdata (2025b-1ubuntu1.1) ... 392s 392s Current default time zone: 'Etc/UTC' 392s Local time is now: Tue May 6 18:42:37 UTC 2025. 392s Universal Time is now: Tue May 6 18:42:37 UTC 2025. 392s Run 'dpkg-reconfigure tzdata' if you wish to change it. 392s 392s Reading package lists... 392s Building dependency tree... 392s Reading state information... 393s Starting pkgProblemResolver with broken count: 0 393s Starting 2 pkgProblemResolver with broken count: 0 393s Done 393s Solving dependencies... 393s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 396s Reading package lists... 396s Building dependency tree... 396s Reading state information... 396s Starting pkgProblemResolver with broken count: 0 396s Starting 2 pkgProblemResolver with broken count: 0 396s Done 396s The following NEW packages will be installed: 396s build-essential cpp cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu g++ 396s g++-14 g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14 396s gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu gir1.2-glib-2.0-dev 396s girepository-tools libasan8 libblkid-dev libcc1-0 libffi-dev libgcc-14-dev 396s libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin 396s libglib2.0-dev libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 396s liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 396s libpcre2-posix3 libpkgconf3 libquadmath0 libselinux1-dev libsepol-dev 396s libstdc++-14-dev libsysprof-capture-4-dev libtsan2 libubsan1 396s native-architecture pkgconf pkgconf-bin uuid-dev zlib1g-dev 397s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 397s Need to get 72.3 MB of archives. 397s After this operation, 259 MB of additional disk space will be used. 397s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libisl23 amd64 0.27-1 [685 kB] 397s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 397s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-19ubuntu2 [11.9 MB] 397s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14 amd64 14.2.0-19ubuntu2 [1030 B] 397s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [5586 B] 397s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp amd64 4:14.2.0-1ubuntu1 [22.4 kB] 397s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libcc1-0 amd64 15-20250404-0ubuntu1 [47.1 kB] 397s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libgomp1 amd64 15-20250404-0ubuntu1 [151 kB] 397s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libitm1 amd64 15-20250404-0ubuntu1 [29.5 kB] 397s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libasan8 amd64 15-20250404-0ubuntu1 [3076 kB] 397s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 liblsan0 amd64 15-20250404-0ubuntu1 [1362 kB] 397s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libtsan2 amd64 15-20250404-0ubuntu1 [2760 kB] 398s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libubsan1 amd64 15-20250404-0ubuntu1 [1211 kB] 398s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libhwasan0 amd64 15-20250404-0ubuntu1 [1687 kB] 398s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libquadmath0 amd64 15-20250404-0ubuntu1 [153 kB] 398s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-14-dev amd64 14.2.0-19ubuntu2 [2815 kB] 398s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-19ubuntu2 [23.3 MB] 399s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14 amd64 14.2.0-19ubuntu2 [540 kB] 399s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [1208 B] 399s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc amd64 4:14.2.0-1ubuntu1 [5004 B] 399s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++-14-dev amd64 14.2.0-19ubuntu2 [2510 kB] 399s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-19ubuntu2 [13.4 MB] 399s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14 amd64 14.2.0-19ubuntu2 [23.0 kB] 399s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [968 B] 399s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 g++ amd64 4:14.2.0-1ubuntu1 [1100 B] 399s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 build-essential amd64 12.12ubuntu1 [5080 B] 399s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 gir1.2-glib-2.0-dev amd64 2.84.1-1 [862 kB] 399s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 native-architecture all 0.2.6 [2140 B] 399s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 libgirepository-2.0-0 amd64 2.84.1-1 [79.3 kB] 399s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 girepository-tools amd64 2.84.1-1 [116 kB] 399s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 libffi-dev amd64 3.4.7-1 [65.5 kB] 399s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 uuid-dev amd64 2.40.2-14ubuntu1 [54.5 kB] 399s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 libblkid-dev amd64 2.40.2-14ubuntu1 [235 kB] 399s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libsepol-dev amd64 3.7-1 [404 kB] 399s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-16-0 amd64 10.45-1 [268 kB] 399s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-32-0 amd64 10.45-1 [251 kB] 399s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-posix3 amd64 10.45-1 [7204 B] 399s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-dev amd64 10.45-1 [908 kB] 399s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 libselinux1-dev amd64 3.7-3ubuntu3 [170 kB] 399s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 libmount-dev amd64 2.40.2-14ubuntu1 [34.6 kB] 399s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 libsysprof-capture-4-dev amd64 48.0-2 [55.1 kB] 399s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libpkgconf3 amd64 1.8.1-4 [32.3 kB] 399s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf-bin amd64 1.8.1-4 [21.6 kB] 399s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf amd64 1.8.1-4 [16.8 kB] 399s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu1 [895 kB] 400s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev amd64 2.84.1-1 [1886 kB] 400s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev-bin amd64 2.84.1-1 [129 kB] 400s Get:48 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-bin amd64 2.84.1-1 [103 kB] 400s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-dev-bin amd64 2.84.1-1 [18.1 kB] 400s Get:50 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-dev amd64 2.84.1-1 [18.9 kB] 400s Fetched 72.3 MB in 3s (22.8 MB/s) 400s Selecting previously unselected package libisl23:amd64. 400s (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 ... 80514 files and directories currently installed.) 400s Preparing to unpack .../00-libisl23_0.27-1_amd64.deb ... 400s Unpacking libisl23:amd64 (0.27-1) ... 400s Selecting previously unselected package libmpc3:amd64. 400s Preparing to unpack .../01-libmpc3_1.3.1-1build2_amd64.deb ... 400s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 400s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 400s Preparing to unpack .../02-cpp-14-x86-64-linux-gnu_14.2.0-19ubuntu2_amd64.deb ... 400s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 400s Selecting previously unselected package cpp-14. 400s Preparing to unpack .../03-cpp-14_14.2.0-19ubuntu2_amd64.deb ... 400s Unpacking cpp-14 (14.2.0-19ubuntu2) ... 400s Selecting previously unselected package cpp-x86-64-linux-gnu. 400s Preparing to unpack .../04-cpp-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 400s Unpacking cpp-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 400s Selecting previously unselected package cpp. 400s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_amd64.deb ... 400s Unpacking cpp (4:14.2.0-1ubuntu1) ... 400s Selecting previously unselected package libcc1-0:amd64. 400s Preparing to unpack .../06-libcc1-0_15-20250404-0ubuntu1_amd64.deb ... 400s Unpacking libcc1-0:amd64 (15-20250404-0ubuntu1) ... 400s Selecting previously unselected package libgomp1:amd64. 400s Preparing to unpack .../07-libgomp1_15-20250404-0ubuntu1_amd64.deb ... 400s Unpacking libgomp1:amd64 (15-20250404-0ubuntu1) ... 400s Selecting previously unselected package libitm1:amd64. 400s Preparing to unpack .../08-libitm1_15-20250404-0ubuntu1_amd64.deb ... 400s Unpacking libitm1:amd64 (15-20250404-0ubuntu1) ... 400s Selecting previously unselected package libasan8:amd64. 400s Preparing to unpack .../09-libasan8_15-20250404-0ubuntu1_amd64.deb ... 400s Unpacking libasan8:amd64 (15-20250404-0ubuntu1) ... 400s Selecting previously unselected package liblsan0:amd64. 400s Preparing to unpack .../10-liblsan0_15-20250404-0ubuntu1_amd64.deb ... 400s Unpacking liblsan0:amd64 (15-20250404-0ubuntu1) ... 400s Selecting previously unselected package libtsan2:amd64. 400s Preparing to unpack .../11-libtsan2_15-20250404-0ubuntu1_amd64.deb ... 400s Unpacking libtsan2:amd64 (15-20250404-0ubuntu1) ... 401s Selecting previously unselected package libubsan1:amd64. 401s Preparing to unpack .../12-libubsan1_15-20250404-0ubuntu1_amd64.deb ... 401s Unpacking libubsan1:amd64 (15-20250404-0ubuntu1) ... 401s Selecting previously unselected package libhwasan0:amd64. 401s Preparing to unpack .../13-libhwasan0_15-20250404-0ubuntu1_amd64.deb ... 401s Unpacking libhwasan0:amd64 (15-20250404-0ubuntu1) ... 401s Selecting previously unselected package libquadmath0:amd64. 401s Preparing to unpack .../14-libquadmath0_15-20250404-0ubuntu1_amd64.deb ... 401s Unpacking libquadmath0:amd64 (15-20250404-0ubuntu1) ... 401s Selecting previously unselected package libgcc-14-dev:amd64. 401s Preparing to unpack .../15-libgcc-14-dev_14.2.0-19ubuntu2_amd64.deb ... 401s Unpacking libgcc-14-dev:amd64 (14.2.0-19ubuntu2) ... 401s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 401s Preparing to unpack .../16-gcc-14-x86-64-linux-gnu_14.2.0-19ubuntu2_amd64.deb ... 401s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 401s Selecting previously unselected package gcc-14. 401s Preparing to unpack .../17-gcc-14_14.2.0-19ubuntu2_amd64.deb ... 401s Unpacking gcc-14 (14.2.0-19ubuntu2) ... 401s Selecting previously unselected package gcc-x86-64-linux-gnu. 401s Preparing to unpack .../18-gcc-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 401s Unpacking gcc-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 401s Selecting previously unselected package gcc. 401s Preparing to unpack .../19-gcc_4%3a14.2.0-1ubuntu1_amd64.deb ... 401s Unpacking gcc (4:14.2.0-1ubuntu1) ... 401s Selecting previously unselected package libstdc++-14-dev:amd64. 401s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-19ubuntu2_amd64.deb ... 401s Unpacking libstdc++-14-dev:amd64 (14.2.0-19ubuntu2) ... 401s Selecting previously unselected package g++-14-x86-64-linux-gnu. 401s Preparing to unpack .../21-g++-14-x86-64-linux-gnu_14.2.0-19ubuntu2_amd64.deb ... 401s Unpacking g++-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 402s Selecting previously unselected package g++-14. 402s Preparing to unpack .../22-g++-14_14.2.0-19ubuntu2_amd64.deb ... 402s Unpacking g++-14 (14.2.0-19ubuntu2) ... 402s Selecting previously unselected package g++-x86-64-linux-gnu. 402s Preparing to unpack .../23-g++-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 402s Unpacking g++-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 402s Selecting previously unselected package g++. 402s Preparing to unpack .../24-g++_4%3a14.2.0-1ubuntu1_amd64.deb ... 402s Unpacking g++ (4:14.2.0-1ubuntu1) ... 402s Selecting previously unselected package build-essential. 402s Preparing to unpack .../25-build-essential_12.12ubuntu1_amd64.deb ... 402s Unpacking build-essential (12.12ubuntu1) ... 402s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64. 402s Preparing to unpack .../26-gir1.2-glib-2.0-dev_2.84.1-1_amd64.deb ... 402s Unpacking gir1.2-glib-2.0-dev:amd64 (2.84.1-1) ... 402s Selecting previously unselected package native-architecture. 402s Preparing to unpack .../27-native-architecture_0.2.6_all.deb ... 402s Unpacking native-architecture (0.2.6) ... 402s Selecting previously unselected package libgirepository-2.0-0:amd64. 402s Preparing to unpack .../28-libgirepository-2.0-0_2.84.1-1_amd64.deb ... 402s Unpacking libgirepository-2.0-0:amd64 (2.84.1-1) ... 402s Selecting previously unselected package girepository-tools:amd64. 402s Preparing to unpack .../29-girepository-tools_2.84.1-1_amd64.deb ... 402s Unpacking girepository-tools:amd64 (2.84.1-1) ... 402s Selecting previously unselected package libffi-dev:amd64. 402s Preparing to unpack .../30-libffi-dev_3.4.7-1_amd64.deb ... 402s Unpacking libffi-dev:amd64 (3.4.7-1) ... 402s Selecting previously unselected package uuid-dev:amd64. 402s Preparing to unpack .../31-uuid-dev_2.40.2-14ubuntu1_amd64.deb ... 402s Unpacking uuid-dev:amd64 (2.40.2-14ubuntu1) ... 402s Selecting previously unselected package libblkid-dev:amd64. 402s Preparing to unpack .../32-libblkid-dev_2.40.2-14ubuntu1_amd64.deb ... 402s Unpacking libblkid-dev:amd64 (2.40.2-14ubuntu1) ... 402s Selecting previously unselected package libsepol-dev:amd64. 402s Preparing to unpack .../33-libsepol-dev_3.7-1_amd64.deb ... 402s Unpacking libsepol-dev:amd64 (3.7-1) ... 402s Selecting previously unselected package libpcre2-16-0:amd64. 402s Preparing to unpack .../34-libpcre2-16-0_10.45-1_amd64.deb ... 402s Unpacking libpcre2-16-0:amd64 (10.45-1) ... 402s Selecting previously unselected package libpcre2-32-0:amd64. 402s Preparing to unpack .../35-libpcre2-32-0_10.45-1_amd64.deb ... 402s Unpacking libpcre2-32-0:amd64 (10.45-1) ... 402s Selecting previously unselected package libpcre2-posix3:amd64. 402s Preparing to unpack .../36-libpcre2-posix3_10.45-1_amd64.deb ... 402s Unpacking libpcre2-posix3:amd64 (10.45-1) ... 402s Selecting previously unselected package libpcre2-dev:amd64. 402s Preparing to unpack .../37-libpcre2-dev_10.45-1_amd64.deb ... 402s Unpacking libpcre2-dev:amd64 (10.45-1) ... 402s Selecting previously unselected package libselinux1-dev:amd64. 402s Preparing to unpack .../38-libselinux1-dev_3.7-3ubuntu3_amd64.deb ... 402s Unpacking libselinux1-dev:amd64 (3.7-3ubuntu3) ... 402s Selecting previously unselected package libmount-dev:amd64. 402s Preparing to unpack .../39-libmount-dev_2.40.2-14ubuntu1_amd64.deb ... 402s Unpacking libmount-dev:amd64 (2.40.2-14ubuntu1) ... 402s Selecting previously unselected package libsysprof-capture-4-dev:amd64. 402s Preparing to unpack .../40-libsysprof-capture-4-dev_48.0-2_amd64.deb ... 402s Unpacking libsysprof-capture-4-dev:amd64 (48.0-2) ... 402s Selecting previously unselected package libpkgconf3:amd64. 402s Preparing to unpack .../41-libpkgconf3_1.8.1-4_amd64.deb ... 402s Unpacking libpkgconf3:amd64 (1.8.1-4) ... 402s Selecting previously unselected package pkgconf-bin. 402s Preparing to unpack .../42-pkgconf-bin_1.8.1-4_amd64.deb ... 402s Unpacking pkgconf-bin (1.8.1-4) ... 402s Selecting previously unselected package pkgconf:amd64. 402s Preparing to unpack .../43-pkgconf_1.8.1-4_amd64.deb ... 402s Unpacking pkgconf:amd64 (1.8.1-4) ... 402s Selecting previously unselected package zlib1g-dev:amd64. 402s Preparing to unpack .../44-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_amd64.deb ... 402s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 402s Selecting previously unselected package libgio-2.0-dev:amd64. 402s Preparing to unpack .../45-libgio-2.0-dev_2.84.1-1_amd64.deb ... 402s Unpacking libgio-2.0-dev:amd64 (2.84.1-1) ... 402s Selecting previously unselected package libgio-2.0-dev-bin. 402s Preparing to unpack .../46-libgio-2.0-dev-bin_2.84.1-1_amd64.deb ... 402s Unpacking libgio-2.0-dev-bin (2.84.1-1) ... 403s Selecting previously unselected package libglib2.0-bin. 403s Preparing to unpack .../47-libglib2.0-bin_2.84.1-1_amd64.deb ... 403s Unpacking libglib2.0-bin (2.84.1-1) ... 403s Selecting previously unselected package libglib2.0-dev-bin. 403s Preparing to unpack .../48-libglib2.0-dev-bin_2.84.1-1_amd64.deb ... 403s Unpacking libglib2.0-dev-bin (2.84.1-1) ... 403s Selecting previously unselected package libglib2.0-dev:amd64. 403s Preparing to unpack .../49-libglib2.0-dev_2.84.1-1_amd64.deb ... 403s Unpacking libglib2.0-dev:amd64 (2.84.1-1) ... 403s Setting up libgio-2.0-dev-bin (2.84.1-1) ... 403s Setting up native-architecture (0.2.6) ... 403s Setting up libgirepository-2.0-0:amd64 (2.84.1-1) ... 403s Setting up libglib2.0-bin (2.84.1-1) ... 403s Setting up libgomp1:amd64 (15-20250404-0ubuntu1) ... 403s Setting up libffi-dev:amd64 (3.4.7-1) ... 403s Setting up libpcre2-16-0:amd64 (10.45-1) ... 403s Setting up libsysprof-capture-4-dev:amd64 (48.0-2) ... 403s Setting up libpcre2-32-0:amd64 (10.45-1) ... 403s Setting up libpkgconf3:amd64 (1.8.1-4) ... 403s Setting up uuid-dev:amd64 (2.40.2-14ubuntu1) ... 403s Setting up libquadmath0:amd64 (15-20250404-0ubuntu1) ... 403s Setting up libmpc3:amd64 (1.3.1-1build2) ... 403s Setting up libsepol-dev:amd64 (3.7-1) ... 403s Setting up pkgconf-bin (1.8.1-4) ... 403s Setting up libubsan1:amd64 (15-20250404-0ubuntu1) ... 403s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 403s Setting up libpcre2-posix3:amd64 (10.45-1) ... 403s Setting up gir1.2-glib-2.0-dev:amd64 (2.84.1-1) ... 403s Setting up libhwasan0:amd64 (15-20250404-0ubuntu1) ... 403s Setting up libasan8:amd64 (15-20250404-0ubuntu1) ... 403s Setting up libtsan2:amd64 (15-20250404-0ubuntu1) ... 403s Setting up libisl23:amd64 (0.27-1) ... 403s Setting up libcc1-0:amd64 (15-20250404-0ubuntu1) ... 403s Setting up liblsan0:amd64 (15-20250404-0ubuntu1) ... 403s Setting up libitm1:amd64 (15-20250404-0ubuntu1) ... 403s Setting up libblkid-dev:amd64 (2.40.2-14ubuntu1) ... 403s Setting up girepository-tools:amd64 (2.84.1-1) ... 403s Setting up libpcre2-dev:amd64 (10.45-1) ... 403s Setting up libselinux1-dev:amd64 (3.7-3ubuntu3) ... 403s Setting up pkgconf:amd64 (1.8.1-4) ... 403s Setting up cpp-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 403s Setting up cpp-14 (14.2.0-19ubuntu2) ... 403s Setting up libgcc-14-dev:amd64 (14.2.0-19ubuntu2) ... 403s Setting up libstdc++-14-dev:amd64 (14.2.0-19ubuntu2) ... 403s Setting up libmount-dev:amd64 (2.40.2-14ubuntu1) ... 403s Setting up cpp-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 403s Setting up libglib2.0-dev-bin (2.84.1-1) ... 403s Setting up libgio-2.0-dev:amd64 (2.84.1-1) ... 403s Setting up cpp (4:14.2.0-1ubuntu1) ... 403s Setting up gcc-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 403s Setting up gcc-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 403s Setting up gcc-14 (14.2.0-19ubuntu2) ... 403s Setting up g++-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 403s Setting up g++-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 403s Setting up g++-14 (14.2.0-19ubuntu2) ... 403s Setting up gcc (4:14.2.0-1ubuntu1) ... 403s Setting up g++ (4:14.2.0-1ubuntu1) ... 403s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 403s Setting up build-essential (12.12ubuntu1) ... 403s Processing triggers for install-info (7.1.1-1) ... 403s Processing triggers for libc-bin (2.41-6ubuntu1) ... 403s Processing triggers for man-db (2.13.0-1) ... 404s Processing triggers for libglib2.0-0t64:amd64 (2.84.1-1) ... 404s No schema files found: doing nothing. 404s Setting up libglib2.0-dev:amd64 (2.84.1-1) ... 408s autopkgtest [18:42:53]: test libglib2.0-dev: [----------------------- 409s + debian/tests/build 409s + mode=dynamic 409s + getopt -o --long static -n debian/tests/build -- 409s + getopt_temp= -- 409s + eval set -- -- 409s + set -- -- 409s + true 409s + shift 409s + break 409s + mktemp -d 409s + WORKDIR=/tmp/tmp.qn9wBKmdEj 409s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 409s + cd /tmp/tmp.qn9wBKmdEj 409s + [ -n ] 409s + CROSS_COMPILE= 409s + cat 409s + cat 409s + cat 409s + cat 409s + cat 409s + cat 409s + cflags= 409s + pcflags= 409s + packages=glib-2.0 409s + pkg-config --cflags --libs glib-2.0 409s + 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 409s build (glib, dynamic): OK 409s run (glib, dynamic): OK 409s + echo build (glib, dynamic): OK 409s + [ -x glib-dynamic ] 409s + foo=bar ./glib-dynamic 409s + echo run (glib, dynamic): OK 409s + cflags= 409s + pcflags= 409s + packages=gobject-2.0 409s + pkg-config --cflags --libs gobject-2.0 409s + 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 409s build (gobject, dynamic): OK 409s + echo build (gobject, dynamic): OK 409s + [ -x gobject-dynamic ] 409s + foo=bar ./gobject-dynamic 409s + echo run (gobject, dynamic): OK 409s + cflags= 409s + pcflags= 409s + packages=gio-2.0 409s + pkg-config --cflags --libs gio-2.0 409s run (gobject, dynamic): OK 409s + 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 409s build (gio, dynamic): OK 409s + echo build (gio, dynamic): OK 409s + [ -x gio-dynamic ] 409s + foo=bar ./gio-dynamic 409s run (gio, dynamic): OK 409s + echo run (gio, dynamic): OK 409s + cflags= 409s + pcflags= 409s + packages=gio-unix-2.0 409s + pkg-config --cflags --libs gio-unix-2.0 409s + 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 409s build (gio-unix, dynamic): OK 409s + echo build (gio-unix, dynamic): OK 409s + [ -x gio-unix-dynamic ] 409s + foo=bar ./gio-unix-dynamic 409s run (gio-unix, dynamic): OK 409s + echo run (gio-unix, dynamic): OK 409s + cflags= 409s + pcflags= 409s + packages=gmodule-2.0 409s + pkg-config --cflags --libs gmodule-2.0 409s + 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 409s build (gmodule, dynamic): OK 409s + echo build (gmodule, dynamic): OK 409s + [ -x gmodule-dynamic ] 409s + foo=bar ./gmodule-dynamic 409s + echo run (gmodule, dynamic): OK 409s + cflags= 409s + pcflags= 409s + packages=gthread-2.0 409s + pkg-config --cflags --libs gthread-2.0 409s run (gmodule, dynamic): OK 409s + 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 409s build (gthread, dynamic): OK 409s + echo build (gthread, dynamic): OK 409s + [ -x gthread-dynamic ] 409s + foo=bar ./gthread-dynamic 409s + echo run (gthread, dynamic): OK 409s + rm -rf /tmp/tmp.qn9wBKmdEj 409s run (gthread, dynamic): OK 409s + debian/tests/build-static 409s + mode=dynamic 409s + getopt -o --long static -n debian/tests/build -- --static 409s + getopt_temp= --static -- 409s + eval set -- --static -- 409s + set -- --static -- 409s + true 409s + mode=static 409s + shift 409s + continue 409s + true 409s + shift 409s + break 409s + mktemp -d 409s + WORKDIR=/tmp/tmp.HHMBZM2uaj 409s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 409s + cd /tmp/tmp.HHMBZM2uaj 409s + [ -n ] 409s + CROSS_COMPILE= 409s + cat 409s + cat 409s + cat 409s + cat 409s + cat 409s + cat 409s + cflags= 409s + pcflags= 409s + packages=glib-2.0 409s + cflags=-static 409s + pcflags=--static 409s + pkg-config --static --cflags --libs glib-2.0 409s + 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 409s /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': 409s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 409s /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 409s /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 409s + echo build (glib, static): OK 409s + [ -x glib-static ] 409s + foo=bar ./glib-static 409s build (glib, static): OK 409s run (glib, static): OK 409s + echo run (glib, static): OK 409s + cflags= 409s + pcflags= 409s + packages=gobject-2.0 409s + cflags=-static 409s + pcflags=--static 409s + pkg-config --static --cflags --libs gobject-2.0 409s + 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 410s /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': 410s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 410s /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 410s /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 410s build (gobject, static): OK 410s + echo build (gobject, static): OK 410s + [ -x gobject-static ] 410s + foo=bar ./gobject-static 410s run (gobject, static): OK 410s + echo run (gobject, static): OK 410s + cflags= 410s + pcflags= 410s + packages=gio-2.0 410s + cflags=-static 410s + pcflags=--static 410s + continue 410s + cflags= 410s + pcflags= 410s + packages=gio-unix-2.0 410s + cflags=-static 410s + pcflags=--static 410s + continue 410s + cflags= 410s + pcflags= 410s + packages=gmodule-2.0 410s + cflags=-static 410s + pcflags=--static 410s + pkg-config --static --cflags --libs gmodule-2.0 410s + 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 410s /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': 410s (.text+0x5bf): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 410s /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': 410s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 410s /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 410s /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 410s build (gmodule, static): OK 410s run (gmodule, static): OK 410s + echo build (gmodule, static): OK 410s + [ -x gmodule-static ] 410s + foo=bar ./gmodule-static 410s + echo run (gmodule, static): OK 410s + cflags= 410s + pcflags= 410s + packages=gthread-2.0 410s + cflags=-static 410s + pcflags=--static 410s + pkg-config --static --cflags --libs gthread-2.0 410s + 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 410s /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': 410s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 410s /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 410s /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 410s build (gthread, static): OK 410s + echo build (gthread, static): OK 410s + [ -x gthread-static ] 410s + foo=bar ./gthread-static 410s run (gthread, static): OK 410s + echo run (gthread, static): OK 410s + rm -rf /tmp/tmp.HHMBZM2uaj 410s + debian/tests/girepository-tools 410s + cd /tmp/autopkgtest.5Mldd1/autopkgtest_tmp 410s + dpkg-architecture -qDEB_HOST_GNU_TYPE 410s + DEB_HOST_GNU_TYPE=x86_64-linux-gnu 410s + dpkg-architecture -qDEB_HOST_MULTIARCH 410s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 410s + x86_64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 410s typelib: GLib-2.0 410s + x86_64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 410s + x86_64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 410s + debian/tests/libgio-2.0-dev-bin 410s + gdbus-codegen --help 411s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 411s [--c-namespace NAMESPACE] [--c-generate-object-manager] 411s [--c-generate-autocleanup {none,objects,all}] 411s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 411s [--generate-rst OUTFILES] [--pragma-once] 411s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 411s [--glib-min-required VERSION] 411s [--glib-max-allowed VERSION] 411s [--symbol-decorator SYMBOL_DECORATOR] 411s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 411s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 411s [--generate-c-code OUTFILES | --header | --body | 411s --interface-info-header | --interface-info-body] 411s [--output FILE | --output-directory OUTDIR] 411s FILE [FILE ...] 411s 411s D-Bus code and documentation generator 411s 411s positional arguments: 411s FILE D-Bus introspection XML file 411s 411s options: 411s -h, --help show this help message and exit 411s --interface-prefix PREFIX 411s String to strip from D-Bus interface names for code 411s and docs 411s --c-namespace NAMESPACE 411s The namespace to use for generated C code 411s --c-generate-object-manager 411s Generate a GDBusObjectManagerClient subclass when 411s generating C code 411s --c-generate-autocleanup {none,objects,all} 411s Generate autocleanup support 411s --generate-docbook OUTFILES 411s Generate Docbook in OUTFILES-org.Project.IFace.xml 411s --generate-md OUTFILES 411s Generate Markdown in OUTFILES-org.Project.IFace.md 411s --generate-rst OUTFILES 411s Generate reStructuredText in OUTFILES- 411s org.Project.IFace.rst 411s --pragma-once Use "pragma once" as the inclusion guard 411s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 411s Add annotation (may be used several times) 411s --glib-min-required VERSION 411s Minimum version of GLib to be supported by the 411s outputted code (default: 2.30) 411s --glib-max-allowed VERSION 411s Maximum version of GLib to be used by the outputted 411s code (default: current GLib version) 411s --symbol-decorator SYMBOL_DECORATOR 411s Macro used to decorate a symbol in the outputted 411s header, possibly to export symbols 411s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 411s Additional header required for decorator specified by 411s --symbol-decorator 411s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 411s Additional define required for decorator specified by 411s --symbol-decorator 411s --generate-c-code OUTFILES 411s Generate C code in OUTFILES.[ch] 411s --header Generate C headers 411s --body Generate C code 411s --interface-info-header 411s Generate GDBusInterfaceInfo C header 411s --interface-info-body 411s Generate GDBusInterfaceInfo C code 411s --output FILE Write output into the specified file 411s --output-directory OUTDIR 411s Location to output generated files 411s + glib-compile-resources --version 411s 2.84.1 411s + glib-genmarshal --version 411s glib-genmarshal version 2.84.1 411s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 411s You may redistribute copies of glib-genmarshal under the terms of 411s the GNU General Public License which can be found in the 411s GLib source package. Sources, examples and contact 411s information are available at http://www.gtk.org 411s + glib-gettextize --version 411s /usr/bin/glib-gettextize (GNU glib) 2.84.1 411s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 411s This is free software; see the source for copying conditions. There is NO 411s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 411s Written by Ulrich Drepper 411s + glib-mkenums --version 411s glib-mkenums version 2.84.1 411s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 411s You may redistribute copies of glib-mkenums under the terms of 411s the GNU General Public License which can be found in the 411s GLib source package. Sources, examples and contact 411s information are available at http://www.gtk.org 411s + gobject-query tree 411s GObject 411s + gtester --version 411s gtester version 2.84.1 411s + gtester-report --version 411s gtester-report (GLib utils) version 2.84.1. 411s + cd /tmp/autopkgtest.5Mldd1/autopkgtest_tmp 411s + dpkg-architecture -qDEB_HOST_MULTIARCH 411s typelib: GLib-2.0 411s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 411s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 411s + gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 411s + gi-decompile-typelib -o GLib.gir GLib.typelib 411s autopkgtest [18:42:56]: test libglib2.0-dev: -----------------------] 412s autopkgtest [18:42:57]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 412s libglib2.0-dev PASS (superficial) 412s autopkgtest [18:42:57]: test installed-tests: preparing testbed 535s autopkgtest [18:45:00]: testbed dpkg architecture: amd64 535s autopkgtest [18:45:00]: testbed apt version: 3.0.0 536s autopkgtest [18:45:01]: @@@@@@@@@@@@@@@@@@@@ test bed setup 536s autopkgtest [18:45:01]: testbed release detected to be: plucky 537s autopkgtest [18:45:02]: updating testbed package index (apt update) 537s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [265 kB] 538s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 538s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 538s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 538s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [5196 B] 538s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [5776 B] 538s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [3700 B] 538s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 c-n-f Metadata [288 B] 538s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 c-n-f Metadata [232 B] 538s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [14.8 kB] 538s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [17.3 kB] 538s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 c-n-f Metadata [9496 B] 538s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 c-n-f Metadata [440 B] 538s Fetched 322 kB in 1s (442 kB/s) 539s Reading package lists... 540s autopkgtest [18:45:05]: upgrading testbed (apt dist-upgrade and autopurge) 540s Reading package lists... 540s Building dependency tree... 540s Reading state information... 541s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 541s Starting 2 pkgProblemResolver with broken count: 0 541s Done 542s Entering ResolveByKeep 542s 542s Calculating upgrade... 542s The following packages will be upgraded: 542s tzdata 542s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 542s Need to get 198 kB of archives. 542s After this operation, 0 B of additional disk space will be used. 542s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 tzdata all 2025b-1ubuntu1.1 [198 kB] 543s Preconfiguring packages ... 543s Fetched 198 kB in 0s (571 kB/s) 543s (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 ... 80514 files and directories currently installed.) 543s Preparing to unpack .../tzdata_2025b-1ubuntu1.1_all.deb ... 543s Unpacking tzdata (2025b-1ubuntu1.1) over (2025b-1ubuntu1) ... 543s Setting up tzdata (2025b-1ubuntu1.1) ... 544s 544s Current default time zone: 'Etc/UTC' 544s Local time is now: Tue May 6 18:45:09 UTC 2025. 544s Universal Time is now: Tue May 6 18:45:09 UTC 2025. 544s Run 'dpkg-reconfigure tzdata' if you wish to change it. 544s 544s Reading package lists... 544s Building dependency tree... 544s Reading state information... 545s Starting pkgProblemResolver with broken count: 0 545s Starting 2 pkgProblemResolver with broken count: 0 545s Done 545s Solving dependencies... 545s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 548s Reading package lists... 548s Building dependency tree... 548s Reading state information... 549s Starting pkgProblemResolver with broken count: 0 549s Starting 2 pkgProblemResolver with broken count: 0 549s Done 549s The following NEW packages will be installed: 549s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools 549s gnome-desktop-testing libdrm-intel1 libfontenc1 libgbm1 libgio-2.0-dev-bin 549s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglib2.0-bin 549s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 549s libpciaccess0 libpixman-1-0 libsm6 libvulkan1 libwayland-server0 libx11-xcb1 549s libxaw7 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 549s libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 libxpm4 libxrandr2 549s libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium 549s native-architecture python3-dbusmock tzdata-legacy x11-common x11-xkb-utils 549s xserver-common xvfb 549s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 549s Need to get 19.1 MB of archives. 549s After this operation, 90.2 MB of additional disk space will be used. 549s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 dbus-x11 amd64 1.16.2-2ubuntu1 [23.3 kB] 550s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 desktop-file-utils amd64 0.28-1 [54.5 kB] 550s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 gir1.2-glib-2.0-dev amd64 2.84.1-1 [862 kB] 550s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 native-architecture all 0.2.6 [2140 B] 550s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libgirepository-2.0-0 amd64 2.84.1-1 [79.3 kB] 550s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 girepository-tools amd64 2.84.1-1 [116 kB] 550s Get:7 http://ftpmaster.internal/ubuntu plucky/universe amd64 gnome-desktop-testing amd64 2021.1-4 [16.8 kB] 550s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libpciaccess0 amd64 0.17-3build1 [18.6 kB] 550s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libdrm-intel1 amd64 2.4.124-2 [68.9 kB] 550s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libfontenc1 amd64 1:1.1.8-1build1 [14.0 kB] 550s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libwayland-server0 amd64 1.23.1-3 [37.2 kB] 550s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libx11-xcb1 amd64 2:1.8.10-2 [7944 B] 550s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-dri3-0 amd64 1.17.0-2 [7508 B] 550s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-present0 amd64 1.17.0-2 [6064 B] 550s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-randr0 amd64 1.17.0-2 [17.9 kB] 550s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-sync1 amd64 1.17.0-2 [9312 B] 550s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-xfixes0 amd64 1.17.0-2 [10.2 kB] 550s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 libxshmfence1 amd64 1.3-1build5 [4764 B] 550s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 mesa-libgallium amd64 25.0.3-1ubuntu2 [12.1 MB] 552s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 libgbm1 amd64 25.0.3-1ubuntu2 [33.4 kB] 552s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev-bin amd64 2.84.1-1 [129 kB] 552s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 libvulkan1 amd64 1.4.304.0-1 [147 kB] 552s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 libgl1-mesa-dri amd64 25.0.3-1ubuntu2 [35.7 kB] 552s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-bin amd64 2.84.1-1 [103 kB] 552s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-dev-bin amd64 2.84.1-1 [18.1 kB] 552s Get:26 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-dbusmock all 0.34.3-1 [92.4 kB] 552s Get:27 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 tzdata-legacy all 2025b-1ubuntu1.1 [99.2 kB] 552s Get:28 http://ftpmaster.internal/ubuntu plucky/universe amd64 libglib2.0-tests amd64 2.84.1-1 [2283 kB] 552s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-glx0 amd64 1.17.0-2 [24.8 kB] 552s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-shm0 amd64 1.17.0-2 [5758 B] 552s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 libxxf86vm1 amd64 1:1.1.4-1build4 [9282 B] 552s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 libglx-mesa0 amd64 25.0.3-1ubuntu2 [146 kB] 552s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 x11-common all 1:7.7+23ubuntu4 [21.8 kB] 552s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libice6 amd64 2:1.1.1-1 [44.1 kB] 552s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libpixman-1-0 amd64 0.44.0-3 [427 kB] 552s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 libsm6 amd64 2:1.2.4-1 [17.4 kB] 552s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 libxt6t64 amd64 1:1.2.1-1.2build1 [171 kB] 552s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libxmu6 amd64 2:1.1.3-3build2 [47.6 kB] 552s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 libxpm4 amd64 1:3.5.17-1build2 [36.5 kB] 552s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 libxaw7 amd64 2:1.0.16-1 [207 kB] 552s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 libxfont2 amd64 1:2.0.6-1build1 [93.0 kB] 552s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libxkbfile1 amd64 1:1.1.0-1build4 [70.0 kB] 552s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 libxrender1 amd64 1:0.9.10-1.1build1 [19.0 kB] 552s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 libxrandr2 amd64 2:1.5.4-1 [19.6 kB] 552s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 x11-xkb-utils amd64 7.7+9 [169 kB] 552s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 xserver-common all 2:21.1.16-1ubuntu1 [34.4 kB] 552s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 libglvnd0 amd64 1.7.0-1build1 [69.6 kB] 552s Get:48 http://ftpmaster.internal/ubuntu plucky/main amd64 libglx0 amd64 1.7.0-1build1 [38.6 kB] 552s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 libgl1 amd64 1.7.0-1build1 [102 kB] 552s Get:50 http://ftpmaster.internal/ubuntu plucky/universe amd64 xvfb amd64 2:21.1.16-1ubuntu1 [975 kB] 552s Fetched 19.1 MB in 3s (6839 kB/s) 552s Selecting previously unselected package dbus-x11. 552s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80514 files and directories currently installed.) 552s Preparing to unpack .../00-dbus-x11_1.16.2-2ubuntu1_amd64.deb ... 552s Unpacking dbus-x11 (1.16.2-2ubuntu1) ... 553s Selecting previously unselected package desktop-file-utils. 553s Preparing to unpack .../01-desktop-file-utils_0.28-1_amd64.deb ... 553s Unpacking desktop-file-utils (0.28-1) ... 553s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64. 553s Preparing to unpack .../02-gir1.2-glib-2.0-dev_2.84.1-1_amd64.deb ... 553s Unpacking gir1.2-glib-2.0-dev:amd64 (2.84.1-1) ... 553s Selecting previously unselected package native-architecture. 553s Preparing to unpack .../03-native-architecture_0.2.6_all.deb ... 553s Unpacking native-architecture (0.2.6) ... 553s Selecting previously unselected package libgirepository-2.0-0:amd64. 553s Preparing to unpack .../04-libgirepository-2.0-0_2.84.1-1_amd64.deb ... 553s Unpacking libgirepository-2.0-0:amd64 (2.84.1-1) ... 553s Selecting previously unselected package girepository-tools:amd64. 553s Preparing to unpack .../05-girepository-tools_2.84.1-1_amd64.deb ... 553s Unpacking girepository-tools:amd64 (2.84.1-1) ... 553s Selecting previously unselected package gnome-desktop-testing. 553s Preparing to unpack .../06-gnome-desktop-testing_2021.1-4_amd64.deb ... 553s Unpacking gnome-desktop-testing (2021.1-4) ... 553s Selecting previously unselected package libpciaccess0:amd64. 553s Preparing to unpack .../07-libpciaccess0_0.17-3build1_amd64.deb ... 553s Unpacking libpciaccess0:amd64 (0.17-3build1) ... 553s Selecting previously unselected package libdrm-intel1:amd64. 553s Preparing to unpack .../08-libdrm-intel1_2.4.124-2_amd64.deb ... 553s Unpacking libdrm-intel1:amd64 (2.4.124-2) ... 553s Selecting previously unselected package libfontenc1:amd64. 553s Preparing to unpack .../09-libfontenc1_1%3a1.1.8-1build1_amd64.deb ... 553s Unpacking libfontenc1:amd64 (1:1.1.8-1build1) ... 553s Selecting previously unselected package libwayland-server0:amd64. 553s Preparing to unpack .../10-libwayland-server0_1.23.1-3_amd64.deb ... 553s Unpacking libwayland-server0:amd64 (1.23.1-3) ... 553s Selecting previously unselected package libx11-xcb1:amd64. 553s Preparing to unpack .../11-libx11-xcb1_2%3a1.8.10-2_amd64.deb ... 553s Unpacking libx11-xcb1:amd64 (2:1.8.10-2) ... 553s Selecting previously unselected package libxcb-dri3-0:amd64. 553s Preparing to unpack .../12-libxcb-dri3-0_1.17.0-2_amd64.deb ... 553s Unpacking libxcb-dri3-0:amd64 (1.17.0-2) ... 553s Selecting previously unselected package libxcb-present0:amd64. 553s Preparing to unpack .../13-libxcb-present0_1.17.0-2_amd64.deb ... 553s Unpacking libxcb-present0:amd64 (1.17.0-2) ... 553s Selecting previously unselected package libxcb-randr0:amd64. 553s Preparing to unpack .../14-libxcb-randr0_1.17.0-2_amd64.deb ... 553s Unpacking libxcb-randr0:amd64 (1.17.0-2) ... 553s Selecting previously unselected package libxcb-sync1:amd64. 553s Preparing to unpack .../15-libxcb-sync1_1.17.0-2_amd64.deb ... 553s Unpacking libxcb-sync1:amd64 (1.17.0-2) ... 553s Selecting previously unselected package libxcb-xfixes0:amd64. 553s Preparing to unpack .../16-libxcb-xfixes0_1.17.0-2_amd64.deb ... 553s Unpacking libxcb-xfixes0:amd64 (1.17.0-2) ... 553s Selecting previously unselected package libxshmfence1:amd64. 553s Preparing to unpack .../17-libxshmfence1_1.3-1build5_amd64.deb ... 553s Unpacking libxshmfence1:amd64 (1.3-1build5) ... 553s Selecting previously unselected package mesa-libgallium:amd64. 553s Preparing to unpack .../18-mesa-libgallium_25.0.3-1ubuntu2_amd64.deb ... 553s Unpacking mesa-libgallium:amd64 (25.0.3-1ubuntu2) ... 553s Selecting previously unselected package libgbm1:amd64. 553s Preparing to unpack .../19-libgbm1_25.0.3-1ubuntu2_amd64.deb ... 553s Unpacking libgbm1:amd64 (25.0.3-1ubuntu2) ... 553s Selecting previously unselected package libgio-2.0-dev-bin. 553s Preparing to unpack .../20-libgio-2.0-dev-bin_2.84.1-1_amd64.deb ... 553s Unpacking libgio-2.0-dev-bin (2.84.1-1) ... 553s Selecting previously unselected package libvulkan1:amd64. 553s Preparing to unpack .../21-libvulkan1_1.4.304.0-1_amd64.deb ... 553s Unpacking libvulkan1:amd64 (1.4.304.0-1) ... 553s Selecting previously unselected package libgl1-mesa-dri:amd64. 553s Preparing to unpack .../22-libgl1-mesa-dri_25.0.3-1ubuntu2_amd64.deb ... 553s Unpacking libgl1-mesa-dri:amd64 (25.0.3-1ubuntu2) ... 553s Selecting previously unselected package libglib2.0-bin. 554s Preparing to unpack .../23-libglib2.0-bin_2.84.1-1_amd64.deb ... 554s Unpacking libglib2.0-bin (2.84.1-1) ... 554s Selecting previously unselected package libglib2.0-dev-bin. 554s Preparing to unpack .../24-libglib2.0-dev-bin_2.84.1-1_amd64.deb ... 554s Unpacking libglib2.0-dev-bin (2.84.1-1) ... 554s Selecting previously unselected package python3-dbusmock. 554s Preparing to unpack .../25-python3-dbusmock_0.34.3-1_all.deb ... 554s Unpacking python3-dbusmock (0.34.3-1) ... 554s Selecting previously unselected package tzdata-legacy. 554s Preparing to unpack .../26-tzdata-legacy_2025b-1ubuntu1.1_all.deb ... 554s Unpacking tzdata-legacy (2025b-1ubuntu1.1) ... 554s Selecting previously unselected package libglib2.0-tests. 554s Preparing to unpack .../27-libglib2.0-tests_2.84.1-1_amd64.deb ... 554s Unpacking libglib2.0-tests (2.84.1-1) ... 554s Selecting previously unselected package libxcb-glx0:amd64. 554s Preparing to unpack .../28-libxcb-glx0_1.17.0-2_amd64.deb ... 554s Unpacking libxcb-glx0:amd64 (1.17.0-2) ... 554s Selecting previously unselected package libxcb-shm0:amd64. 554s Preparing to unpack .../29-libxcb-shm0_1.17.0-2_amd64.deb ... 554s Unpacking libxcb-shm0:amd64 (1.17.0-2) ... 554s Selecting previously unselected package libxxf86vm1:amd64. 554s Preparing to unpack .../30-libxxf86vm1_1%3a1.1.4-1build4_amd64.deb ... 554s Unpacking libxxf86vm1:amd64 (1:1.1.4-1build4) ... 554s Selecting previously unselected package libglx-mesa0:amd64. 554s Preparing to unpack .../31-libglx-mesa0_25.0.3-1ubuntu2_amd64.deb ... 554s Unpacking libglx-mesa0:amd64 (25.0.3-1ubuntu2) ... 554s Selecting previously unselected package x11-common. 554s Preparing to unpack .../32-x11-common_1%3a7.7+23ubuntu4_all.deb ... 554s Unpacking x11-common (1:7.7+23ubuntu4) ... 554s Selecting previously unselected package libice6:amd64. 554s Preparing to unpack .../33-libice6_2%3a1.1.1-1_amd64.deb ... 554s Unpacking libice6:amd64 (2:1.1.1-1) ... 554s Selecting previously unselected package libpixman-1-0:amd64. 554s Preparing to unpack .../34-libpixman-1-0_0.44.0-3_amd64.deb ... 554s Unpacking libpixman-1-0:amd64 (0.44.0-3) ... 554s Selecting previously unselected package libsm6:amd64. 554s Preparing to unpack .../35-libsm6_2%3a1.2.4-1_amd64.deb ... 554s Unpacking libsm6:amd64 (2:1.2.4-1) ... 554s Selecting previously unselected package libxt6t64:amd64. 554s Preparing to unpack .../36-libxt6t64_1%3a1.2.1-1.2build1_amd64.deb ... 554s Unpacking libxt6t64:amd64 (1:1.2.1-1.2build1) ... 554s Selecting previously unselected package libxmu6:amd64. 554s Preparing to unpack .../37-libxmu6_2%3a1.1.3-3build2_amd64.deb ... 554s Unpacking libxmu6:amd64 (2:1.1.3-3build2) ... 554s Selecting previously unselected package libxpm4:amd64. 554s Preparing to unpack .../38-libxpm4_1%3a3.5.17-1build2_amd64.deb ... 554s Unpacking libxpm4:amd64 (1:3.5.17-1build2) ... 554s Selecting previously unselected package libxaw7:amd64. 554s Preparing to unpack .../39-libxaw7_2%3a1.0.16-1_amd64.deb ... 554s Unpacking libxaw7:amd64 (2:1.0.16-1) ... 554s Selecting previously unselected package libxfont2:amd64. 554s Preparing to unpack .../40-libxfont2_1%3a2.0.6-1build1_amd64.deb ... 554s Unpacking libxfont2:amd64 (1:2.0.6-1build1) ... 554s Selecting previously unselected package libxkbfile1:amd64. 554s Preparing to unpack .../41-libxkbfile1_1%3a1.1.0-1build4_amd64.deb ... 554s Unpacking libxkbfile1:amd64 (1:1.1.0-1build4) ... 554s Selecting previously unselected package libxrender1:amd64. 554s Preparing to unpack .../42-libxrender1_1%3a0.9.10-1.1build1_amd64.deb ... 554s Unpacking libxrender1:amd64 (1:0.9.10-1.1build1) ... 554s Selecting previously unselected package libxrandr2:amd64. 554s Preparing to unpack .../43-libxrandr2_2%3a1.5.4-1_amd64.deb ... 554s Unpacking libxrandr2:amd64 (2:1.5.4-1) ... 554s Selecting previously unselected package x11-xkb-utils. 554s Preparing to unpack .../44-x11-xkb-utils_7.7+9_amd64.deb ... 554s Unpacking x11-xkb-utils (7.7+9) ... 554s Selecting previously unselected package xserver-common. 555s Preparing to unpack .../45-xserver-common_2%3a21.1.16-1ubuntu1_all.deb ... 555s Unpacking xserver-common (2:21.1.16-1ubuntu1) ... 555s Selecting previously unselected package libglvnd0:amd64. 555s Preparing to unpack .../46-libglvnd0_1.7.0-1build1_amd64.deb ... 555s Unpacking libglvnd0:amd64 (1.7.0-1build1) ... 555s Selecting previously unselected package libglx0:amd64. 555s Preparing to unpack .../47-libglx0_1.7.0-1build1_amd64.deb ... 555s Unpacking libglx0:amd64 (1.7.0-1build1) ... 555s Selecting previously unselected package libgl1:amd64. 555s Preparing to unpack .../48-libgl1_1.7.0-1build1_amd64.deb ... 555s Unpacking libgl1:amd64 (1.7.0-1build1) ... 555s Selecting previously unselected package xvfb. 555s Preparing to unpack .../49-xvfb_2%3a21.1.16-1ubuntu1_amd64.deb ... 555s Unpacking xvfb (2:21.1.16-1ubuntu1) ... 555s Setting up gnome-desktop-testing (2021.1-4) ... 555s Setting up libxcb-dri3-0:amd64 (1.17.0-2) ... 555s Setting up libpixman-1-0:amd64 (0.44.0-3) ... 555s Setting up libwayland-server0:amd64 (1.23.1-3) ... 555s Setting up libx11-xcb1:amd64 (2:1.8.10-2) ... 555s Setting up libpciaccess0:amd64 (0.17-3build1) ... 555s Setting up libgio-2.0-dev-bin (2.84.1-1) ... 555s Setting up native-architecture (0.2.6) ... 555s Setting up libxcb-xfixes0:amd64 (1.17.0-2) ... 555s Setting up desktop-file-utils (0.28-1) ... 555s Setting up libxpm4:amd64 (1:3.5.17-1build2) ... 555s Setting up libxrender1:amd64 (1:0.9.10-1.1build1) ... 555s Setting up libgirepository-2.0-0:amd64 (2.84.1-1) ... 555s Setting up libglvnd0:amd64 (1.7.0-1build1) ... 555s Setting up libxcb-glx0:amd64 (1.17.0-2) ... 555s Setting up libdrm-intel1:amd64 (2.4.124-2) ... 555s Setting up x11-common (1:7.7+23ubuntu4) ... 555s Setting up libglib2.0-bin (2.84.1-1) ... 555s Setting up libxcb-shm0:amd64 (1.17.0-2) ... 555s Setting up python3-dbusmock (0.34.3-1) ... 556s Setting up tzdata-legacy (2025b-1ubuntu1.1) ... 556s Setting up libxxf86vm1:amd64 (1:1.1.4-1build4) ... 556s Setting up libxcb-present0:amd64 (1.17.0-2) ... 556s Setting up libfontenc1:amd64 (1:1.1.8-1build1) ... 556s Setting up libxcb-sync1:amd64 (1.17.0-2) ... 556s Setting up libxrandr2:amd64 (2:1.5.4-1) ... 556s Setting up libvulkan1:amd64 (1.4.304.0-1) ... 556s Setting up gir1.2-glib-2.0-dev:amd64 (2.84.1-1) ... 556s Setting up libxshmfence1:amd64 (1.3-1build5) ... 556s Setting up dbus-x11 (1.16.2-2ubuntu1) ... 556s Setting up libxcb-randr0:amd64 (1.17.0-2) ... 556s Setting up libxkbfile1:amd64 (1:1.1.0-1build4) ... 556s Setting up libxfont2:amd64 (1:2.0.6-1build1) ... 556s Setting up libice6:amd64 (2:1.1.1-1) ... 556s Setting up mesa-libgallium:amd64 (25.0.3-1ubuntu2) ... 556s Setting up girepository-tools:amd64 (2.84.1-1) ... 556s Setting up libgbm1:amd64 (25.0.3-1ubuntu2) ... 556s Setting up libgl1-mesa-dri:amd64 (25.0.3-1ubuntu2) ... 556s Setting up libsm6:amd64 (2:1.2.4-1) ... 556s Setting up libglib2.0-dev-bin (2.84.1-1) ... 556s Setting up libglx-mesa0:amd64 (25.0.3-1ubuntu2) ... 556s Setting up libglx0:amd64 (1.7.0-1build1) ... 556s Setting up libgl1:amd64 (1.7.0-1build1) ... 556s Setting up libxt6t64:amd64 (1:1.2.1-1.2build1) ... 556s Setting up libglib2.0-tests (2.84.1-1) ... 556s Setting up libxmu6:amd64 (2:1.1.3-3build2) ... 556s Setting up libxaw7:amd64 (2:1.0.16-1) ... 556s Setting up x11-xkb-utils (7.7+9) ... 556s Setting up xserver-common (2:21.1.16-1ubuntu1) ... 556s Setting up xvfb (2:21.1.16-1ubuntu1) ... 556s Processing triggers for man-db (2.13.0-1) ... 557s Processing triggers for libc-bin (2.41-6ubuntu1) ... 564s autopkgtest [18:45:29]: test installed-tests: [----------------------- 564s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 564s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 564s group entry: ubuntu:x:1000: 564s Environment: 564s ADTTMP=/tmp/autopkgtest.5Mldd1/autopkgtest_tmp 564s ADT_ARTIFACTS=/tmp/autopkgtest.5Mldd1/installed-tests-artifacts 564s ADT_TEST_TRIGGERS=tzdata/2025b-1ubuntu1.1 564s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.5Mldd1/installed-tests-artifacts 564s AUTOPKGTEST_TESTBED_ARCH=amd64 564s AUTOPKGTEST_TEST_ARCH=amd64 564s AUTOPKGTEST_TMP=/tmp/autopkgtest.5Mldd1/autopkgtest_tmp 564s DEBIAN_FRONTEND=noninteractive 564s DEBUGINFOD_URLS=https://debuginfod.ubuntu.com 564s DEB_BUILD_OPTIONS=parallel=2 564s GIO_USE_VFS=local 564s GIO_USE_VOLUME_MONITOR=unix 564s HOME=/home/ubuntu 564s LANG=C.UTF-8 564s LOGNAME=ubuntu 564s MAIL=/var/mail/ubuntu 564s OLDPWD=/home/ubuntu 564s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 564s PWD=/tmp/autopkgtest.5Mldd1/build.hyQ/src 564s SHELL=/bin/bash 564s SHLVL=1 564s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.5Mldd1/wrapper.sh --artifacts=/tmp/autopkgtest.5Mldd1/installed-tests-artifacts --chdir=/tmp/autopkgtest.5Mldd1/build.hyQ/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.5Mldd1/installed-tests-stderr --stdout=/tmp/autopkgtest.5Mldd1/installed-tests-stdout --tmp=/tmp/autopkgtest.5Mldd1/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=tzdata/2025b-1ubuntu1.1 --make-executable=/tmp/autopkgtest.5Mldd1/build.hyQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.5Mldd1/build.hyQ/src/debian/tests/installed-tests 564s SUDO_GID=1000 564s SUDO_HOME=/home/ubuntu 564s SUDO_UID=1000 564s SUDO_USER=ubuntu 564s TERM=linux 564s USER=ubuntu 564s XDG_RUNTIME_DIR=/tmp/autopkgtest.5Mldd1/autopkgtest_tmp 564s http_proxy=http://squid.internal:3128/ 564s https_proxy=http://squid.internal:3128/ 564s 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 564s run-with-locales: de_DE=ISO-8859-1... 564s Character set: ISO-8859-1 564s Source file: de_DE 564s Output: /tmp/tmp.GmNRIEy93Q/de_DE 565s run-with-locales: de_DE.utf8... 565s Character set: UTF-8 565s Source file: de_DE 565s Output: /tmp/tmp.GmNRIEy93Q/de_DE.utf8 567s run-with-locales: de_DE@euro.utf8... 567s Character set: UTF-8 567s Source file: de_DE@euro 567s Output: /tmp/tmp.GmNRIEy93Q/de_DE@euro.utf8 568s run-with-locales: el_GR.utf8... 568s Character set: UTF-8 568s Source file: el_GR 568s Output: /tmp/tmp.GmNRIEy93Q/el_GR.utf8 570s run-with-locales: en_GB=ISO-8859-1... 570s Character set: ISO-8859-1 570s Source file: en_GB 570s Output: /tmp/tmp.GmNRIEy93Q/en_GB 570s run-with-locales: en_GB.utf8... 570s Character set: UTF-8 570s Source file: en_GB 570s Output: /tmp/tmp.GmNRIEy93Q/en_GB.utf8 572s run-with-locales: en_US=ISO-8859-1... 572s Character set: ISO-8859-1 572s Source file: en_US 572s Output: /tmp/tmp.GmNRIEy93Q/en_US 572s run-with-locales: en_US.utf8... 572s Character set: UTF-8 572s Source file: en_US 572s Output: /tmp/tmp.GmNRIEy93Q/en_US.utf8 573s run-with-locales: es_ES.utf8... 573s Character set: UTF-8 573s Source file: es_ES 573s Output: /tmp/tmp.GmNRIEy93Q/es_ES.utf8 575s run-with-locales: fa_IR=UTF-8... 575s Character set: UTF-8 575s Source file: fa_IR 575s Output: /tmp/tmp.GmNRIEy93Q/fa_IR 576s run-with-locales: fa_IR.utf8... 576s Character set: UTF-8 576s Source file: fa_IR 576s Output: /tmp/tmp.GmNRIEy93Q/fa_IR.utf8 578s run-with-locales: fr_FR.utf8... 578s Character set: UTF-8 578s Source file: fr_FR 578s Output: /tmp/tmp.GmNRIEy93Q/fr_FR.utf8 579s run-with-locales: hr_HR.utf8... 579s Character set: UTF-8 579s Source file: hr_HR 579s Output: /tmp/tmp.GmNRIEy93Q/hr_HR.utf8 580s run-with-locales: ja_JP.utf8... 580s Character set: UTF-8 580s Source file: ja_JP 580s Output: /tmp/tmp.GmNRIEy93Q/ja_JP.utf8 581s run-with-locales: ja_JP.EUC-JP... 581s Character set: EUC-JP 581s Source file: ja_JP 581s Output: /tmp/tmp.GmNRIEy93Q/ja_JP.eucjp 582s run-with-locales: lt_LT.utf8... 582s Character set: UTF-8 582s Source file: lt_LT 582s Output: /tmp/tmp.GmNRIEy93Q/lt_LT.utf8 583s run-with-locales: pl_PL=ISO-8859-2... 583s Character set: ISO-8859-2 583s Source file: pl_PL 583s Output: /tmp/tmp.GmNRIEy93Q/pl_PL 583s run-with-locales: pl_PL.ISO-8859-2... 583s Character set: ISO-8859-2 583s Source file: pl_PL 583s Output: /tmp/tmp.GmNRIEy93Q/pl_PL.iso88592 584s run-with-locales: pl_PL.utf8... 584s Character set: UTF-8 584s Source file: pl_PL 584s Output: /tmp/tmp.GmNRIEy93Q/pl_PL.utf8 585s run-with-locales: ru_RU=ISO-8859-5... 585s Character set: ISO-8859-5 585s Source file: ru_RU 585s Output: /tmp/tmp.GmNRIEy93Q/ru_RU 586s run-with-locales: ru_RU.utf8... 586s Character set: UTF-8 586s Source file: ru_RU 586s Output: /tmp/tmp.GmNRIEy93Q/ru_RU.utf8 587s run-with-locales: sr_RS=UTF-8... 587s Character set: UTF-8 587s Source file: sr_RS 587s Output: /tmp/tmp.GmNRIEy93Q/sr_RS 589s run-with-locales: sr_RS@latin=UTF-8... 589s Character set: UTF-8 589s Source file: sr_RS@latin 589s Output: /tmp/tmp.GmNRIEy93Q/sr_RS@latin 590s run-with-locales: sv_SE=ISO-8859-1... 590s Character set: ISO-8859-1 590s Source file: sv_SE 590s Output: /tmp/tmp.GmNRIEy93Q/sv_SE 591s run-with-locales: sv_SE.utf8... 591s Character set: UTF-8 591s Source file: sv_SE 591s Output: /tmp/tmp.GmNRIEy93Q/sv_SE.utf8 592s run-with-locales: tr_TR=ISO-8859-9... 592s Character set: ISO-8859-9 592s Source file: tr_TR 592s Output: /tmp/tmp.GmNRIEy93Q/tr_TR 593s run-with-locales: tr_TR.utf8... 593s Character set: UTF-8 593s Source file: tr_TR 593s Output: /tmp/tmp.GmNRIEy93Q/tr_TR.utf8 594s run-with-locales: tt_RU=UTF-8... 594s Character set: UTF-8 594s Source file: tt_RU 594s Output: /tmp/tmp.GmNRIEy93Q/tt_RU 596s run-with-locales: tt_RU.utf8... 596s Character set: UTF-8 596s Source file: tt_RU 596s Output: /tmp/tmp.GmNRIEy93Q/tt_RU.utf8 597s run-with-locales: tt_RU@iqtelif=UTF-8... 597s Character set: UTF-8 597s Source file: tt_RU@iqtelif 597s Output: /tmp/tmp.GmNRIEy93Q/tt_RU@iqtelif 599s /tmp/tmp.GmNRIEy93Q 599s /tmp/tmp.GmNRIEy93Q/ru_RU.utf8 599s /tmp/tmp.GmNRIEy93Q/ru_RU.utf8/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/ru_RU.utf8/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/ru_RU.utf8/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/ru_RU.utf8/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/ru_RU.utf8/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/ru_RU.utf8/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/ru_RU.utf8/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/ru_RU.utf8/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/ru_RU.utf8/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/ru_RU.utf8/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/ru_RU.utf8/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/ru_RU.utf8/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/sv_SE 599s /tmp/tmp.GmNRIEy93Q/sv_SE/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/sv_SE/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/sv_SE/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/sv_SE/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/sv_SE/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/sv_SE/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/sv_SE/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/sv_SE/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/sv_SE/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/sv_SE/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/sv_SE/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/sv_SE/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/en_US.utf8 599s /tmp/tmp.GmNRIEy93Q/en_US.utf8/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/en_US.utf8/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/en_US.utf8/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/en_US.utf8/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/en_US.utf8/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/en_US.utf8/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/en_US.utf8/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/en_US.utf8/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/en_US.utf8/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/en_US.utf8/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/en_US.utf8/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/en_US.utf8/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/es_ES.utf8 599s /tmp/tmp.GmNRIEy93Q/es_ES.utf8/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/es_ES.utf8/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/es_ES.utf8/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/es_ES.utf8/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/es_ES.utf8/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/es_ES.utf8/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/es_ES.utf8/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/es_ES.utf8/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/es_ES.utf8/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/es_ES.utf8/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/es_ES.utf8/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/es_ES.utf8/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/fr_FR.utf8 599s /tmp/tmp.GmNRIEy93Q/fr_FR.utf8/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/fr_FR.utf8/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/fr_FR.utf8/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/fr_FR.utf8/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/fr_FR.utf8/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/fr_FR.utf8/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/fr_FR.utf8/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/fr_FR.utf8/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/fr_FR.utf8/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/fr_FR.utf8/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/fr_FR.utf8/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/fr_FR.utf8/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/tr_TR 599s /tmp/tmp.GmNRIEy93Q/tr_TR/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/tr_TR/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/tr_TR/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/tr_TR/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/tr_TR/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/tr_TR/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/tr_TR/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/tr_TR/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/tr_TR/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/tr_TR/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/tr_TR/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/tr_TR/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/en_GB.utf8 599s /tmp/tmp.GmNRIEy93Q/en_GB.utf8/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/en_GB.utf8/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/en_GB.utf8/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/en_GB.utf8/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/en_GB.utf8/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/en_GB.utf8/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/en_GB.utf8/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/en_GB.utf8/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/en_GB.utf8/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/en_GB.utf8/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/en_GB.utf8/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/en_GB.utf8/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/hr_HR.utf8 599s /tmp/tmp.GmNRIEy93Q/hr_HR.utf8/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/hr_HR.utf8/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/hr_HR.utf8/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/hr_HR.utf8/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/hr_HR.utf8/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/hr_HR.utf8/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/hr_HR.utf8/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/hr_HR.utf8/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/hr_HR.utf8/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/hr_HR.utf8/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/hr_HR.utf8/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/hr_HR.utf8/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/de_DE.utf8 599s /tmp/tmp.GmNRIEy93Q/de_DE.utf8/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/de_DE.utf8/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/de_DE.utf8/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/de_DE.utf8/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/de_DE.utf8/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/de_DE.utf8/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/de_DE.utf8/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/de_DE.utf8/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/de_DE.utf8/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/de_DE.utf8/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/de_DE.utf8/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/de_DE.utf8/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/pl_PL.utf8 599s /tmp/tmp.GmNRIEy93Q/pl_PL.utf8/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/pl_PL.utf8/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/pl_PL.utf8/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/pl_PL.utf8/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/pl_PL.utf8/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/pl_PL.utf8/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/pl_PL.utf8/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/pl_PL.utf8/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/pl_PL.utf8/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/pl_PL.utf8/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/pl_PL.utf8/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/pl_PL.utf8/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/tt_RU.utf8 599s /tmp/tmp.GmNRIEy93Q/tt_RU.utf8/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/tt_RU.utf8/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/tt_RU.utf8/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/tt_RU.utf8/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/tt_RU.utf8/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/tt_RU.utf8/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/tt_RU.utf8/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/tt_RU.utf8/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/tt_RU.utf8/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/tt_RU.utf8/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/tt_RU.utf8/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/tt_RU.utf8/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/en_US 599s /tmp/tmp.GmNRIEy93Q/en_US/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/en_US/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/en_US/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/en_US/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/en_US/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/en_US/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/en_US/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/en_US/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/en_US/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/en_US/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/en_US/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/en_US/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/en_US/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/de_DE 599s /tmp/tmp.GmNRIEy93Q/de_DE/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/de_DE/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/de_DE/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/de_DE/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/de_DE/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/de_DE/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/de_DE/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/de_DE/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/de_DE/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/de_DE/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/de_DE/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/de_DE/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/lt_LT.utf8 599s /tmp/tmp.GmNRIEy93Q/lt_LT.utf8/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/lt_LT.utf8/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/lt_LT.utf8/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/lt_LT.utf8/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/lt_LT.utf8/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/lt_LT.utf8/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/lt_LT.utf8/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/lt_LT.utf8/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/lt_LT.utf8/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/lt_LT.utf8/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/lt_LT.utf8/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/lt_LT.utf8/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/pl_PL 599s /tmp/tmp.GmNRIEy93Q/pl_PL/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/pl_PL/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/pl_PL/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/pl_PL/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/pl_PL/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/pl_PL/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/pl_PL/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/pl_PL/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/pl_PL/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/pl_PL/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/pl_PL/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/pl_PL/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/el_GR.utf8 599s /tmp/tmp.GmNRIEy93Q/el_GR.utf8/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/el_GR.utf8/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/el_GR.utf8/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/el_GR.utf8/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/el_GR.utf8/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/el_GR.utf8/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/el_GR.utf8/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/el_GR.utf8/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/el_GR.utf8/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/el_GR.utf8/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/el_GR.utf8/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/el_GR.utf8/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/tt_RU@iqtelif 599s /tmp/tmp.GmNRIEy93Q/tt_RU@iqtelif/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/tt_RU@iqtelif/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/tt_RU@iqtelif/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/tt_RU@iqtelif/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/tt_RU@iqtelif/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/tt_RU@iqtelif/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/tt_RU@iqtelif/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/tt_RU@iqtelif/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/tt_RU@iqtelif/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/tt_RU@iqtelif/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/tt_RU@iqtelif/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/tt_RU@iqtelif/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/sr_RS 599s /tmp/tmp.GmNRIEy93Q/sr_RS/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/sr_RS/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/sr_RS/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/sr_RS/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/sr_RS/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/sr_RS/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/sr_RS/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/sr_RS/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/sr_RS/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/sr_RS/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/sr_RS/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/sr_RS/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/sr_RS@latin 599s /tmp/tmp.GmNRIEy93Q/sr_RS@latin/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/sr_RS@latin/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/sr_RS@latin/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/sr_RS@latin/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/sr_RS@latin/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/sr_RS@latin/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/sr_RS@latin/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/sr_RS@latin/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/sr_RS@latin/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/sr_RS@latin/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/sr_RS@latin/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/sr_RS@latin/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/tt_RU 599s /tmp/tmp.GmNRIEy93Q/tt_RU/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/tt_RU/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/tt_RU/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/tt_RU/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/tt_RU/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/tt_RU/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/tt_RU/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/tt_RU/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/tt_RU/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/tt_RU/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/tt_RU/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/tt_RU/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/de_DE@euro.utf8 599s /tmp/tmp.GmNRIEy93Q/de_DE@euro.utf8/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/de_DE@euro.utf8/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/de_DE@euro.utf8/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/de_DE@euro.utf8/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/de_DE@euro.utf8/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/de_DE@euro.utf8/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/de_DE@euro.utf8/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/de_DE@euro.utf8/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/de_DE@euro.utf8/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/de_DE@euro.utf8/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/de_DE@euro.utf8/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/de_DE@euro.utf8/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/pl_PL.iso88592 599s /tmp/tmp.GmNRIEy931..323 599s # Running test: glib/atomic-c-11.test 599s Q/pl_PL.iso88592/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/pl_PL.iso88592/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/pl_PL.iso88592/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/pl_PL.iso88592/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/pl_PL.iso88592/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/pl_PL.iso88592/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/pl_PL.iso88592/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/pl_PL.iso88592/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/pl_PL.iso88592/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/pl_PL.iso88592/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/pl_PL.iso88592/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/pl_PL.iso88592/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/fa_IR 599s /tmp/tmp.GmNRIEy93Q/fa_IR/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/fa_IR/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/fa_IR/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/fa_IR/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/fa_IR/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/fa_IR/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/fa_IR/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/fa_IR/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/fa_IR/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/fa_IR/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/fa_IR/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/fa_IR/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/ru_RU 599s /tmp/tmp.GmNRIEy93Q/ru_RU/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/ru_RU/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/ru_RU/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/ru_RU/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/ru_RU/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/ru_RU/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/ru_RU/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/ru_RU/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/ru_RU/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/ru_RU/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/ru_RU/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/ru_RU/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/ja_JP.eucjp 599s /tmp/tmp.GmNRIEy93Q/ja_JP.eucjp/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/ja_JP.eucjp/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/ja_JP.eucjp/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/ja_JP.eucjp/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/ja_JP.eucjp/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/ja_JP.eucjp/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/ja_JP.eucjp/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/ja_JP.eucjp/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/ja_JP.eucjp/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/ja_JP.eucjp/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/ja_JP.eucjp/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/ja_JP.eucjp/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/sv_SE.utf8 599s /tmp/tmp.GmNRIEy93Q/sv_SE.utf8/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/sv_SE.utf8/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/sv_SE.utf8/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/sv_SE.utf8/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/sv_SE.utf8/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/sv_SE.utf8/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/sv_SE.utf8/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/sv_SE.utf8/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/sv_SE.utf8/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/sv_SE.utf8/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/sv_SE.utf8/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/sv_SE.utf8/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/en_GB 599s /tmp/tmp.GmNRIEy93Q/en_GB/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/en_GB/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/en_GB/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/en_GB/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/en_GB/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/en_GB/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/en_GB/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/en_GB/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/en_GB/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/en_GB/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/en_GB/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/en_GB/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/ja_JP.utf8 599s /tmp/tmp.GmNRIEy93Q/ja_JP.utf8/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/ja_JP.utf8/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/ja_JP.utf8/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/ja_JP.utf8/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/ja_JP.utf8/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/ja_JP.utf8/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/ja_JP.utf8/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/ja_JP.utf8/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/ja_JP.utf8/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/ja_JP.utf8/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/ja_JP.utf8/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/ja_JP.utf8/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/fa_IR.utf8 599s /tmp/tmp.GmNRIEy93Q/fa_IR.utf8/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/fa_IR.utf8/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/fa_IR.utf8/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/fa_IR.utf8/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/fa_IR.utf8/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/fa_IR.utf8/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/fa_IR.utf8/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/fa_IR.utf8/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/fa_IR.utf8/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/fa_IR.utf8/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/fa_IR.utf8/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/fa_IR.utf8/LC_NUMERIC 599s /tmp/tmp.GmNRIEy93Q/tr_TR.utf8 599s /tmp/tmp.GmNRIEy93Q/tr_TR.utf8/LC_NAME 599s /tmp/tmp.GmNRIEy93Q/tr_TR.utf8/LC_TELEPHONE 599s /tmp/tmp.GmNRIEy93Q/tr_TR.utf8/LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 599s /tmp/tmp.GmNRIEy93Q/tr_TR.utf8/LC_COLLATE 599s /tmp/tmp.GmNRIEy93Q/tr_TR.utf8/LC_MEASUREMENT 599s /tmp/tmp.GmNRIEy93Q/tr_TR.utf8/LC_ADDRESS 599s /tmp/tmp.GmNRIEy93Q/tr_TR.utf8/LC_CTYPE 599s /tmp/tmp.GmNRIEy93Q/tr_TR.utf8/LC_TIME 599s /tmp/tmp.GmNRIEy93Q/tr_TR.utf8/LC_PAPER 599s /tmp/tmp.GmNRIEy93Q/tr_TR.utf8/LC_IDENTIFICATION 599s /tmp/tmp.GmNRIEy93Q/tr_TR.utf8/LC_MONETARY 599s /tmp/tmp.GmNRIEy93Q/tr_TR.utf8/LC_NUMERIC 599s TAP version 14 599s # random seed: R02Sb6df68ef855d43278ee765ca10136278 599s 1..2 599s # Start of atomic tests 599s ok 1 /atomic/types 599s ok 2 /atomic/threaded 599s # End of atomic tests 599s ok - glib/atomic-c-11.test 599s # Running test: glib/param.test 599s TAP version 14 599s # random seed: R02Sd00dce7b4a6f18747c6e4c2607d93e44 599s 1..32 599s # Start of param tests 599s ok 1 /param/value 599s ok 2 /param/strings 599s ok 3 /param/qdata 599s ok 4 /param/validate 599s ok 5 /param/convert 599s ok 6 /param/implement # SKIP Skipping slow /param/implement test 599s ok 7 /param/default 599s ok 8 /param/is-valid-name 599s # Start of invalid-name tests 599s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 599s ok 9 /param/invalid-name/colon 599s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 599s ok 10 /param/invalid-name/first-char 599s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 599s ok 11 /param/invalid-name/empty 599s # End of invalid-name tests 599s # Start of implement tests 599s # Start of subprocess tests 599s # End of subprocess tests 599s # End of implement tests 599s # End of param tests 599s # Start of value tests 599s ok 12 /value/transform 599s # End of value tests 599s # Start of paramspec tests 599s ok 13 /paramspec/char 599s ok 14 /paramspec/uchar 599s ok 15 /paramspec/int 599s ok 16 /paramspec/uint 599s ok 17 /paramspec/long 599s ok 18 /paramspec/ulong 599s ok 19 /paramspec/int64 599s ok 20 /paramspec/uint64 599s ok 21 /paramspec/float 599s ok 22 /paramspec/double 599s ok 23 /paramspec/unichar 599s ok 24 /paramspec/param 599s ok 25 /paramspec/null-param 599s ok 26 /paramspec/string 599s ok 27 /paramspec/override 599s ok 28 /paramspec/gtype 599s ok 29 /paramspec/variant 599s ok 30 /paramspec/custom 599s ok 31 /paramspec/pool 599s # Start of variant tests 599s ok 32 /paramspec/variant/cmp 599s # End of variant tests 599s # End of paramspec tests 599s ok - glib/param.test 599s # Running test: glib/boxed.test 599s TAP version 14 599s # random seed: R02S0cb528da30ce54ca5904494fe50c62ab 599s 1..27 599s # Start of boxed tests 599s ok 1 /boxed/define 599s ok 2 /boxed/ownership 599s ok 3 /boxed/closure 599s ok 4 /boxed/date 599s ok 5 /boxed/value 599s ok 6 /boxed/string 599s ok 7 /boxed/hashtable 599s ok 8 /boxed/array 599s ok 9 /boxed/ptrarray 599s ok 10 /boxed/regex 599s ok 11 /boxed/varianttype 599s ok 12 /boxed/error 599s ok 13 /boxed/datetime 599s ok 14 /boxed/matchinfo 599s ok 15 /boxed/keyfile 599s ok 16 /boxed/mainloop 599s ok 17 /boxed/maincontext 599s ok 18 /boxed/source 599s ok 19 /boxed/variantbuilder 599s ok 20 /boxed/timezone 599s ok 21 /boxed/pollfd 599s ok 22 /boxed/markup 599s ok 23 /boxed/thread 599s ok 24 /boxed/checksum 599s ok 25 /boxed/tree 599s ok 26 /boxed/patternspec 599s ok 27 /boxed/rand 599s # End of boxed tests 599s ok - glib/boxed.test 599s # Running test: glib/debugcontroller.test 599s TAP version 14 599s # random seed: R02S84de94120147e2dad5154e753f14552e 599s 1..3 599s # Start of debug-controller tests 599s # Start of dbus tests 599s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 599s # GLib-GIO-DEBUG: Debug output enabled 599s # GLib-GIO-DEBUG: Debug output disabled 599s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 599s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 599s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 599s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 599s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 599s ok 1 /debug-controller/dbus/basic 599s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 599s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 599s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 599s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 599s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 599s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 599s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 599s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 599s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 599s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 599s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 599s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 599s ok 2 /debug-controller/dbus/duplicate 599s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 599s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 599s # End of dbus tests 599s # End of debug-controller tests 599s ok - glib/debugcontroller.test 599s # Running test: glib/logging.test 599s TAP version 14 599s # random seed: R02S9cf34eb32fc9ca238bcb44177bb51d10 599s 1..17 599s # Start of logging tests 599s ok 1 /logging/default-handler 599s # slow test /logging/default-handler executed in 0.66 secs 599s ok 2 /logging/warnings 599s ok 3 /logging/fatal-log-mask 599s # bu-DEBUG: message 599s # ba-DEBUG: message 599s # ba-INFO: message 599s ok 4 /logging/set-handler 599s ok 5 /logging/print-handler 599s ok 6 /logging/printerr-handler 599s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 600s ok - glib/logging.test 600s # Running test: glib/accumulator.test 600s ok - glib/accumulator.test 600s # Running test: glib/custom-dispatch.test 600s ok - glib/custom-dispatch.test 600s # Running test: glib/gdbus-auth.test 600s # The Log Message Handler 600s # 600s # The Good Fail Message Handler 600s # 600s ok 7 /logging/653052 600s ok 8 /logging/gibberish 600s # Start of default-handler tests 600s # Start of subprocess tests 600s # End of subprocess tests 600s # End of default-handler tests 600s # End of logging tests 600s # Start of structured-logging tests 600s ok 9 /structured-logging/no-state 600s ok 10 /structured-logging/some-state 600s ok 11 /structured-logging/robustness 600s ok 12 /structured-logging/roundtrip1 600s ok 13 /structured-logging/roundtrip2 600s ok 14 /structured-logging/roundtrip3 600s ok 15 /structured-logging/variant1 600s ok 16 /structured-logging/variant2 600s ok 17 /structured-logging/set-writer-func-twice 600s # End of structured-logging tests 600s TAP version 14 600s # random seed: R02S161b60bb9d93bc6d339c445ad495a045 600s 1..1 600s # Start of gobject tests 600s ok 1 /gobject/accumulator 600s # End of gobject tests 600s TAP version 14 600s # random seed: R02S6c38b8272589e4ea9eb6b43ed0b5307a 600s 1..2 600s # Start of properties tests 600s # Start of custom-dispatch tests 600s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 600s ok 1 /properties/custom-dispatch/init 600s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 600s ok 2 /properties/custom-dispatch/set 600s # End of custom-dispatch tests 600s # End of properties tests 600s TAP version 14 600s # random seed: R02Sf4481834a434eb0b109f065bf71a35b9 600s 1..5 600s # Start of gdbus tests 600s # Start of auth tests 600s # Start of client tests 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/client/EXTERNAL/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/client/EXTERNAL/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_NIYX52/gdbus/auth/client/EXTERNAL/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/client/EXTERNAL/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_NIYX52/gdbus/auth/client/EXTERNAL/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/client/EXTERNAL/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/client/EXTERNAL/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/client/EXTERNAL/.dirs/runtime 600s ok 1 /gdbus/auth/client/EXTERNAL 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_NIYX52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_NIYX52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 601s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 601s # slow test /gdbus/auth/client/DBUS_COOKIE_SHA1 executed in 1.29 secs 601s # End of client tests 601s # Start of server tests 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/ANONYMOUS/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/ANONYMOUS/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/ANONYMOUS/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/ANONYMOUS/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/ANONYMOUS/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/ANONYMOUS/.dirs/runtime 601s ok 3 /gdbus/auth/server/ANONYMOUS 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/EXTERNAL/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/EXTERNAL/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/EXTERNAL/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/EXTERNAL/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/EXTERNAL/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/EXTERNAL/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/EXTERNAL/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/EXTERNAL/.dirs/runtime 601s ok 4 /gdbus/auth/server/EXTERNAL 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_NIYX52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 601s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 601s # End of server tests 601s ok - glib/gdbus-auth.test 601s # Running test: glib/pollable.test 601s ok - glib/pollable.test 601s # Running test: glib/rand.test 601s ok - glib/rand.test 601s # Running test: glib/unix-mounts.test 601s ok - glib/unix-mounts.test 601s # Running test: glib/pattern.test 601s # End of auth tests 601s # End of gdbus tests 601s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 601s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 601s TAP version 14 601s # random seed: R02S60bcf30f7a4f0cf8cd275f8c49f7050b 601s 1..6 601s # Start of pollable tests 601s ok 1 /pollable/converter 601s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 601s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5836eec6dae0 and GSocketClientAsyncConnectData 0x5836eec69c00 601s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 601s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 601s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5836eec729e0 for GSocketClientAsyncConnectData 0x5836eec69c00 601s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 601s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 601s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 601s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 601s ok 2 /pollable/socket 601s # Start of unix tests 601s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 601s ok 3 /pollable/unix/pipe 601s # /pollable/unix/pty summary: Test that PTYs are considered pollable 601s ok 4 /pollable/unix/pty 601s # /pollable/unix/file summary: Test that regular files are not considered pollable 601s ok 5 /pollable/unix/file 601s # /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 601s ok 6 /pollable/unix/nulldev 601s # End of unix tests 601s # End of pollable tests 601s TAP version 14 601s # random seed: R02Sa1ee8f4e56ea95fa27a3f9ada826995a 601s 1..2 601s # Start of rand tests 601s ok 1 /rand/test-rand 601s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 601s ok 2 /rand/double-range 601s # End of rand tests 601s TAP version 14 601s # random seed: R02S4632ce4b6c41a54bfca98e2c27d4cf0e 601s 1..4 601s # Start of unix-mounts tests 601s ok 1 /unix-mounts/is-system-fs-type 601s ok 2 /unix-mounts/is-system-device-path 601s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 601s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 601s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 601s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 601s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 601s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 601s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 601s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 601s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 601s ok 3 /unix-mounts/get-mount-points 601s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 601s ok 4 /unix-mounts/get-mount-entries 601s # End of unix-mounts tests 601s TAP version 14 601s # random seed: R02Sf35c789b7a87af32df1665a4b1054847 601s 1..90 601s # Start of pattern tests 601s # Start of compile tests 601s ok 1 /pattern/compile/0 601s ok 2 /pattern/compile/1 601s ok 3 /pattern/compile/2 601s ok 4 /pattern/compile/3 601s ok 5 /pattern/compile/4 601s ok 6 /pattern/compile/5 601s ok 7 /pattern/compile/6 601s ok 8 /pattern/compile/7 601s ok 9 /pattern/compile/8 601s ok 10 /pattern/compile/9 601s ok 11 /pattern/compile/10 601s ok 12 /pattern/compile/11 601s ok 13 /pattern/compile/12 601s ok 14 /pattern/compile/13 601s # End of compile tests 601s # Start of copy tests 601s ok 15 /pattern/copy/0 601s ok 16 /pattern/copy/1 601s ok 17 /pattern/copy/2 601s ok 18 /pattern/copy/3 601s ok 19 /pattern/copy/4 601s ok 20 /pattern/copy/5 601s ok 21 /pattern/copy/6 601s ok 22 /pattern/copy/7 601s ok 23 /pattern/copy/8 601s ok 24 /pattern/copy/9 601s ok 25 /pattern/copy/10 601s ok 26 /pattern/copy/11 601s ok 27 /pattern/copy/12 601s ok 28 /pattern/copy/13 601s # End of copy tests 601s # Start of match tests 601s ok 29 /pattern/match/0 601s ok 30 /pattern/match/1 601s ok 31 /pattern/match/2 601s ok 32 /pattern/match/3 601s ok 33 /pattern/match/4 601s ok 34 /pattern/match/5 601s ok 35 /pattern/match/6 601s ok - glib/pattern.test 601s # Running test: glib/macros-c-99.test 601s ok - glib/macros-c-99.test 601s # Running test: glib/notify-init2.test 601s ok - glib/notify-init2.test 601s # Running test: glib/flags.test 601s ok - glib/flags.test 601s # Running test: glib/cxx-20.test 601s ok - glib/cxx-20.test 601s # Running test: glib/socket-service.test 601s ok 36 /pattern/match/7 601s ok 37 /pattern/match/8 601s ok 38 /pattern/match/9 601s ok 39 /pattern/match/10 601s ok 40 /pattern/match/11 601s ok 41 /pattern/match/12 601s ok 42 /pattern/match/13 601s ok 43 /pattern/match/14 601s ok 44 /pattern/match/15 601s ok 45 /pattern/match/16 601s ok 46 /pattern/match/17 601s ok 47 /pattern/match/18 601s ok 48 /pattern/match/19 601s ok 49 /pattern/match/20 601s ok 50 /pattern/match/21 601s ok 51 /pattern/match/22 601s ok 52 /pattern/match/23 601s ok 53 /pattern/match/24 601s ok 54 /pattern/match/25 601s ok 55 /pattern/match/26 601s ok 56 /pattern/match/27 601s ok 57 /pattern/match/28 601s ok 58 /pattern/match/29 601s ok 59 /pattern/match/30 601s ok 60 /pattern/match/31 601s ok 61 /pattern/match/32 601s ok 62 /pattern/match/33 601s ok 63 /pattern/match/34 601s ok 64 /pattern/match/35 601s ok 65 /pattern/match/36 601s ok 66 /pattern/match/37 601s ok 67 /pattern/match/38 601s ok 68 /pattern/match/39 601s ok 69 /pattern/match/40 601s ok 70 /pattern/match/41 601s ok 71 /pattern/match/42 601s ok 72 /pattern/match/43 601s ok 73 /pattern/match/44 601s ok 74 /pattern/match/45 601s ok 75 /pattern/match/46 601s ok 76 /pattern/match/47 601s ok 77 /pattern/match/48 601s ok 78 /pattern/match/49 601s ok 79 /pattern/match/50 601s # End of match tests 601s # Start of equal tests 601s ok 80 /pattern/equal/0 601s ok 81 /pattern/equal/1 601s ok 82 /pattern/equal/2 601s ok 83 /pattern/equal/3 601s ok 84 /pattern/equal/4 601s ok 85 /pattern/equal/5 601s ok 86 /pattern/equal/6 601s ok 87 /pattern/equal/7 601s ok 88 /pattern/equal/8 601s ok 89 /pattern/equal/9 601s ok 90 /pattern/equal/10 601s # End of equal tests 601s # End of pattern tests 601s TAP version 14 601s # random seed: R02Sd0915fb8d200ab5b743ffeb7e3f27a1f 601s 1..4 601s # Start of C tests 601s ok 1 /C/standard-99 601s # End of C tests 601s # Start of alignof tests 601s ok 2 /alignof/fallback 601s # End of alignof tests 601s # Start of assert tests 601s ok 3 /assert/static 601s # End of assert tests 601s # Start of struct tests 601s ok 4 /struct/sizeof_member 601s # End of struct tests 601s TAP version 14 601s # random seed: R02S0e4694aca1ecf0a3e38864dc325e3f7d 601s 1..1 601s # Start of properties tests 601s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 601s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 601s ok 1 /properties/notify-in-init2 601s # End of properties tests 601s TAP version 14 601s # random seed: R02S2bf7d1f9fdda4faea2233491f371f9e2 601s 1..1 601s # Start of gobject tests 601s # Start of flags tests 601s ok 1 /gobject/flags/validate 601s # End of flags tests 601s # End of gobject tests 601s TAP version 14 601s # random seed: R02Sf1eaa5fbaad939f46df37220b124f1fe 601s 1..2 601s # Start of gtask tests 601s # 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. 601s ok 1 /gtask/name 601s # Start of name tests 601s # 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. 601s ok 2 /gtask/name/macro-wrapper 601s # End of name tests 601s # End of gtask tests 601s TAP version 14 601s # random seed: R02S2adc8e45d65006eb1aa8b1f5093a9bf7 601s 1..4 601s # Start of socket-service tests 601s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 601s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x592eba05b150 and GSocketClientAsyncConnectData 0x592eba055bc0 601s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 601s ok 1 /socket-service/start-stop 601s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x592eba05f0f0 and GSocketClientAsyncConnectData 0x592eba05ed90 601s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 601s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 601s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x592eba05f070 for GSocketClientAsyncConnectData 0x592eba055bc0 601s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 601s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 601s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 601s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 601s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 601s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x592eba05f070 for GSocketClientAsyncConnectData 0x592eba05ed90 601s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 601s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 601s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 601s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 601s ok 2 /socket-service/read_write_async 601s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x592eba05f0f0 and GSocketClientAsyncConnectData 0x592eba063100 601s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 601s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 601s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x592eba062600 for GSocketClientAsyncConnectData 0x592eba063100 601s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 601s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 601s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 601s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 601s ok 3 /socket-service/read_writev_async 601s # Start of threaded tests 601s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 601s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x592eba060740 and GSocketClientAsyncConnectData 0x592eba05ed90 601s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 601s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 601s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x592eba063ac0 for GSocketClientAsyncConnectData 0x592eba05ed90 601s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 601s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 601s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 601s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 601s ok 4 /socket-service/threaded/712570 601s # End of threaded tests 601s # End of socket-service tests 601s ok - glib/socket-service.test 601s # Running test: glib/init.test 601s TAP version 14 601s # random seed: R02Sa73282b286a12350fd2f1e7306ef7648 601s 1..2 601s # Start of thread tests 601s # Start of deprecated tests 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_JUPB62/thread/deprecated/init/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_JUPB62/thread/deprecated/init/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_JUPB62/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_JUPB62/thread/deprecated/init/.dirs/system-config2 601s ok - glib/init.test 601s # Running test: glib/gdbus-export.test 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_JUPB62/thread/deprecated/init/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_JUPB62/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_JUPB62/thread/deprecated/init/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_JUPB62/thread/deprecated/init/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_JUPB62/thread/deprecated/init/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_JUPB62/thread/deprecated/init/.dirs/runtime 601s ok 1 /thread/deprecated/init 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_JUPB62/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_JUPB62/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_JUPB62/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_JUPB62/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_JUPB62/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_JUPB62/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_JUPB62/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_JUPB62/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_JUPB62/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_JUPB62/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 601s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 601s # End of deprecated tests 601s # End of thread tests 601s TAP version 14 601s # random seed: R02Scf10fdb160fe69e564a94a328eef5b2c 601s 1..7 601s # Start of gdbus tests 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_FAYB62/gdbus/object-registration/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_FAYB62/gdbus/object-registration/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration/.dirs/runtime 601s ok 1 /gdbus/object-registration 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration-with-closures/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration-with-closures/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_FAYB62/gdbus/object-registration-with-closures/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration-with-closures/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_FAYB62/gdbus/object-registration-with-closures/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration-with-closures/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration-with-closures/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration-with-closures/.dirs/runtime 601s ok 2 /gdbus/object-registration-with-closures 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration-with-closures2/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration-with-closures2/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_FAYB62/gdbus/object-registration-with-closures2/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration-with-closures2/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_FAYB62/gdbus/object-registration-with-closures2/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration-with-closures2/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration-with-closures2/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_FAYB62/gdbus/object-registration-with-closures2/.dirs/runtime 601s ok 3 /gdbus/object-registration-with-closures2 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_FAYB62/gdbus/registered-interfaces/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/registered-interfaces/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_FAYB62/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_FAYB62/gdbus/registered-interfaces/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/registered-interfaces/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_FAYB62/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_FAYB62/gdbus/registered-interfaces/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/registered-interfaces/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/registered-interfaces/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_FAYB62/gdbus/registered-interfaces/.dirs/runtime 601s ok 4 /gdbus/registered-interfaces 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_FAYB62/gdbus/async-properties/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/async-properties/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_FAYB62/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_FAYB62/gdbus/async-properties/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/async-properties/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_FAYB62/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_FAYB62/gdbus/async-properties/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/async-properties/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/async-properties/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_FAYB62/gdbus/async-properties/.dirs/runtime 601s ok 5 /gdbus/async-properties 601s # Start of threaded-unregistration tests 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_FAYB62/gdbus/threaded-unregistration/object/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/threaded-unregistration/object/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_FAYB62/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_FAYB62/gdbus/threaded-unregistration/object/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/threaded-unregistration/object/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_FAYB62/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_FAYB62/gdbus/threaded-unregistration/object/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/threaded-unregistration/object/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/threaded-unregistration/object/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_FAYB62/gdbus/threaded-unregistration/object/.dirs/runtime 601s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 601s # /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 602s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (1 iterations with unregistration first, 999 with call first); skipping test 602s # slow test /gdbus/threaded-unregistration/object executed in 1.05 secs 602s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_FAYB62/gdbus/threaded-unregistration/subtree/.dirs/home 602s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/threaded-unregistration/subtree/.dirs/cache 602s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_FAYB62/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_FAYB62/gdbus/threaded-unregistration/subtree/.dirs/system-config2 602s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/threaded-unregistration/subtree/.dirs/config 602s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_FAYB62/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_FAYB62/gdbus/threaded-unregistration/subtree/.dirs/system-data2 602s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/threaded-unregistration/subtree/.dirs/data 602s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_FAYB62/gdbus/threaded-unregistration/subtree/.dirs/state 602s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_FAYB62/gdbus/threaded-unregistration/subtree/.dirs/runtime 602s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 602s # /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 603s ok 7 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 603s # slow test /gdbus/threaded-unregistration/subtree executed in 1.06 secs 603s # End of threaded-unregistration tests 603s # End of gdbus tests 603s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 603s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 603s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 603s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 603s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 603s ok - glib/gdbus-export.test 603s # Running test: glib/throws.test 603s TAP version 14 603s ok - glib/throws.test 603s # Running test: glib/utils.test 603s # random seed: R02S42417c8b7f967b2bcadc87dcac6b3f24 603s 1..3 603s # Start of throws tests 603s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_21S952/throws/invoke-gerror/.dirs/home 603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_21S952/throws/invoke-gerror/.dirs/cache 603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_21S952/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_21S952/throws/invoke-gerror/.dirs/system-config2 603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_21S952/throws/invoke-gerror/.dirs/config 603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_21S952/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_21S952/throws/invoke-gerror/.dirs/system-data2 603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_21S952/throws/invoke-gerror/.dirs/data 603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_21S952/throws/invoke-gerror/.dirs/state 603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_21S952/throws/invoke-gerror/.dirs/runtime 603s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 603s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 603s ok 1 /throws/invoke-gerror 603s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_21S952/throws/vfunc-can-throw-gerror/.dirs/home 603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_21S952/throws/vfunc-can-throw-gerror/.dirs/cache 603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_21S952/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_21S952/throws/vfunc-can-throw-gerror/.dirs/system-config2 603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_21S952/throws/vfunc-can-throw-gerror/.dirs/config 603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_21S952/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_21S952/throws/vfunc-can-throw-gerror/.dirs/system-data2 603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_21S952/throws/vfunc-can-throw-gerror/.dirs/data 603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_21S952/throws/vfunc-can-throw-gerror/.dirs/state 603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_21S952/throws/vfunc-can-throw-gerror/.dirs/runtime 603s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 603s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 603s ok 2 /throws/vfunc-can-throw-gerror 603s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_21S952/throws/callback-can-throw-gerror/.dirs/home 603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_21S952/throws/callback-can-throw-gerror/.dirs/cache 603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_21S952/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_21S952/throws/callback-can-throw-gerror/.dirs/system-config2 603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_21S952/throws/callback-can-throw-gerror/.dirs/config 603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_21S952/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_21S952/throws/callback-can-throw-gerror/.dirs/system-data2 603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_21S952/throws/callback-can-throw-gerror/.dirs/data 603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_21S952/throws/callback-can-throw-gerror/.dirs/state 603s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_21S952/throws/callback-can-throw-gerror/.dirs/runtime 603s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 603s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 603s ok 3 /throws/callback-can-throw-gerror 603s # End of throws tests 603s TAP version 14 603s # random seed: R02Sfa198eb613192507cf6cf36b7dacb98f 603s 1..41 603s # Start of utils tests 603s ok 1 /utils/language-names 603s ok 2 /utils/locale-variants 603s ok 3 /utils/version 603s ok 4 /utils/appname 603s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 603s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 603s ok 5 /utils/prgname-thread-safety 603s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 603s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 603s ok 6 /utils/tmpdir 603s ok 7 /utils/basic_bits 603s ok 8 /utils/bits 603s ok 9 /utils/swap 603s ok 10 /utils/find-program 603s ok 11 /utils/find-program-for-path 603s ok 12 /utils/debug 603s ok 13 /utils/codeset 603s ok 14 /utils/codeset2 603s ok 15 /utils/console-charset 603s ok 16 /utils/gettext 603s ok 17 /utils/username 603s ok 18 /utils/realname 603s ok 19 /utils/hostname 603s ok 20 /utils/xdgdirs 603s ok 21 /utils/specialdir 603s # NAME: Ubuntu 603s ok 22 /utils/os-info 603s ok 23 /utils/clear-pointer 603s ok 24 /utils/clear-pointer-cast 603s ok 25 /utils/take-pointer 603s ok 26 /utils/clear-source 603s ok 27 /utils/misc-mem 603s # /utils/aligned-mem summary: Aligned memory allocator 603s # Alignment must not be zero 603s # Alignment must be a power of two 603s ok - glib/utils.test 603s # Running test: glib/onceinit.test 603s # Alignment must be a multiple of sizeof(void*) 603s ok 28 /utils/aligned-mem 603s # /utils/free-sized summary: Check that g_free_sized() works 603s ok 29 /utils/free-sized 603s ok 30 /utils/nullify 603s ok 31 /utils/atexit 603s ok 32 /utils/check-setuid 603s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 603s ok 33 /utils/int-limits 603s ok 34 /utils/clear-list 603s ok 35 /utils/clear-slist 603s ok 36 /utils/steal-handle-id 603s # Start of specialdir tests 603s ok 37 /utils/specialdir/desktop 603s # End of specialdir tests 603s # Start of clear-pointer tests 603s ok 38 /utils/clear-pointer/side-effects 603s # End of clear-pointer tests 603s # Start of aligned-mem tests 603s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 603s ok 39 /utils/aligned-mem/alignment 603s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 603s ok 40 /utils/aligned-mem/zeroed 603s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 603s ok 41 /utils/aligned-mem/free-sized 603s # Start of subprocess tests 603s # End of subprocess tests 603s # End of aligned-mem tests 603s # End of utils tests 603s TAP version 14 603s # random seed: R02S943453cf81a50964cba897d9014c9364 603s 1..1 603s # Start of thread tests 603s ok - glib/onceinit.test 603s ok 1 /thread/onceinit 603s # End of thread tests 603s # Running test: glib/socket.test 603s TAP version 14 603s # random seed: R02S22936e37392607b732c1e84ada0c9cd3 603s 1..28 603s # Start of socket tests 604s ok 1 /socket/ipv4_sync 604s # slow test /socket/ipv4_sync executed in 1.00 secs 604s # Executing: glib/socket.test 605s ok 2 /socket/ipv4_async 605s # slow test /socket/ipv4_async executed in 1.00 secs 605s ok 3 /socket/ipv6_sync 605s ok 4 /socket/ipv6_async 605s ok 5 /socket/ipv6_v4mapped 606s ok 6 /socket/close_graceful 606s # slow test /socket/close_graceful executed in 1.00 secs 606s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 606s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 606s ok 8 /socket/fd_reuse 606s ok 9 /socket/address 606s ok 10 /socket/unix-from-fd 606s ok 11 /socket/unix-connection 606s ok 12 /socket/unix-connection-ancillary-data 606s ok 13 /socket/source-postmortem 606s ok 14 /socket/read_write 606s ok 15 /socket/read_writev 606s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 606s ok 16 /socket/receive_bytes 606s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 606s ok 17 /socket/receive_bytes_from 606s # Start of ipv4_sync tests 606s ok 18 /socket/ipv4_sync/datagram 606s # Start of datagram tests 607s ok 19 /socket/ipv4_sync/datagram/timeouts 607s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 607s # End of datagram tests 607s # End of ipv4_sync tests 607s # Start of ipv6_sync tests 607s ok 20 /socket/ipv6_sync/datagram 607s # Start of datagram tests 608s ok 21 /socket/ipv6_sync/datagram/timeouts 608s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 608s # End of datagram tests 608s # End of ipv6_sync tests 608s # Start of reuse tests 608s ok 22 /socket/reuse/tcp 608s ok 23 /socket/reuse/udp 608s # End of reuse tests 608s # Start of get_available tests 608s ok 24 /socket/get_available/datagram 608s ok 25 /socket/get_available/stream 608s # End of get_available tests 608s # Start of credentials tests 608s # Supported on this OS: GCredentials:linux-ucred:pid=0 608s ok 26 /socket/credentials/tcp_client 608s # Supported on this OS: GCredentials:linux-ucred:pid=0 608s ok 27 /socket/credentials/tcp_server 608s # Supported on this OS: GCredentials:linux-ucred:pid=4539,uid=1000,gid=1000 608s ok 28 /socket/credentials/unix_socketpair 608s # End of credentials tests 608s # End of socket tests 609s ok - glib/socket.test 609s # Running test: glib/glistmodel.test 609s TAP version 14 609s # random seed: R02S682001857c155333b4dbc41f01d9e659 609s ok - glib/glistmodel.test 609s # Running test: glib/appmonitor.test 609s ok - glib/appmonitor.test 609s # Running test: glib/gdbus-names.test 609s 1..18 609s # Start of glistmodel tests 609s # Start of store tests 609s ok 1 /glistmodel/store/properties 609s ok 2 /glistmodel/store/non-gobjects 609s ok 3 /glistmodel/store/boundaries 609s ok 4 /glistmodel/store/refcounts 609s ok 5 /glistmodel/store/sorted 609s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 609s ok 6 /glistmodel/store/splice-replace-middle 609s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 609s ok 7 /glistmodel/store/splice-replace-all 609s ok 8 /glistmodel/store/splice-noop 609s ok 9 /glistmodel/store/splice-remove-multiple 609s ok 10 /glistmodel/store/splice-add-multiple 609s ok 11 /glistmodel/store/splice-wrong-type 609s ok 12 /glistmodel/store/item-type 609s ok 13 /glistmodel/store/remove-all 609s ok 14 /glistmodel/store/sort 609s ok 15 /glistmodel/store/get-item-cache 609s ok 16 /glistmodel/store/items-changed 609s ok 17 /glistmodel/store/past-end 609s ok 18 /glistmodel/store/find 609s # End of store tests 609s # End of glistmodel tests 609s TAP version 14 609s # random seed: R02Se26a11df0def400117b2fbeca7559b04 609s 1..1 609s # Start of monitor tests 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_3Z7X52/monitor/app/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_3Z7X52/monitor/app/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_3Z7X52/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_3Z7X52/monitor/app/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_3Z7X52/monitor/app/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_3Z7X52/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_3Z7X52/monitor/app/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_3Z7X52/monitor/app/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_3Z7X52/monitor/app/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_3Z7X52/monitor/app/.dirs/runtime 609s # Using data directory: /tmp/test_appmonitor_3Z7X52/monitor/app/.dirs/data 609s ok 1 /monitor/app 609s # End of monitor tests 609s TAP version 14 609s # random seed: R02S508baea7e251286f8393d0faa6839406 609s 1..10 609s # Start of gdbus tests 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_6P3X52/gdbus/validate-names/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/validate-names/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_6P3X52/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_6P3X52/gdbus/validate-names/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/validate-names/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_6P3X52/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_6P3X52/gdbus/validate-names/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/validate-names/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/validate-names/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_6P3X52/gdbus/validate-names/.dirs/runtime 609s ok 1 /gdbus/validate-names 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-own-name/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-own-name/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_6P3X52/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_6P3X52/gdbus/bus-own-name/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-own-name/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_6P3X52/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_6P3X52/gdbus/bus-own-name/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-own-name/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-own-name/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_6P3X52/gdbus/bus-own-name/.dirs/runtime 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s ok 2 /gdbus/bus-own-name 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name/.dirs/runtime 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s ok 3 /gdbus/bus-watch-name 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-auto-start/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-auto-start/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-auto-start/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-auto-start/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-auto-start/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-auto-start/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-auto-start/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-auto-start/.dirs/runtime 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s ok 4 /gdbus/bus-watch-name-auto-start 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 609s dbus-daemon[4579]: [session uid=1000 pid=4579 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=4570 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 609s # Acquired a message bus connection 609s dbus-daemon[4579]: [session uid=1000 pid=4579 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService' 609s # Acquired the name org.gtk.GDBus.FakeService 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-closures/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-closures/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-closures/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-closures/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-closures/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-closures/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-closures/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-closures/.dirs/runtime 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s ok 6 /gdbus/bus-watch-name-closures 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-closures-auto-start/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-closures-auto-start/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-closures-auto-start/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-closures-auto-start/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s ok 7 /gdbus/bus-watch-name-closures-auto-start 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-different-context/.dirs/home 609s ok - glib/gdbus-names.test 609s # Running test: glib/properties-refcount2.test 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-different-context/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-different-context/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-different-context/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-different-context/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-different-context/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-different-context/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_6P3X52/gdbus/bus-watch-different-context/.dirs/runtime 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s ok 8 /gdbus/bus-watch-different-context 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-unwatch-early/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-unwatch-early/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_6P3X52/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_6P3X52/gdbus/bus-unwatch-early/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-unwatch-early/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_6P3X52/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_6P3X52/gdbus/bus-unwatch-early/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-unwatch-early/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/bus-unwatch-early/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_6P3X52/gdbus/bus-unwatch-early/.dirs/runtime 609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 609s ok 9 /gdbus/bus-unwatch-early 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_6P3X52/gdbus/escape-object-path/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/escape-object-path/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_6P3X52/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_6P3X52/gdbus/escape-object-path/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/escape-object-path/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_6P3X52/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_6P3X52/gdbus/escape-object-path/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/escape-object-path/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_6P3X52/gdbus/escape-object-path/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_6P3X52/gdbus/escape-object-path/.dirs/runtime 609s ok 10 /gdbus/escape-object-path 609s # End of gdbus tests 609s TAP version 14 609s # random seed: R02Sbafbc425d64747abe324fda184c0ac42 609s 1..1 609s # Start of gobject tests 609s # Start of refcount tests 609s # init 0x57ed9ce8ae30 609s # 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # . 609s # Executing: glib/properties-refcount2.test 609s # . 609s # . 609s # . 609s # dispose 0x57ed9ce8ae30! 609s # 609s ok 1 /gobject/refcount/properties-2 609s # slow test /gobject/refcount/properties-2 executed in 0.65 secs 609s # End of refcount tests 609s # End of gobject tests 609s ok - glib/properties-refcount2.test 609s # Running test: glib/reference.test 609s TAP version 14 609s # random seed: R02S8374a9489a2a88dee957a248ee3ec3f8 609s 1..29 609s # Start of type tests 609s ok 1 /type/fundamentals 609s ok 2 /type/qdata 609s ok 3 /type/query 609s ok 4 /type/class-private 609s # End of type tests 609s # Start of object tests 609s ok 5 /object/clear 609s ok 6 /object/clear-function 609s ok 7 /object/set 609s ok 8 /object/set-function 609s ok 9 /object/value 609s ok 10 /object/initially-unowned 609s ok 11 /object/weak-pointer 609s ok 12 /object/weak-ref 609s ok 13 /object/toggle-ref 609s ok 14 /object/qdata 609s ok 15 /object/qdata2 609s # Start of set tests 609s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 609s ok 16 /object/set/derived-type 609s # End of set tests 609s # Start of weak-pointer tests 609s ok 17 /object/weak-pointer/clear 609s ok 18 /object/weak-pointer/clear-function 609s ok 19 /object/weak-pointer/set 609s ok 20 /object/weak-pointer/set-function 609s # End of weak-pointer tests 609s # Start of weak-ref tests 609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 609s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 609s ok 21 /object/weak-ref/on-dispose 609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 609s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 609s ok 22 /object/weak-ref/on-run-dispose 609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 609s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 609s ok 23 /object/weak-ref/on-toggle-notify 609s ok 24 /object/weak-ref/in-toggle-notify 609s ok 25 /object/weak-ref/many 609s # Start of concurrent tests 609s ok 26 /object/weak-ref/concurrent/0 609s ok 27 /object/weak-ref/concurrent/1 609s # End of concurrent tests 609s # End of weak-ref tests 609s # Start of toggle-ref tests 609s ok 28 /object/toggle-ref/ref-on-dispose 609s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 609s # End of toggle-ref tests 609s # End of object tests 609s ok - glib/reference.test 609s # Running test: glib/testing-nonfatal.test 609s ok - glib/testing-nonfatal.test 609s TAP version 14 609s # random seed: R02Sbe05cc00849114b1595482f28dc2c034 609s ** 609s 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?") 609s # 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?") 609s # Running test: glib/object-info.test 609s TAP version 14 609s # random seed: R02Se011d0beb6257cff79facc5e970227ae 609s 1..2 609s # Start of object-info tests 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_VW5S52/object-info/find-method-using-interfaces/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_VW5S52/object-info/find-method-using-interfaces/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_VW5S52/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_VW5S52/object-info/find-method-using-interfaces/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_VW5S52/object-info/find-method-using-interfaces/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_VW5S52/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_VW5S52/object-info/find-method-using-interfaces/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_VW5S52/object-info/find-method-using-interfaces/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_VW5S52/object-info/find-method-using-interfaces/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_VW5S52/object-info/find-method-using-interfaces/.dirs/runtime 609s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 609s ok 1 /object-info/find-method-using-interfaces 609s ok - glib/object-info.test 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_VW5S52/object-info/find-vfunc-using-interfaces/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_VW5S52/object-info/find-vfunc-using-interfaces/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_VW5S52/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_VW5S52/object-info/find-vfunc-using-interfaces/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_VW5S52/object-info/find-vfunc-using-interfaces/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_VW5S52/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_VW5S52/object-info/find-vfunc-using-interfaces/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_VW5S52/object-info/find-vfunc-using-interfaces/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_VW5S52/object-info/find-vfunc-using-interfaces/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_VW5S52/object-info/find-vfunc-using-interfaces/.dirs/runtime 609s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 609s ok 2 /object-info/find-vfunc-using-interfaces 609s # End of object-info tests 609s # Running test: glib/search-utils.test 609s TAP version 14 609s # random seed: R02S66dcd5d918cb1a07ace29089b30da9e8 609s # GLib-DEBUG: Current user locale: C.UTF-8 609s 1..6 609s # Start of search tests 609s # GLib-DEBUG: Started 609s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 609s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 609s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 609s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 609s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 609s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 609s ok 1 /search/basic 609s # GLib-DEBUG: Started 609s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 609s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 609s # GLib-DEBUG: 'ele' - 'élève' should match: OK 609s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 609s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 609s ok 2 /search/composed 609s # GLib-DEBUG: Started 609s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 609s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 609s ok 3 /search/decomposed 609s # GLib-DEBUG: Started 609s ok - glib/search-utils.test 609s # Running test: glib/dump.test 609s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 609s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 609s ok 4 /search/turkish 609s # GLib-DEBUG: Started 609s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 609s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 609s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 609s ok 5 /search/c_locale_unicode 609s # GLib-DEBUG: Started 609s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 609s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 609s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 609s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 609s ok 6 /search/multi_words 609s # End of search tests 609s TAP version 14 609s # random seed: R02Scfbfdf4507bedc8508d2768162a1fb7d 609s 1..4 609s # Start of dump tests 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_BESS52/dump/empty-file/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_BESS52/dump/empty-file/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_BESS52/dump/empty-file/.dirs/system-config1:/tmp/test_dump_BESS52/dump/empty-file/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_BESS52/dump/empty-file/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_BESS52/dump/empty-file/.dirs/system-data1:/tmp/test_dump_BESS52/dump/empty-file/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_BESS52/dump/empty-file/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_BESS52/dump/empty-file/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_BESS52/dump/empty-file/.dirs/runtime 609s ok 1 /dump/empty-file 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_BESS52/dump/missing-get-type/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_BESS52/dump/missing-get-type/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_BESS52/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_BESS52/dump/missing-get-type/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_BESS52/dump/missing-get-type/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_BESS52/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_BESS52/dump/missing-get-type/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_BESS52/dump/missing-get-type/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_BESS52/dump/missing-get-type/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_BESS52/dump/missing-get-type/.dirs/runtime 609s Invalid GType function: 'does_not_exist_get_type' 609s ok 2 /dump/missing-get-type 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_BESS52/dump/missing-quark/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_BESS52/dump/missing-quark/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_BESS52/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_BESS52/dump/missing-quark/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_BESS52/dump/missing-quark/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_BESS52/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_BESS52/dump/missing-quark/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_BESS52/dump/missing-quark/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_BESS52/dump/missing-quark/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_BESS52/dump/missing-quark/.dirs/runtime 609s Invalid error quark function: 'does_not_exist_error' 609s ok 3 /dump/missing-quark 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_BESS52/dump/basic/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_BESS52/dump/basic/.dirs/cache 609s ok - glib/dump.test 609s # Running test: glib/properties-refcount1.test 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_BESS52/dump/basic/.dirs/system-config1:/tmp/test_dump_BESS52/dump/basic/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_BESS52/dump/basic/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_BESS52/dump/basic/.dirs/system-data1:/tmp/test_dump_BESS52/dump/basic/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_BESS52/dump/basic/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_BESS52/dump/basic/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_BESS52/dump/basic/.dirs/runtime 609s ok 4 /dump/basic 609s # End of dump tests 609s TAP version 14 609s # random seed: R02Sac42282f92328cc8560529c5710ce40a 609s 1..1 609s # Start of gobject tests 609s # Start of refcount tests 609s # .f 609s # .b 609s # .d 609s # .e 609s # .c 609s # .f 609s # .b 609s # .e 610s # .d 610s # .f 610s # .c 610s # .b 610s # .e 610s # .f 610s # .d 610s # .c 610s # .f 610s # .b 610s # .e 610s # .d 610s # .c 610s # .f 610s # .e 610s # .d 610s # .b 610s # .c 610s # .f 610s # .e 610s # .d 610s # .b 610s # .e 610s # .f 610s # .c 610s # .e 610s # .d 610s # .b 610s # .c 610s # .f 610s # .e 610s # .c 610s # .d 610s # .f 610s # .b 610s # .e 610s # .c 610s # .d 610s # .f 610s # .b 610s # .c 610s # .e 610s # .d 610s # .f 610s # .e 610s # .b 610s # .c 610s # .f 610s # .e 610s # .d 610s # .b 610s # .f 610s # .c 610s # .e 611s # .d 611s # .f 611s # .b 611s # .c 611s # .e 611s # .d 611s # .b 611s # .f 611s # .e 611s # .c 611s # .d 611s # .b 611s # .d 611s # .f 611s # .e 611s # .c 611s # .b 611s # .d 611s # .f 611s # .e 611s # .c 611s # .b 611s # .d 611s # .f 611s # .c 611s # .e 611s # .f 611s # .b 611s # .d 611s # .e 611s # .c 611s # .d 611s # .f 611s # .c 611s # .e 611s # .b 611s # .e 611s # .d 611s # .f 611s # .c 611s # .b 611s # .d 611s # .e 611s # .c 611s # .f 611s # .b 611s # .e 611s # .d 611s # .f 611s # .c 611s # .b 611s # .e 612s # .f 612s # .d 612s # .c 612s # .b 612s # .d 612s # .e 612s # .f 612s # .b 612s # .c 612s # .d 612s # .f 612s # .e 612s # .b 612s # .f 612s # .c 612s # .d 612s # .e 612s # .b 612s # .d 612s # .f 612s # .c 612s # .b 612s # .e 612s # .d 612s # .f 612s # .c 612s # .b 612s # .f 612s # .e 612s # .c 612s # .d 612s # .b 612s # .f 612s # .e 612s # .c 612s # .d 612s # .b 612s # .e 612s # .f 612s # .c 612s # .d 612s # .b 612s # .e 612s # .c 612s # .f 612s ok 1 /gobject/refcount/properties-1 612s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 612s # End of refcount tests 612s # End of gobject tests 612s ok - glib/properties-refcount1.test 612s # Running test: glib/sandbox.test 612s TAP version 14 612s # random seed: R02S7137aa62372dfaf5ca1108cbd3ee7131 612s 1..4 612s # Start of sandbox tests 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_TUGZ52/sandbox/none/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_TUGZ52/sandbox/none/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_TUGZ52/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_TUGZ52/sandbox/none/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_TUGZ52/sandbox/none/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_TUGZ52/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_TUGZ52/sandbox/none/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_TUGZ52/sandbox/none/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_TUGZ52/sandbox/none/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_TUGZ52/sandbox/none/.dirs/runtime 612s ok 1 /sandbox/none 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_TUGZ52/sandbox/snap/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_TUGZ52/sandbox/snap/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_TUGZ52/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_TUGZ52/sandbox/snap/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_TUGZ52/sandbox/snap/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_TUGZ52/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_TUGZ52/sandbox/snap/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_TUGZ52/sandbox/snap/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_TUGZ52/sandbox/snap/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_TUGZ52/sandbox/snap/.dirs/runtime 612s # Created snap.yaml in /tmp/test_sandbox_TUGZ52/snap/current/meta/snap.yaml 612s ok 2 /sandbox/snap 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_TUGZ52/sandbox/classic-snap/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_TUGZ52/sandbox/classic-snap/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_TUGZ52/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_TUGZ52/sandbox/classic-snap/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_TUGZ52/sandbox/classic-snap/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_TUGZ52/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_TUGZ52/sandbox/classic-snap/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_TUGZ52/sandbox/classic-snap/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_TUGZ52/sandbox/classic-snap/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_TUGZ52/sandbox/classic-snap/.dirs/runtime 612s # Created snap.yaml in /tmp/test_sandbox_TUGZ52/snap/current/meta/snap.yaml 612s ok 3 /sandbox/classic-snap 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_TUGZ52/sandbox/flatpak/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_TUGZ52/sandbox/flatpak/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_TUGZ52/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_TUGZ52/sandbox/flatpak/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_TUGZ52/sandbox/flatpak/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_TUGZ52/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_TUGZ52/sandbox/flatpak/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_TUGZ52/sandbox/flatpak/.dirs/data 612s ok - glib/sandbox.test 612s # Running test: glib/gdbus-connection-flush.test 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_TUGZ52/sandbox/flatpak/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_TUGZ52/sandbox/flatpak/.dirs/runtime 612s # Creating .flatpak-info in /tmp/test_sandbox_TUGZ52/sandbox/flatpak/.dirs/runtime/.flatpak-info 612s ok 4 /sandbox/flatpak 612s # End of sandbox tests 612s TAP version 14 612s # random seed: R02Sa29be72bad1eb668de7fa6591fb35894 612s 1..2 612s # Start of gdbus tests 612s # Start of connection tests 612s # Start of flush tests 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_0MHZ52/gdbus/connection/flush/busy/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_0MHZ52/gdbus/connection/flush/busy/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_0MHZ52/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_0MHZ52/gdbus/connection/flush/busy/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_0MHZ52/gdbus/connection/flush/busy/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_0MHZ52/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_0MHZ52/gdbus/connection/flush/busy/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_0MHZ52/gdbus/connection/flush/busy/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_0MHZ52/gdbus/connection/flush/busy/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_0MHZ52/gdbus/connection/flush/busy/.dirs/runtime 612s ok - glib/gdbus-connection-flush.test 612s # Running test: glib/vfs.test 612s ok 1 /gdbus/connection/flush/busy 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_0MHZ52/gdbus/connection/flush/idle/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_0MHZ52/gdbus/connection/flush/idle/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_0MHZ52/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_0MHZ52/gdbus/connection/flush/idle/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_0MHZ52/gdbus/connection/flush/idle/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_0MHZ52/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_0MHZ52/gdbus/connection/flush/idle/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_0MHZ52/gdbus/connection/flush/idle/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_0MHZ52/gdbus/connection/flush/idle/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_0MHZ52/gdbus/connection/flush/idle/.dirs/runtime 612s ok 2 /gdbus/connection/flush/idle 612s # End of flush tests 612s # End of connection tests 612s # End of gdbus tests 612s TAP version 14 612s # random seed: R02S89430806ba177eb25619b13bb488d4e6 612s 1..3 612s # Start of gvfs tests 612s ok 1 /gvfs/local 612s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 612s ok 2 /gvfs/register-scheme 612s # Start of resource tests 612s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 612s ok - glib/vfs.test 612s # Running test: glib/thread-pool-slow.test 612s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 612s ok 3 /gvfs/resource/malformed-escaping 612s # End of resource tests 612s # End of gvfs tests 612s TAP version 14 612s # random seed: R02S478323180338b0af384cb71677247b75 612s 1..7 612s # Start of threadpool tests 612s ok 1 /threadpool/functions 613s ok 2 /threadpool/stop-unused 613s # slow test /threadpool/stop-unused executed in 0.51 secs 613s ok 3 /threadpool/pools 613s # [unsorted] ===> pushed new thread with id:33, number of threads:1, unprocessed:1 613s # [unsorted] ===> pushed new thread with id:14, number of threads:2, unprocessed:2 613s # [unsorted] ===> pushed new thread with id:26, number of threads:3, unprocessed:3 613s # [unsorted] ===> pushed new thread with id:27, number of threads:4, unprocessed:4 613s # [unsorted] ===> pushed new thread with id:14, number of threads:5, unprocessed:5 613s # [unsorted] ===> pushed new thread with id:94, number of threads:6, unprocessed:6 613s # [unsorted] ===> pushed new thread with id:39, number of threads:7, unprocessed:7 613s # [unsorted] ===> pushed new thread with id:71, number of threads:8, unprocessed:8 613s # [unsorted] ===> pushed new thread with id:86, number of threads:9, unprocessed:2 613s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:3 613s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:4 613s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:5 613s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:6 613s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:7 613s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:8 613s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:9 613s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:10 613s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:11 613s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:9 613s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:10 613s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:11 613s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:12 613s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:13 613s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:14 613s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:15 613s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:16 613s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:17 613s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:18 613s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:19 613s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:20 613s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:21 613s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:22 613s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:23 613s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:24 613s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:25 613s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:26 613s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:27 613s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:28 613s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:29 613s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:30 613s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:31 613s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:32 613s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:33 613s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:34 613s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:35 613s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:36 613s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:37 613s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:38 613s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:39 613s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:40 613s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:41 613s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:42 613s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:43 613s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:44 613s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:45 613s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:46 613s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:47 613s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:48 613s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:49 613s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:50 613s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:51 613s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:52 613s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:53 613s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:54 613s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:55 613s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:56 613s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:57 613s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:58 613s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:59 613s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:60 613s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:61 613s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:62 613s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:63 613s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:64 613s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:65 613s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:66 613s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:67 613s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:68 613s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:69 613s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:70 613s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:71 613s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:72 613s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:73 613s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:74 613s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:75 613s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:76 613s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:77 613s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:78 613s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:79 613s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:80 613s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:81 613s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:82 613s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:83 613s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:84 613s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:85 613s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:86 613s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:87 613s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:88 613s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:89 613s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:90 613s ok 4 /threadpool/no-sort 613s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:1 613s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:2 613s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:3 613s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:4 613s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:5 613s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:6 613s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:7 613s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:8 613s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:9 613s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:10 613s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:11 613s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:12 613s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:13 613s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:14 613s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:15 613s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:16 613s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:17 613s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:18 613s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:19 613s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:20 613s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:21 613s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:22 613s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:23 613s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:24 613s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:25 613s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:26 613s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:27 613s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:28 613s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:29 613s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:30 613s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:31 613s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:32 613s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:33 613s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:34 613s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:35 613s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:36 613s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:37 613s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:38 613s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:39 613s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:40 613s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:41 613s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:42 613s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:43 613s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:44 613s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:45 613s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:46 613s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:47 613s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:48 613s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:49 613s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:50 613s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:51 613s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:52 613s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:53 613s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:54 613s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:55 613s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:56 613s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:57 613s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:58 613s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:59 613s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:60 613s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:61 613s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:62 613s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:63 613s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:64 613s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:65 613s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:66 613s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:67 613s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:68 613s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:69 613s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:70 613s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:71 613s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:72 613s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:73 613s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:74 613s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:75 613s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:76 613s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:77 613s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:78 613s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:79 613s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:80 613s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:81 613s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:82 613s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:83 613s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:84 613s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:85 613s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:86 613s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:87 613s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:88 613s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:89 613s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:90 613s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:91 613s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:92 613s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:93 613s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:94 613s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:95 613s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:96 613s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:97 613s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:98 613s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:99 613s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:100 613s # Starting thread pool processing 613s ok 5 /threadpool/sort 614s ok 6 /threadpool/stop-unused-multiple 614s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 614s # Pool idle thread count: 0, unprocessed jobs: 48 614s # Pool idle thread count: 0, unprocessed jobs: 0 614s # Pool idle thread count: 0, unprocessed jobs: 0 614s # Executing: glib/thread-pool-slow.test 615s # Pool idle thread count: 10, unprocessed jobs: 0 615s # Pool idle thread count: 10, unprocessed jobs: 0 615s # Pool idle thread count: 10, unprocessed jobs: 0 615s # Pool idle thread count: 10, unprocessed jobs: 0 616s # Pool idle thread count: 10, unprocessed jobs: 0 616s # Pool idle thread count: 10, unprocessed jobs: 0 616s # Pool idle thread count: 10, unprocessed jobs: 0 616s # Pool idle thread count: 10, unprocessed jobs: 0 617s # Pool idle thread count: 10, unprocessed jobs: 0 617s # Pool idle thread count: 10, unprocessed jobs: 0 617s # Pool idle thread count: 10, unprocessed jobs: 0 617s # Pool idle thread count: 10, unprocessed jobs: 0 618s # Pool idle thread count: 10, unprocessed jobs: 0 618s # Pool idle thread count: 10, unprocessed jobs: 0 618s # Pool idle thread count: 10, unprocessed jobs: 0 618s # Pool idle thread count: 10, unprocessed jobs: 0 619s # Pool idle thread count: 10, unprocessed jobs: 0 619s # Pool idle thread count: 10, unprocessed jobs: 0 619s # Pool idle thread count: 10, unprocessed jobs: 0 619s # Pool idle thread count: 10, unprocessed jobs: 0 619s # Executing: glib/thread-pool-slow.test 620s # Pool idle thread count: 10, unprocessed jobs: 0 620s # Pool idle thread count: 10, unprocessed jobs: 0 620s # Pool idle thread count: 10, unprocessed jobs: 0 620s # Pool idle thread count: 10, unprocessed jobs: 0 621s # Pool idle thread count: 10, unprocessed jobs: 0 621s # Pool idle thread count: 10, unprocessed jobs: 0 621s # Pool idle thread count: 10, unprocessed jobs: 0 621s # Pool idle thread count: 10, unprocessed jobs: 0 622s # Pool idle thread count: 10, unprocessed jobs: 0 622s # Pool idle thread count: 10, unprocessed jobs: 0 622s # Pool idle thread count: 10, unprocessed jobs: 0 622s # Pool idle thread count: 10, unprocessed jobs: 0 623s # Pool idle thread count: 10, unprocessed jobs: 2 623s # Pool idle thread count: 9, unprocessed jobs: 1 623s # Pool idle thread count: 8, unprocessed jobs: 0 623s # Pool idle thread count: 8, unprocessed jobs: 0 623s # Pool idle thread count: 10, unprocessed jobs: 0 623s # Pool idle thread count: 10, unprocessed jobs: 0 624s # Pool idle thread count: 10, unprocessed jobs: 0 624s # Pool idle thread count: 10, unprocessed jobs: 0 624s # Pool idle thread count: 10, unprocessed jobs: 0 624s # Pool idle thread count: 10, unprocessed jobs: 0 624s # Executing: glib/thread-pool-slow.test 625s # Pool idle thread count: 2, unprocessed jobs: 0 625s # Pool idle thread count: 2, unprocessed jobs: 0 625s # Pool idle thread count: 2, unprocessed jobs: 0 625s # Pool idle thread count: 2, unprocessed jobs: 0 626s # Pool idle thread count: 2, unprocessed jobs: 0 626s # Pool idle thread count: 2, unprocessed jobs: 0 626s # Pool idle thread count: 2, unprocessed jobs: 0 626s # Pool idle thread count: 2, unprocessed jobs: 0 627s # Pool idle thread count: 2, unprocessed jobs: 0 627s # Pool idle thread count: 2, unprocessed jobs: 0 627s # Pool idle thread count: 2, unprocessed jobs: 0 627s # Pool idle thread count: 2, unprocessed jobs: 0 628s # Pool idle thread count: 2, unprocessed jobs: 0 628s # Pool idle thread count: 2, unprocessed jobs: 0 628s # Pool idle thread count: 2, unprocessed jobs: 0 628s # Pool idle thread count: 2, unprocessed jobs: 0 629s # Pool idle thread count: 2, unprocessed jobs: 0 629s # Pool idle thread count: 2, unprocessed jobs: 0 629s # Pool idle thread count: 2, unprocessed jobs: 0 629s # Pool idle thread count: 2, unprocessed jobs: 0 629s # Executing: glib/thread-pool-slow.test 630s # Pool idle thread count: 2, unprocessed jobs: 0 630s # Pool idle thread count: 2, unprocessed jobs: 0 630s # Pool idle thread count: 2, unprocessed jobs: 0 630s # Pool idle thread count: 2, unprocessed jobs: 0 631s # Pool idle thread count: 2, unprocessed jobs: 0 631s # Pool idle thread count: 2, unprocessed jobs: 0 631s # Pool idle thread count: 2, unprocessed jobs: 0 631s # Pool idle thread count: 2, unprocessed jobs: 0 632s # Pool idle thread count: 2, unprocessed jobs: 0 632s # Pool idle thread count: 2, unprocessed jobs: 0 632s # Pool idle thread count: 2, unprocessed jobs: 0 632s # Pool idle thread count: 2, unprocessed jobs: 0 633s # Pool idle thread count: 2, unprocessed jobs: 0 633s # Pool idle thread count: 2, unprocessed jobs: 0 633s ok 7 /threadpool/idle-time 633s # slow test /threadpool/idle-time executed in 19.53 secs 633s # End of threadpool tests 633s ok - glib/thread-pool-slow.test 633s # Running test: glib/properties.test 633s TAP version 14 633s # random seed: R02Sdbc6cf083fbeaf7ed1a073ba1a911b67 633s 1..14 633s # Start of properties tests 633s ok 1 /properties/install 633s ok 2 /properties/install-many 633s ok 3 /properties/notify 633s ok 4 /properties/notify-queue 633s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 633s ok 5 /properties/construct 633s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 633s # Test g_object_get_property with an initialized value 633s # Test g_object_get_property with an uninitialized value 633s # Test g_object_get_property with a transformable value 633s ok 6 /properties/get-property 633s ok 7 /properties/testv_with_no_properties 633s ok 8 /properties/testv_with_valid_properties 633s ok 9 /properties/testv_with_invalid_property_type 633s ok 10 /properties/testv_with_invalid_property_names 633s ok 11 /properties/testv_getv 633s ok 12 /properties/testv_notify_queue 633s # Start of notify tests 633s ok - glib/properties.test 633s # Running test: glib/basic-signals.test 633s ok - glib/basic-signals.test 633s # Running test: glib/portal-support-env-var.test 633s ok - glib/portal-support-env-var.test 633s # Running test: glib/properties-introspection.test 633s ok - glib/properties-introspection.test 633s # Running test: glib/notify-init.test 633s ok - glib/notify-init.test 633s # Running test: glib/environment.test 633s ok - glib/environment.test 633s # Running test: glib/signals-refcount4.test 633s ok 13 /properties/notify/too-many-freezes 633s # End of notify tests 633s # Start of set-property tests 633s # Start of variant tests 633s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 633s ok 14 /properties/set-property/variant/floating 633s # End of variant tests 633s # End of set-property tests 633s # End of properties tests 633s TAP version 14 633s # random seed: R02S5185a62b42f5ce6dd0c1cac8e0f0a6bd 633s 1..1 633s # Start of gobject tests 633s ok 1 /gobject/basic-signals 633s # End of gobject tests 633s TAP version 14 633s # random seed: R02Sc42cc2f794329ffa18dd25650c39f7c4 633s 1..1 633s # Start of portal-support tests 633s ok 1 /portal-support/env-var 633s # End of portal-support tests 633s TAP version 14 633s # random seed: R02Sd10f938ab2a01ef8d31fe1f316d423ed 633s 1..2 633s # Start of properties tests 633s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 633s ok 1 /properties/introspection 633s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 633s ok 2 /properties/collision 633s # End of properties tests 633s TAP version 14 633s # random seed: R02S3ff50e2a46ce18d7d3b30caf3c8ca2bc 633s 1..1 633s # Start of properties tests 633s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 633s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 633s ok 1 /properties/notify-in-init 633s # End of properties tests 633s TAP version 14 633s # random seed: R02Sfdac0aa8de2ec0245a25b90a69efaa58 633s 1..6 633s # Start of environ tests 633s # /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. 633s ok 1 /environ/listenv 633s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 633s ok 2 /environ/getenv 633s ok 3 /environ/setenv 633s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 633s ok 4 /environ/array 633s # /environ/null summary: Test getting and setting variables on a NULL envp array. 633s ok 5 /environ/null 633s # /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. 633s ok 6 /environ/case 633s # End of environ tests 633s TAP version 14 633s # random seed: R02S39a3201e7cf19fa6ea2813c7f0c77d84 633s 1..1 633s # Start of gobject tests 633s # Start of refcount tests 633s # init 0x5ca3c8505dd0 633s # 633s # init 0x5ca3c8502310 633s # 634s # Executing: glib/signals-refcount4.test 638s # dispose 0x5ca3c8505dd0! 638s # 638s # dispose 0x5ca3c8502310! 638s # 638s ok 1 /gobject/refcount/signals 638s # slow test /gobject/refcount/signals executed in 5.00 secs 638s # End of refcount tests 638s # End of gobject tests 638s ok - glib/signals-refcount4.test 638s # Running test: glib/network-monitor-race.test 638s TAP version 14 638s # random seed: R02S0e11edc91e029b474e7d1dbd15259664 638s 1..1 638s # Start of network-monitor tests 638s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 639s # Executing: glib/network-monitor-race.test 640s ok 1 /network-monitor/create-in-thread 640s # slow test /network-monitor/create-in-thread executed in 2.16 secs 640s # End of network-monitor tests 640s ok - glib/network-monitor-race.test 640s # Running test: glib/convert.test 640s TAP version 14 640s # random seed: R02S614705e0068eb854d0989ec3c31753b0 640s 1..14 640s # Start of conversion tests 640s ok 1 /conversion/no-conv 640s ok 2 /conversion/iconv-state 640s ok 3 /conversion/illegal-sequence 640s ok - glib/convert.test 640s # Running test: glib/ifaceproperties.test 640s ok - glib/ifaceproperties.test 640s # Running test: glib/gdbus-error.test 640s ok - glib/gdbus-error.test 640s # Running test: glib/gsubprocess.test 640s ok 4 /conversion/byte-order 640s ok 5 /conversion/unicode 640s ok 6 /conversion/filename-utf8 640s ok 7 /conversion/filename-display 640s ok 8 /conversion/convert-embedded-nul 640s # Start of locale-to-utf8 tests 640s ok 9 /conversion/locale-to-utf8/embedded-nul 640s # Start of embedded-nul tests 640s # Start of subprocess tests 640s # End of subprocess tests 640s # End of embedded-nul tests 640s # End of locale-to-utf8 tests 640s # Start of locale-from-utf8 tests 640s ok 10 /conversion/locale-from-utf8/embedded-nul 640s # Start of embedded-nul tests 640s # Start of subprocess tests 640s # End of subprocess tests 640s # End of embedded-nul tests 640s # End of locale-from-utf8 tests 640s # Start of filename-to-utf8 tests 640s ok 11 /conversion/filename-to-utf8/embedded-nul 640s # Start of embedded-nul tests 640s # Start of subprocess tests 640s # End of subprocess tests 640s # End of embedded-nul tests 640s # End of filename-to-utf8 tests 640s # Start of filename-from-utf8 tests 640s ok 12 /conversion/filename-from-utf8/embedded-nul 640s # Start of embedded-nul tests 640s # Start of subprocess tests 640s # End of subprocess tests 640s # End of embedded-nul tests 640s # End of filename-from-utf8 tests 640s # Start of filename-from-uri tests 640s ok 13 /conversion/filename-from-uri/query-is-ignored 640s ok 14 /conversion/filename-from-uri/fragment-is-ignored 640s # End of filename-from-uri tests 640s # End of conversion tests 640s TAP version 14 640s # random seed: R02Sbf1c5e566dd4a6eeff71be1521b74f43 640s 1..7 640s # Start of interface tests 640s # Start of properties tests 640s ok 1 /interface/properties/set 640s ok 2 /interface/properties/notify 640s ok 3 /interface/properties/find-overridden 640s ok 4 /interface/properties/list-overridden 640s ok 5 /interface/properties/find-interface 640s ok 6 /interface/properties/list-interface 640s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 640s ok 7 /interface/properties/not-overridden 640s # End of properties tests 640s # End of interface tests 640s TAP version 14 640s # random seed: R02S2ec30ec9c496c98c327ef74c2377da88 640s 1..4 640s # Start of gdbus tests 640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_6FAT52/gdbus/registered-errors/.dirs/home 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_6FAT52/gdbus/registered-errors/.dirs/cache 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_6FAT52/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_6FAT52/gdbus/registered-errors/.dirs/system-config2 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_6FAT52/gdbus/registered-errors/.dirs/config 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_6FAT52/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_6FAT52/gdbus/registered-errors/.dirs/system-data2 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_6FAT52/gdbus/registered-errors/.dirs/data 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_6FAT52/gdbus/registered-errors/.dirs/state 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_6FAT52/gdbus/registered-errors/.dirs/runtime 640s ok 1 /gdbus/registered-errors 640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_6FAT52/gdbus/unregistered-errors/.dirs/home 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_6FAT52/gdbus/unregistered-errors/.dirs/cache 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_6FAT52/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_6FAT52/gdbus/unregistered-errors/.dirs/system-config2 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_6FAT52/gdbus/unregistered-errors/.dirs/config 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_6FAT52/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_6FAT52/gdbus/unregistered-errors/.dirs/system-data2 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_6FAT52/gdbus/unregistered-errors/.dirs/data 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_6FAT52/gdbus/unregistered-errors/.dirs/state 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_6FAT52/gdbus/unregistered-errors/.dirs/runtime 640s ok 2 /gdbus/unregistered-errors 640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_6FAT52/gdbus/transparent-gerror/.dirs/home 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_6FAT52/gdbus/transparent-gerror/.dirs/cache 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_6FAT52/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_6FAT52/gdbus/transparent-gerror/.dirs/system-config2 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_6FAT52/gdbus/transparent-gerror/.dirs/config 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_6FAT52/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_6FAT52/gdbus/transparent-gerror/.dirs/system-data2 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_6FAT52/gdbus/transparent-gerror/.dirs/data 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_6FAT52/gdbus/transparent-gerror/.dirs/state 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_6FAT52/gdbus/transparent-gerror/.dirs/runtime 640s ok 3 /gdbus/transparent-gerror 640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_6FAT52/gdbus/register-error/.dirs/home 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_6FAT52/gdbus/register-error/.dirs/cache 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_6FAT52/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_6FAT52/gdbus/register-error/.dirs/system-config2 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_6FAT52/gdbus/register-error/.dirs/config 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_6FAT52/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_6FAT52/gdbus/register-error/.dirs/system-data2 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_6FAT52/gdbus/register-error/.dirs/data 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_6FAT52/gdbus/register-error/.dirs/state 640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_6FAT52/gdbus/register-error/.dirs/runtime 640s ok 4 /gdbus/register-error 640s # End of gdbus tests 640s TAP version 14 640s # random seed: R02Sb239e8a15c161fe9ada8dcaf2ab7f1ec 640s 1..84 640s # Start of gsubprocess tests 640s ok 1 /gsubprocess/noop 640s ok 2 /gsubprocess/noop-all-to-null 640s ok 3 /gsubprocess/noop-no-wait 640s ok 4 /gsubprocess/noop-stdin-inherit 640s ok 5 /gsubprocess/search-path 640s ok 6 /gsubprocess/search-path-from-envp 643s ok 7 /gsubprocess/signal 643s # slow test /gsubprocess/signal executed in 2.92 secs 643s ok 8 /gsubprocess/exit1 643s ok 9 /gsubprocess/echo1 643s ok 10 /gsubprocess/echo-merged 643s ok 11 /gsubprocess/cat-utf8 644s # Executing: glib/gsubprocess.test 644s ok 12 /gsubprocess/cat-eof 644s # slow test /gsubprocess/cat-eof executed in 1.00 secs 647s ok 13 /gsubprocess/multi1 647s # slow test /gsubprocess/multi1 executed in 3.01 secs 647s ok 14 /gsubprocess/communicate 649s # Executing: glib/gsubprocess.test 650s ok 15 /gsubprocess/terminate 650s # slow test /gsubprocess/terminate executed in 2.97 secs 650s ok 16 /gsubprocess/fail-initialization 650s ok 17 /gsubprocess/env 650s ok 18 /gsubprocess/cwd 650s ok 19 /gsubprocess/launcher-close 650s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 650s ok 20 /gsubprocess/stdout-file 650s ok 21 /gsubprocess/stdout-fd 650s ok 22 /gsubprocess/child-setup 650s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 650s ok 23 /gsubprocess/launcher-environment 650s # Start of exit1 tests 650s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 650s ok 24 /gsubprocess/exit1/cancel 650s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 650s ok 25 /gsubprocess/exit1/cancel_in_cb 650s # End of exit1 tests 650s # Start of communicate tests 650s ok 26 /gsubprocess/communicate/cancelled 650s ok 27 /gsubprocess/communicate/async 650s ok 28 /gsubprocess/communicate/utf8 650s # hello world 650s ok 29 /gsubprocess/communicate/no-pipes 650s ok 30 /gsubprocess/communicate/separate-stderr 650s ok 31 /gsubprocess/communicate/stdout-only 650s # hello world 650s ok 32 /gsubprocess/communicate/stderr-only 650s ok 33 /gsubprocess/communicate/stdout-silence 650s ok 34 /gsubprocess/communicate/nothing 650s # Start of async tests 650s ok 35 /gsubprocess/communicate/async/cancelled 650s # hello world 650s ok 36 /gsubprocess/communicate/async/no-pipes 650s ok 37 /gsubprocess/communicate/async/separate-stderr 650s ok 38 /gsubprocess/communicate/async/stdout-only 650s # hello world 650s ok 39 /gsubprocess/communicate/async/stderr-only 650s ok 40 /gsubprocess/communicate/async/stdout-silence 650s # Start of cancelled tests 650s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes 650s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr 650s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only 650s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only 650s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence 650s # End of cancelled tests 650s # End of async tests 650s # Start of utf8 tests 650s ok 46 /gsubprocess/communicate/utf8/cancelled 650s ok 47 /gsubprocess/communicate/utf8/async 650s # hello world 650s ok 48 /gsubprocess/communicate/utf8/no-pipes 650s ok 49 /gsubprocess/communicate/utf8/separate-stderr 650s ok 50 /gsubprocess/communicate/utf8/stdout-only 650s # hello world 650s ok 51 /gsubprocess/communicate/utf8/stderr-only 650s ok 52 /gsubprocess/communicate/utf8/stdout-silence 650s ok 53 /gsubprocess/communicate/utf8/invalid 650s # Start of async tests 650s ok 54 /gsubprocess/communicate/utf8/async/cancelled 650s # hello world 650s ok 55 /gsubprocess/communicate/utf8/async/no-pipes 650s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr 650s ok 57 /gsubprocess/communicate/utf8/async/stdout-only 650s # hello world 650s ok 58 /gsubprocess/communicate/utf8/async/stderr-only 650s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence 650s ok 60 /gsubprocess/communicate/utf8/async/invalid 650s # Start of cancelled tests 650s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 650s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 650s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 650s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 650s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 650s # End of cancelled tests 650s # End of async tests 650s # Start of cancelled tests 650s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes 650s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr 650s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only 650s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only 650s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence 650s # End of cancelled tests 650s # End of utf8 tests 650s # Start of cancelled tests 650s ok 71 /gsubprocess/communicate/cancelled/no-pipes 650s ok 72 /gsubprocess/communicate/cancelled/separate-stderr 650s ok 73 /gsubprocess/communicate/cancelled/stdout-only 650s ok 74 /gsubprocess/communicate/cancelled/stderr-only 650s ok 75 /gsubprocess/communicate/cancelled/stdout-silence 650s # End of cancelled tests 650s # End of communicate tests 650s # Start of env tests 650s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 650s ok 76 /gsubprocess/env/inherit 650s # End of env tests 650s # Start of pass-fd tests 650s ok 77 /gsubprocess/pass-fd/basic 650s ok 78 /gsubprocess/pass-fd/empty-child-setup 650s ok 79 /gsubprocess/pass-fd/inherit-fds 650s # End of pass-fd tests 650s # Start of fd-conflation tests 650s ok 80 /gsubprocess/fd-conflation/basic 650s ok 81 /gsubprocess/fd-conflation/empty-child-setup 650s ok 82 /gsubprocess/fd-conflation/inherit-fds 650s ok 83 /gsubprocess/fd-conflation/child-err-report-fd 650s # End of fd-conflation tests 650s # Start of exit-status tests 650s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 650s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 650s ok 84 /gsubprocess/exit-status/trapped 650s # End of exit-status tests 650s # End of gsubprocess tests 650s ok - glib/gsubprocess.test 650s # Running test: glib/g-file.test 650s TAP version 14 650s # random seed: R02S299025e2bdf3be969ba09ae0113f7a99 650s 1..8 650s # Start of g-file tests 650s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 650s ok 1 /g-file/test_g_file_new_null 650s ok 2 /g-file/test_g_file_new_for_path 650s ok 3 /g-file/test_g_file_new_for_uri 650s ok 4 /g-file/test_g_file_dup 650s ok 5 /g-file/test_g_file_get_parse_name_utf8 650s file:///tmp/test-tmp-glib_g-file.test-XMGW52 650s file:///tmp 650s ok - glib/g-file.test 650s file:///tmp 650s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 650s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 650s ok 6 /g-file/test_g_file_new_for_commandline_arg 650s /dir1 /dir1/dir2/dir3/ 650s /dir1/ /dir1/dir2/dir3/ 650s /dir1 /dir1/dir2/dir3 650s /dir1/ /dir1/dir2/dir3 650s /tmp/ /something/ 650s /dir1/dir2 /dir1/ 650s //dir1/new //dir1/new/dir2/dir3 650s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 650s file:///dir1 file:///dir1/dir2/dir3/ 650s file:///dir1/ file:///dir1/dir2/dir3/ 650s file:///dir1 file:///dir1/dir2/dir3 650s file:///dir1/ file:///dir1/dir2/dir3 650s file:///tmp/ file:///something/ 650s file:///dir1/dir2 file:///dir1/ 650s file:////dir1/new file:////dir1/new/dir2/dir3 650s 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 650s ok 7 /g-file/test_g_file_has_prefix 650s ok 8 /g-file/test_g_file_get_parent_child 650s # End of g-file tests 650s # Running test: glib/collate.test 650s TAP version 14 650s # random seed: R02Sac04d89d5b50afd6a7f82930a6132738 650s 1..9 650s # Start of unicode tests 650s # Start of collate tests 650s ok 1 /unicode/collate/0 650s ok 2 /unicode/collate/1 650s ok 3 /unicode/collate/2 650s # End of collate tests 650s # Start of collate-key tests 650s ok 4 /unicode/collate-key/0 650s ok 5 /unicode/collate-key/1 650s ok 6 /unicode/collate-key/2 650s # End of collate-key tests 650s # Start of collate-filename tests 650s ok 7 /unicode/collate-filename/0 650s ok 8 /unicode/collate-filename/1 650s ok 9 /unicode/collate-filename/2 650s # End of collate-filename tests 650s # End of unicode tests 650s ok - glib/collate.test 650s # Running test: glib/markup-parse.test 650s TAP version 14 650s # random seed: R02Saafd86ca89c81fcef36207cc8c3ba705 650s 1..71 650s # Start of markup tests 650s # Start of parse tests 650s ok 1 /markup/parse/fail-20.gmarkup 650s ok 2 /markup/parse/fail-33.gmarkup 650s ok 3 /markup/parse/fail-31.gmarkup 650s ok 4 /markup/parse/fail-3.gmarkup 650s ok 5 /markup/parse/fail-29.gmarkup 650s ok 6 /markup/parse/fail-50.gmarkup 650s ok 7 /markup/parse/valid-8.gmarkup 650s ok 8 /markup/parse/fail-53.gmarkup 650s ok 9 /markup/parse/fail-7.gmarkup 650s ok 10 /markup/parse/fail-13.gmarkup 650s ok 11 /markup/parse/fail-46.gmarkup 650s ok 12 /markup/parse/valid-7.gmarkup 650s ok 13 /markup/parse/valid-12.gmarkup 650s ok 14 /markup/parse/fail-35.gmarkup 650s ok 15 /markup/parse/fail-40.gmarkup 650s ok 16 /markup/parse/fail-32.gmarkup 650s ok 17 /markup/parse/valid-11.gmarkup 650s ok 18 /markup/parse/fail-22.gmarkup 650s ok 19 /markup/parse/valid-4.gmarkup 650s ok 20 /markup/parse/fail-48.gmarkup 650s ok 21 /markup/parse/fail-25.gmarkup 650s ok 22 /markup/parse/fail-30.gmarkup 650s ok 23 /markup/parse/fail-51.gmarkup 650s ok 24 /markup/parse/fail-4.gmarkup 650s ok 25 /markup/parse/fail-44.gmarkup 650s ok 26 /markup/parse/fail-42.gmarkup 650s ok 27 /markup/parse/fail-23.gmarkup 650s ok 28 /markup/parse/fail-21.gmarkup 650s ok 29 /markup/parse/fail-24.gmarkup 650s ok 30 /markup/parse/fail-19.gmarkup 650s ok 31 /markup/parse/fail-15.gmarkup 650s ok 32 /markup/parse/fail-16.gmarkup 650s ok 33 /markup/parse/fail-54.gmarkup 650s ok 34 /markup/parse/fail-17.gmarkup 650s ok 35 /markup/parse/fail-49.gmarkup 650s ok 36 /markup/parse/valid-10.gmarkup 650s ok 37 /markup/parse/fail-28.gmarkup 650s ok 38 /markup/parse/valid-14.gmarkup 650s ok 39 /markup/parse/fail-52.gmarkup 650s ok 40 /markup/parse/fail-2.gmarkup 650s ok 41 /markup/parse/fail-34.gmarkup 650s ok 42 /markup/parse/fail-9.gmarkup 650s ok 43 /markup/parse/fail-1.gmarkup 650s ok 44 /markup/parse/valid-9.gmarkup 650s ok - glib/markup-parse.test 650s ok 45 /markup/parse/fail-18.gmarkup 650s ok 46 /markup/parse/fail-27.gmarkup 650s ok 47 /markup/parse/fail-36.gmarkup 650s ok 48 /markup/parse/fail-5.gmarkup 650s ok 49 /markup/parse/fail-11.gmarkup 650s ok 50 /markup/parse/valid-1.gmarkup 650s ok 51 /markup/parse/fail-39.gmarkup 650s ok 52 /markup/parse/fail-12.gmarkup 650s ok 53 /markup/parse/valid-6.gmarkup 650s ok 54 /markup/parse/fail-37.gmarkup 650s ok 55 /markup/parse/fail-43.gmarkup 650s ok 56 /markup/parse/fail-45.gmarkup 650s ok 57 /markup/parse/valid-5.gmarkup 650s ok 58 /markup/parse/valid-15.gmarkup 650s ok 59 /markup/parse/valid-16.gmarkup 650s ok 60 /markup/parse/fail-26.gmarkup 650s ok 61 /markup/parse/fail-47.gmarkup 650s ok 62 /markup/parse/fail-38.gmarkup 650s ok 63 /markup/parse/valid-2.gmarkup 650s ok 64 /markup/parse/fail-8.gmarkup 650s ok 65 /markup/parse/valid-3.gmarkup 650s ok 66 /markup/parse/fail-10.gmarkup 650s ok 67 /markup/parse/valid-13.gmarkup 650s ok 68 /markup/parse/fail-6.gmarkup 650s ok 69 /markup/parse/fail-41.gmarkup 650s ok 70 /markup/parse/fail-14.gmarkup 650s ok 71 /markup/parse/valid-17.gmarkup 650s # End of parse tests 650s # End of markup tests 650s # Running test: glib/atomic.test 651s TAP version 14 651s # random seed: R02Se7fdef3dd50c88f7bddace52a79e647b 651s 1..2 651s # Start of atomic tests 651s ok 1 /atomic/types 651s ok 2 /atomic/threaded 651s # End of atomic tests 651s ok - glib/atomic.test 651s # Running test: glib/utils-c-17.test 651s TAP version 14 651s # random seed: R02S4a4811d1543ffa5923e5d3aef45be924 651s 1..41 651s # Start of utils tests 651s ok 1 /utils/language-names 651s ok 2 /utils/locale-variants 651s ok 3 /utils/version 651s ok 4 /utils/appname 651s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 651s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 651s ok 5 /utils/prgname-thread-safety 651s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 651s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 651s ok 6 /utils/tmpdir 651s ok 7 /utils/basic_bits 651s ok 8 /utils/bits 651s ok 9 /utils/swap 651s ok 10 /utils/find-program 651s ok 11 /utils/find-program-for-path 651s ok 12 /utils/debug 651s ok 13 /utils/codeset 651s ok 14 /utils/codeset2 651s ok 15 /utils/console-charset 651s ok 16 /utils/gettext 651s ok 17 /utils/username 651s ok 18 /utils/realname 651s ok 19 /utils/hostname 651s ok 20 /utils/xdgdirs 651s ok 21 /utils/specialdir 651s # NAME: Ubuntu 651s ok 22 /utils/os-info 651s ok 23 /utils/clear-pointer 651s ok 24 /utils/clear-pointer-cast 651s ok 25 /utils/take-pointer 651s ok 26 /utils/clear-source 651s ok 27 /utils/misc-mem 651s # /utils/aligned-mem summary: Aligned memory allocator 651s # Alignment must not be zero 651s # Alignment must be a power of two 651s # Alignment must be a multiple of sizeof(void*) 651s ok 28 /utils/aligned-mem 651s # /utils/free-sized summary: Check that g_free_sized() works 651s ok 29 /utils/free-sized 651s ok 30 /utils/nullify 651s ok 31 /utils/atexit 651s ok 32 /utils/check-setuid 651s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 651s ok 33 /utils/int-limits 651s ok 34 /utils/clear-list 651s ok 35 /utils/clear-slist 651s ok 36 /utils/steal-handle-id 651s # Start of specialdir tests 651s ok 37 /utils/specialdir/desktop 651s # End of specialdir tests 651s # Start of clear-pointer tests 651s ok 38 /utils/clear-pointer/side-effects 651s # End of clear-pointer tests 651s # Start of aligned-mem tests 651s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 651s ok 39 /utils/aligned-mem/alignment 651s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 651s ok 40 /utils/aligned-mem/zeroed 651s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 651s ok 41 /utils/aligned-mem/free-sized 651s # Start of subprocess tests 651s # End of subprocess tests 651s # End of aligned-mem tests 651s # End of utils tests 651s ok - glib/utils-c-17.test 651s # Running test: glib/actions.test 651s TAP version 14 651s # random seed: R02Sd4c382a5de1808e06e6c4dabba745f8a 651s 1..13 651s # Start of actions tests 651s ok 1 /actions/basic 651s ok 2 /actions/name 651s ok 3 /actions/simplegroup 651s ok 4 /actions/stateful 651s ok 5 /actions/default-activate 651s ok 6 /actions/entries 651s ok 7 /actions/parse-detailed 651s ok 8 /actions/property 651s ok 9 /actions/no-properties 651s # Start of dbus tests 651s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 651s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 651s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 651s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 651s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 651s ok 10 /actions/dbus/export 651s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 651s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 651s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 651s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 651s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 651s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s ok 11 /actions/dbus/threaded 652s # slow test /actions/dbus/threaded executed in 1.23 secs 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s ok 12 /actions/dbus/bug679509 652s # Start of export tests 652s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 652s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 652s ok 13 /actions/dbus/export/error-handling 652s # End of export tests 652s # End of dbus tests 652s # End of actions tests 652s ok - glib/actions.test 652s # Running test: glib/macros-c-17.test 652s TAP version 14 652s # random seed: R02S24f5c5d35dbce26a7ea9e954111496ed 652s 1..4 652s # Start of C tests 652s ok 1 /C/standard-17 652s # End of C tests 652s # Start of alignof tests 652s ok 2 /alignof/fallback 652s # End of alignof tests 652s # Start of assert tests 652s ok 3 /assert/static 652s # End of assert tests 652s # Start of struct tests 652s ok 4 /struct/sizeof_member 652s # End of struct tests 652s ok - glib/macros-c-17.test 652s # Running test: glib/trash.test 652s ok - glib/trash.test 652s # Running test: glib/gdbus-server-auth.test 652s TAP version 14 652s # random seed: R02S6f23c1ef293616029d1b8da36a41d4cb 652s 1..3 652s # Start of trash tests 652s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 652s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 652s # File: /tmp/test-trashSZX952 (parent st_dev: 64769) 652s # Home: /home/ubuntu (st_dev: 64769) 652s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 652s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 652s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 652s ok 3 /trash/long-filename 652s # End of trash tests 652s TAP version 14 652s # random seed: R02Sb07ba5d12353507c6d2d8a635ddaa496 652s 1..9 652s # Start of gdbus tests 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/.dirs/runtime 652s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_NB5952/gdbus-server-auth-6J2952 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 652s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_NB5952/gdbus-server-auth-6J2952/dbus-tQS5jfue 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5154 652s ok 1 /gdbus/server-auth 652s # Start of server-auth tests 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/abstract/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/abstract/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/abstract/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/abstract/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/abstract/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/abstract/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/abstract/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/abstract/.dirs/runtime 652s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_NB5952/gdbus-server-auth-9CS952 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 652s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_NB5952/gdbus-server-auth-9CS952/dbus-Y5kJpKXC 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5154 652s ok 2 /gdbus/server-auth/abstract 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/tcp/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/tcp/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/tcp/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/tcp/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/tcp/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/tcp/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/tcp/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/tcp/.dirs/runtime 652s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 652s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/anonymous/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/anonymous/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/anonymous/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/anonymous/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/anonymous/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/anonymous/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/anonymous/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/anonymous/.dirs/runtime 652s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_NB5952/gdbus-server-auth-MKYT52 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 652s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_NB5952/gdbus-server-auth-MKYT52/dbus-KEjRtbFp 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5154 652s ok 4 /gdbus/server-auth/anonymous 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/external/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/external/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/external/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/external/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/external/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/external/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/external/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/external/.dirs/runtime 652s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_NB5952/gdbus-server-auth-62EU52 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 652s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_NB5952/gdbus-server-auth-62EU52/dbus-Cub5dkRv 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5154 652s ok 5 /gdbus/server-auth/external 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/sha1/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/sha1/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/sha1/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/sha1/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/sha1/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/sha1/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/sha1/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/sha1/.dirs/runtime 652s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_NB5952/gdbus-server-auth-O35T52 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 652s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 652s # Start of anonymous tests 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/anonymous/tcp/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/anonymous/tcp/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/anonymous/tcp/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/anonymous/tcp/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/anonymous/tcp/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/anonymous/tcp/.dirs/runtime 652s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 652s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 652s # End of anonymous tests 652s # Start of external tests 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/external/require-same-user/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/external/require-same-user/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/external/require-same-user/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/external/require-same-user/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/external/require-same-user/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/external/require-same-user/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/external/require-same-user/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/external/require-same-user/.dirs/runtime 652s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_NB5952/gdbus-server-auth-EL3T52 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 652s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_NB5952/gdbus-server-auth-EL3T52/dbus-i8KIc30l 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s ok - glib/gdbus-server-auth.test 652s # Running test: glib/642026-ec.test 652s ok - glib/642026-ec.test 652s # Running test: glib/asyncqueue.test 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5154 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5154,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5154 652s ok 8 /gdbus/server-auth/external/require-same-user 652s # End of external tests 652s # Start of sha1 tests 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/sha1/tcp/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/sha1/tcp/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/sha1/tcp/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/sha1/tcp/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/sha1/tcp/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/sha1/tcp/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/sha1/tcp/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_NB5952/gdbus/server-auth/sha1/tcp/.dirs/runtime 652s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 652s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 652s # End of sha1 tests 652s # End of server-auth tests 652s # End of gdbus tests 652s TAP version 14 652s # random seed: R02Sd65f22dc76cddd8bcf1617e54f022dc2 652s 1..1 652s # Start of glib tests 652s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 652s ok 1 /glib/642026 652s # End of glib tests 652s TAP version 14 652s # random seed: R02S3f538ecdd1e8f8c389b839939a4c038b 652s 1..7 652s # Start of asyncqueue tests 652s ok 1 /asyncqueue/basics 652s ok 2 /asyncqueue/sort 652s ok 3 /asyncqueue/destroy 652s ok 4 /asyncqueue/threads 653s ok 5 /asyncqueue/timed 653s ok 6 /asyncqueue/remove 653s ok 7 /asyncqueue/push_front 653s # End of asyncqueue tests 653s ok - glib/asyncqueue.test 653s # Running test: glib/mappedfile.test 653s TAP version 14 653s # random seed: R02S9971e6f2be9880afc76a0d332403e40a 653s 1..7 653s # Start of mappedfile tests 653s ok 1 /mappedfile/basic 653s ok 2 /mappedfile/empty 653s ok 3 /mappedfile/device 653s ok 4 /mappedfile/nonexisting 653s ok 5 /mappedfile/writable 653s ok 6 /mappedfile/writable_fd 653s ok 7 /mappedfile/gbytes 653s # End of mappedfile tests 653s ok - glib/mappedfile.test 653s # Running test: glib/cxx-17.test 653s TAP version 14 653s # random seed: R02S5e85692238412a854c7125fa16df979c 653s 1..2 653s # Start of gtask tests 653s # 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. 653s ok 1 /gtask/name 653s # Start of name tests 653s # 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. 653s ok 2 /gtask/name/macro-wrapper 653s # End of name tests 653s # End of gtask tests 653s ok - glib/cxx-17.test 653s # Running test: glib/win32-appinfo.test 653s TAP version 14 653s # random seed: R02S2309cabb807eec2f72c6f983c5691338 653s 1..5 653s # Start of appinfo tests 653s ok 1 /appinfo/utf16-strfuncs 653s ok 2 /appinfo/win32-extract-executable 653s ok 3 /appinfo/win32-rundll32-fixup 653s ok 4 /appinfo/win32-parse-filename 653s ok 5 /appinfo/win32-utf16-conversion-fail 653s # Start of subprocess tests 653s # End of subprocess tests 653s # End of appinfo tests 653s ok - glib/win32-appinfo.test 653s # Running test: glib/fileutils.test 653s TAP version 14 653s # random seed: R02Sf757acb2f09c130f0044f15067b6ce2f 653s 1..27 653s # Start of fileutils tests 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/paths/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/paths/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/paths/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/paths/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/paths/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/paths/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/paths/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/paths/.dirs/runtime 653s ok 1 /fileutils/paths 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/build-path/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/build-path/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/build-path/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/build-path/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/build-path/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/build-path/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/build-path/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/build-path/.dirs/runtime 653s ok 2 /fileutils/build-path 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/build-pathv/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/build-pathv/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/build-pathv/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/build-pathv/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/build-pathv/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/build-pathv/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/build-pathv/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/build-pathv/.dirs/runtime 653s ok 3 /fileutils/build-pathv 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/build-filename/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/build-filename/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/build-filename/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/build-filename/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/build-filename/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/build-filename/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/build-filename/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/build-filename/.dirs/runtime 653s ok 4 /fileutils/build-filename 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/build-filenamev/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/build-filenamev/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/build-filenamev/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/build-filenamev/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/build-filenamev/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/build-filenamev/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/build-filenamev/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/build-filenamev/.dirs/runtime 653s ok 5 /fileutils/build-filenamev 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/mkdir-with-parents/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/mkdir-with-parents/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/mkdir-with-parents/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/mkdir-with-parents/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/mkdir-with-parents/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/mkdir-with-parents/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/mkdir-with-parents/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/mkdir-with-parents/.dirs/runtime 653s # We do not have CAP_DAC_OVERRIDE or equivalent 653s # Checking g_mkdir_with_parents() in subdir ./hum/ 653s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/ 653s ok 6 /fileutils/mkdir-with-parents 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/mkdir-with-parents-permission/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/mkdir-with-parents-permission/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/mkdir-with-parents-permission/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/mkdir-with-parents-permission/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/mkdir-with-parents-permission/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/mkdir-with-parents-permission/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/mkdir-with-parents-permission/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/mkdir-with-parents-permission/.dirs/runtime 653s # We do not have CAP_DAC_OVERRIDE or equivalent 653s ok 7 /fileutils/mkdir-with-parents-permission 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/format-size-for-display/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/format-size-for-display/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/format-size-for-display/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/format-size-for-display/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/format-size-for-display/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/format-size-for-display/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/format-size-for-display/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/format-size-for-display/.dirs/runtime 653s ok 8 /fileutils/format-size-for-display 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/errors/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/errors/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/errors/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/errors/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/errors/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/errors/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/errors/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/errors/.dirs/runtime 653s ok 9 /fileutils/errors 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/basename/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/basename/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/basename/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/basename/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/basename/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/basename/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/basename/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/basename/.dirs/runtime 653s ok 10 /fileutils/basename 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/get-basename/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/get-basename/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/get-basename/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/get-basename/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/get-basename/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/get-basename/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/get-basename/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/get-basename/.dirs/runtime 653s ok 11 /fileutils/get-basename 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/dirname/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/dirname/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/dirname/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/dirname/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/dirname/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/dirname/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/dirname/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/dirname/.dirs/runtime 653s ok 12 /fileutils/dirname 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/dir-make-tmp/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/dir-make-tmp/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/dir-make-tmp/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/dir-make-tmp/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/dir-make-tmp/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/dir-make-tmp/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/dir-make-tmp/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/dir-make-tmp/.dirs/runtime 653s ok 13 /fileutils/dir-make-tmp 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/file-open-tmp/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/file-open-tmp/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/file-open-tmp/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/file-open-tmp/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/file-open-tmp/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/file-open-tmp/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/file-open-tmp/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/file-open-tmp/.dirs/runtime 653s ok 14 /fileutils/file-open-tmp 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/file-test/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/file-test/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/file-test/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/file-test/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/file-test/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/file-test/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/file-test/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/file-test/.dirs/runtime 653s ok 15 /fileutils/file-test 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/mkstemp/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/mkstemp/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/mkstemp/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/mkstemp/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/mkstemp/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/mkstemp/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/mkstemp/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/mkstemp/.dirs/runtime 653s ok 16 /fileutils/mkstemp 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/mkdtemp/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/mkdtemp/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/mkdtemp/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/mkdtemp/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/mkdtemp/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/mkdtemp/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/mkdtemp/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/mkdtemp/.dirs/runtime 653s ok 17 /fileutils/mkdtemp 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/get-contents/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/get-contents/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/get-contents/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/get-contents/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/get-contents/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/get-contents/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/get-contents/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/get-contents/.dirs/runtime 653s ok 18 /fileutils/get-contents 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/get-contents-large-file/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/get-contents-large-file/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/get-contents-large-file/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/get-contents-large-file/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/get-contents-large-file/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/get-contents-large-file/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/get-contents-large-file/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/get-contents-large-file/.dirs/runtime 653s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/set-contents/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/set-contents/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/set-contents/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/set-contents/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/set-contents/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/set-contents/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/set-contents/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/set-contents/.dirs/runtime 653s ok 20 /fileutils/set-contents 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/set-contents-full/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/set-contents-full/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/.dirs/runtime 653s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 653s # Flags 0 and test 0 653s # Flags 0 and test 1 653s # Flags 0 and test 2 653s # Flags 0 and test 3 653s # Flags 0 and test 4 653s # Flags 0 and test 5 653s # Flags 1 and test 0 653s # Flags 1 and test 1 653s # Flags 1 and test 2 653s # Flags 1 and test 3 653s # Flags 1 and test 4 653s # Flags 1 and test 5 653s # Flags 2 and test 0 653s # Flags 2 and test 1 653s # Flags 2 and test 2 653s # Flags 2 and test 3 653s # Flags 2 and test 4 653s # Flags 2 and test 5 653s # Flags 3 and test 0 653s # Flags 3 and test 1 653s # Flags 3 and test 2 653s # Flags 3 and test 3 653s # Flags 3 and test 4 653s # Flags 3 and test 5 653s # Flags 4 and test 0 653s # Flags 4 and test 1 653s # Flags 4 and test 2 653s # Flags 4 and test 3 653s # Flags 4 and test 4 653s # Flags 4 and test 5 653s # Flags 5 and test 0 653s # Flags 5 and test 1 653s # Flags 5 and test 2 653s # Flags 5 and test 3 653s # Flags 5 and test 4 653s # Flags 5 and test 5 653s # Flags 6 and test 0 653s # Flags 6 and test 1 653s # Flags 6 and test 2 653s # Flags 6 and test 3 653s # Flags 6 and test 4 653s # Flags 6 and test 5 653s ok 21 /fileutils/set-contents-full 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/read-link/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/read-link/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/read-link/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/read-link/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/read-link/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/read-link/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/read-link/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/read-link/.dirs/runtime 653s ok 22 /fileutils/read-link 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/stdio-wrappers/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/stdio-wrappers/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/stdio-wrappers/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/stdio-wrappers/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/stdio-wrappers/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/stdio-wrappers/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/stdio-wrappers/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/stdio-wrappers/.dirs/runtime 653s # We do not have CAP_DAC_OVERRIDE or equivalent 653s ok 23 /fileutils/stdio-wrappers 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/fopen-modes/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/fopen-modes/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/fopen-modes/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/fopen-modes/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/fopen-modes/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/fopen-modes/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/fopen-modes/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/fopen-modes/.dirs/runtime 653s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 653s # Testing fopen() mode 'w' 653s # Testing fopen() mode 'r' 653s # Testing fopen() mode 'a' 653s # Testing fopen() mode 'w+' 653s # Testing fopen() mode 'r+' 653s # Testing fopen() mode 'a+' 653s # Testing fopen() mode 'wb' 653s # Testing fopen() mode 'rb' 653s # Testing fopen() mode 'ab' 653s # Testing fopen() mode 'w+b' 653s # Testing fopen() mode 'r+b' 653s # Testing fopen() mode 'a+b' 653s # Testing fopen() mode 'wb+' 653s # Testing fopen() mode 'rb+' 653s # Testing fopen() mode 'ab+' 653s ok 24 /fileutils/fopen-modes 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/clear-fd/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/clear-fd/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/clear-fd/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/clear-fd/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/clear-fd/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/clear-fd/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/clear-fd/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/clear-fd/.dirs/runtime 653s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 653s # Will be closed by autocleanup: 3, -42 653s # Testing error handling 653s ok 25 /fileutils/clear-fd 653s # Start of set-contents-full tests 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/read-only-file/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/read-only-file/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/set-contents-full/read-only-file/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/read-only-file/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/set-contents-full/read-only-file/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/read-only-file/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/read-only-file/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/read-only-file/.dirs/runtime 653s # We do not have CAP_DAC_OVERRIDE or equivalent 653s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 653s ok 26 /fileutils/set-contents-full/read-only-file 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/read-only-directory/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/read-only-directory/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_ON2652/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/read-only-directory/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_ON2652/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/read-only-directory/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/read-only-directory/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_ON2652/fileutils/set-contents-full/read-only-directory/.dirs/runtime 653s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 653s # Flags 0 653s # We do not have CAP_DAC_OVERRIDE or equivalent 653s # Flags 1 653s # We do not have CAP_DAC_OVERRIDE or equivalent 653s # Flags 2 653s # We do not have CAP_DAC_OVERRIDE or equivalent 653s # Flags 3 653s # We do not have CAP_DAC_OVERRIDE or equivalent 653s # Flags 4 653s # We do not have CAP_DAC_OVERRIDE or equivalent 653s # Flags 5 653s # We do not have CAP_DAC_OVERRIDE or equivalent 653s # Flags 6 653s # We do not have CAP_DAC_OVERRIDE or equivalent 653s ok 27 /fileutils/set-contents-full/read-only-directory 653s # End of set-contents-full tests 653s # Start of clear-fd tests 653s # Start of subprocess tests 653s # End of subprocess tests 653s # End of clear-fd tests 653s # End of fileutils tests 653s Unable to clean up temporary directory /tmp/test_fileutils_ON2652/glib-file-set-contents-full-rodir-0T5352: Directory not empty 653s Unable to clean up temporary directory /tmp/test_fileutils_ON2652/glib-file-set-contents-full-rodir-8UV352: Directory not empty 653s Unable to clean up temporary directory /tmp/test_fileutils_ON2652/glib-file-set-contents-full-rodir-4YOA62: Directory not empty 653s Unable to clean up temporary directory /tmp/test_fileutils_ON2652/glib-file-set-contents-full-rodir-US4352: Directory not empty 653s Unable to clean up temporary directory /tmp/test_fileutils_ON2652/glib-file-set-contents-full-rodir-J7UA62: Directory not empty 653s Unable to clean up temporary directory /tmp/test_fileutils_ON2652/glib-file-set-contents-full-rodir-T7NA62: Directory not empty 653s Unable to clean up temporary directory /tmp/test_fileutils_ON2652/glib-file-set-contents-full-rodir-QGKA62: Directory not empty 653s Unable to clean up temporary directory /tmp/test_fileutils_ON2652: Directory not empty 653s ok - glib/fileutils.test 653s # Running test: glib/strvbuilder.test 653s TAP version 14 653s # random seed: R02S587c63cf0fbc7d12e24bee8184b15d56 653s 1..7 653s # Start of strvbuilder tests 653s ok 1 /strvbuilder/empty 653s ok 2 /strvbuilder/add 653s ok 3 /strvbuilder/addv 653s ok 4 /strvbuilder/add_many 653s ok 5 /strvbuilder/take 653s ok 6 /strvbuilder/ref 653s ok 7 /strvbuilder/unref_to_strv 653s # End of strvbuilder tests 653s ok - glib/strvbuilder.test 653s # Running test: glib/gdbus-method-invocation.test 653s TAP version 14 653s # random seed: R02S5256001b9464bbfa9c49614aae391eb3 653s 1..1 653s # Start of gdbus tests 653s # Start of method-invocation tests 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_JAJA62/gdbus/method-invocation/return/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_JAJA62/gdbus/method-invocation/return/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_JAJA62/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_JAJA62/gdbus/method-invocation/return/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_JAJA62/gdbus/method-invocation/return/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_JAJA62/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_JAJA62/gdbus/method-invocation/return/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_JAJA62/gdbus/method-invocation/return/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_JAJA62/gdbus/method-invocation/return/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_JAJA62/gdbus/method-invocation/return/.dirs/runtime 653s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 653s # Calling org.freedesktop.DBus.Properties.Get 653s # Calling org.freedesktop.DBus.Properties.Get 653s # Calling org.freedesktop.DBus.Properties.Get 653s # Calling org.freedesktop.DBus.Properties.Set 653s # Calling org.freedesktop.DBus.Properties.GetAll 653s # Calling org.example.Foo.WrongReturnType 653s # Calling org.example.Foo.GetFDs 653s # Calling org.example.Foo.GetFDs 653s # Calling org.example.Foo.ReturnError 653s # Calling org.example.Foo.CloseBeforeReturning 653s ok 1 /gdbus/method-invocation/return 653s # End of method-invocation tests 653s # End of gdbus tests 653s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 653s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 653s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 653s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 653s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 653s ok - glib/gdbus-method-invocation.test 653s # Running test: glib/deprecated-properties.test 653s TAP version 14 653s # random seed: R02Sf98e73bf538a49716eed51169148b7ce 653s 1..3 653s # Start of deprecated-properties tests 653s ok 1 /deprecated-properties/construct 653s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 653s ok 2 /deprecated-properties/default-construct 653s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 653s ok - glib/deprecated-properties.test 653s ok 3 /deprecated-properties/set 653s # End of deprecated-properties tests 653s # Running test: glib/resources.test 653s TAP version 14 653s # random seed: R02S16d41b71a66c9e2ec1ec47cc0fd7e433 653s 1..19 653s # Start of resource tests 653s ok 1 /resource/file 653s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 653s ok 2 /resource/file-path 653s ok 3 /resource/data 653s ok 4 /resource/data_unaligned 653s ok 5 /resource/data-corrupt 653s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression). 653s ok 6 /resource/data-corrupt-compression 653s ok 7 /resource/data-empty 653s ok 8 /resource/registered 653s ok 9 /resource/manual 653s ok 10 /resource/manual2 653s ok 11 /resource/automatic 653s ok 12 /resource/module 653s ok 13 /resource/binary-linked 653s ok 14 /resource/64k 653s GLib-GIO-Message: 18:46:58.327: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 653s GLib-GIO-Message: 18:46:58.328: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 653s GLib-GIO-Message: 18:46:58.328: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 653s ok 15 /resource/overlay 653s ok 16 /resource/digits 653s ok 17 /resource/has-children 653s # Start of uri tests 653s ok 18 /resource/uri/query-info 653s ok 19 /resource/uri/file 653s # End of uri tests 653s # End of resource tests 653s ok - glib/resources.test 653s # Running test: glib/markup.test 653s TAP version 14 653s # random seed: R02S84a66ad8d2912715098c485d2cfeab69 653s 1..1 653s # Start of markup tests 653s ok 1 /markup/stack 653s # End of markup tests 653s ok - glib/markup.test 653s # Running test: glib/markup-subparser.test 653s TAP version 14 653s # random seed: R02Se1162a10a0a514273712d8e367bd838a 653s 1..14 653s # Start of glib tests 653s # Start of markup tests 653s # Start of subparser tests 653s # Start of success tests 653s ok 1 /glib/markup/subparser/success/0 653s ok 2 /glib/markup/subparser/success/1 653s ok 3 /glib/markup/subparser/success/2 653s ok 4 /glib/markup/subparser/success/3 653s ok 5 /glib/markup/subparser/success/4 653s ok 6 /glib/markup/subparser/success/5 653s ok 7 /glib/markup/subparser/success/6 653s # End of success tests 653s # Start of failure tests 653s ok 8 /glib/markup/subparser/failure/0 653s ok 9 /glib/markup/subparser/failure/1 653s ok 10 /glib/markup/subparser/failure/2 653s ok 11 /glib/markup/subparser/failure/3 653s ok 12 /glib/markup/subparser/failure/4 653s ok 13 /glib/markup/subparser/failure/5 653s ok 14 /glib/markup/subparser/failure/6 653s # End of failure tests 653s # End of subparser tests 653s # End of markup tests 653s # End of glib tests 653s ok - glib/markup-subparser.test 653s # Running test: glib/unix.test 653s TAP version 14 653s # random seed: R02S44b643087662344ee23edde1c7e827b9 653s 1..20 653s # Start of glib-unix tests 653s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 653s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 653s ok 1 /glib-unix/closefrom 653s ok 2 /glib-unix/pipe 653s # /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 653s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 653s ok 3 /glib-unix/pipe-stdio-overwrite 653s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 653s ok 4 /glib-unix/pipe-struct 653s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 653s ok 5 /glib-unix/pipe-struct-auto 653s ok 6 /glib-unix/error 653s ok 7 /glib-unix/nonblocking 653s ok 8 /glib-unix/sighup 653s # slow test /glib-unix/sighup executed in 0.50 secs 654s ok 9 /glib-unix/sigterm 654s # slow test /glib-unix/sigterm executed in 0.50 secs 654s # Executing: glib/unix.test 654s ok 10 /glib-unix/sighup_again 654s # slow test /glib-unix/sighup_again executed in 0.50 secs 654s ok 11 /glib-unix/sighup_add_remove 654s ok 12 /glib-unix/sighup_nested 656s ok 13 /glib-unix/callback_after_signal 656s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 656s ok 14 /glib-unix/child-wait 656s # Start of closefrom tests 656s # Start of subprocess tests 656s # End of subprocess tests 656s # End of closefrom tests 656s # Start of pipe tests 656s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 656s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 656s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 656s ok 15 /glib-unix/pipe/fd-cloexec 656s # End of pipe tests 656s # Start of sighup tests 657s ok 16 /glib-unix/sighup/alternate-stack 657s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 657s # End of sighup tests 657s # Start of sigterm tests 658s ok 17 /glib-unix/sigterm/alternate-stack 658s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 658s # End of sigterm tests 658s # Start of sighup_again tests 659s # Executing: glib/unix.test 659s ok 18 /glib-unix/sighup_again/alternate-stack 659s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 659s # End of sighup_again tests 659s # Start of get-passwd-entry tests 659s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 659s ok 19 /glib-unix/get-passwd-entry/root 659s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 659s ok 20 /glib-unix/get-passwd-entry/nonexistent 659s # End of get-passwd-entry tests 659s # End of glib-unix tests 659s ok - glib/unix.test 659s # Running test: glib/hostutils.test 659s TAP version 14 659s # random seed: R02S882ee1583c897822050b1b17f104ad5e 659s 1..3 659s # Start of hostutils tests 660s ok - glib/hostutils.test 660s # Running test: glib/memory-output-stream.test 660s ok - glib/memory-output-stream.test 660s # Running test: glib/gdatetime.test 660s ok 1 /hostutils/to_ascii 660s ok 2 /hostutils/to_unicode 660s ok 3 /hostutils/is_ip_addr 660s # End of hostutils tests 660s TAP version 14 660s # random seed: R02S91af4ae1d45a3b0179073a560bc96c15 660s 1..10 660s # Start of memory-output-stream tests 660s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 660s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 660s ok 1 /memory-output-stream/truncate 660s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 660s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 660s ok 2 /memory-output-stream/get-data-size 660s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 660s ok 3 /memory-output-stream/properties 660s ok 4 /memory-output-stream/write-bytes 660s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 660s ok 5 /memory-output-stream/write-null 660s ok 6 /memory-output-stream/writev 660s ok 7 /memory-output-stream/writev_nonblocking 660s ok 8 /memory-output-stream/steal_as_bytes 660s # Start of seek tests 660s ok 9 /memory-output-stream/seek/fixed 660s ok 10 /memory-output-stream/seek/resizable 660s # End of seek tests 660s # End of memory-output-stream tests 660s TAP version 14 660s # random seed: R02S8de28ea5193280f412604c2538dbba01 660s 1..68 660s # Start of GDateTime tests 660s # Bug Reference: http://bugzilla.gnome.org/702674 660s ok 1 /GDateTime/invalid 660s ok 2 /GDateTime/add_days 660s ok 3 /GDateTime/add_full 660s ok 4 /GDateTime/add_hours 660s ok 5 /GDateTime/add_minutes 660s ok 6 /GDateTime/add_months 660s ok 7 /GDateTime/add_seconds 660s ok 8 /GDateTime/add_weeks 660s ok 9 /GDateTime/add_years 660s ok 10 /GDateTime/compare 660s ok 11 /GDateTime/diff 660s ok 12 /GDateTime/equal 660s ok 13 /GDateTime/get_day_of_week 660s ok 14 /GDateTime/get_day_of_month 660s ok 15 /GDateTime/get_day_of_year 660s ok 16 /GDateTime/get_hour 660s ok 17 /GDateTime/get_microsecond 660s ok 18 /GDateTime/get_minute 660s ok 19 /GDateTime/get_month 660s ok 20 /GDateTime/get_second 660s ok 21 /GDateTime/get_utc_offset 660s ok 22 /GDateTime/get_year 660s ok 23 /GDateTime/hash 660s ok 24 /GDateTime/new_from_unix 660s ok 25 /GDateTime/new_from_unix_utc 660s ok 26 /GDateTime/new_from_timeval 660s ok 27 /GDateTime/new_from_timeval_utc 660s ok 28 /GDateTime/new_from_iso8601 660s ok 29 /GDateTime/new_full 660s ok 30 /GDateTime/now 660s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 660s ok 31 /GDateTime/test-6-days-until-end-of-the-month 660s # %a -> expected: Sat 660s # %a -> actual: Sat 660s # %A -> expected: Saturday 660s # %A -> actual: Saturday 660s # %b -> expected: Oct 660s # %b -> actual: Oct 660s # %B -> expected: October 660s # %B -> actual: October 660s # %d -> expected: 24 660s # %d -> actual: 24 660s # %d -> expected: 01 660s # %d -> actual: 01 660s # %e -> expected: 24 660s # %e -> actual: 24 660s # %e -> expected:  1 660s # %e -> actual:  1 660s # %f -> expected: 001000 660s # %f -> actual: 001000 660s # %h -> expected: Oct 660s # %h -> actual: Oct 660s # %H -> expected: 00 660s # %H -> actual: 00 660s # %H -> expected: 15 660s # %H -> actual: 15 660s # %I -> expected: 12 660s # %I -> actual: 12 660s # %I -> expected: 12 660s # %I -> actual: 12 660s # %I -> expected: 03 660s # %I -> actual: 03 660s # %j -> expected: 297 660s # %j -> actual: 297 660s # %k -> expected:  0 660s # %k -> actual:  0 660s # %k -> expected: 13 660s # %k -> actual: 13 660s # %l -> expected: 12 660s # %l -> actual: 12 660s # %I -> expected: 12 660s # %I -> actual: 12 660s # %l -> expected:  1 660s # %l -> actual:  1 660s # %l -> expected: 10 660s # %l -> actual: 10 660s # %m -> expected: 10 660s # %m -> actual: 10 660s # %M -> expected: 00 660s # %M -> actual: 00 660s # %p -> expected: AM 660s # %p -> actual: AM 660s # %p -> expected: PM 660s # %p -> actual: PM 660s # %P -> expected: am 660s # %P -> actual: am 660s # %P -> expected: pm 660s # %P -> actual: pm 660s # %r -> expected: 12:00:00 AM 660s # %r -> actual: 12:00:00 AM 660s # %r -> expected: 01:13:13 PM 660s # %r -> actual: 01:13:13 PM 660s # %R -> expected: 00:00 660s # %R -> actual: 00:00 660s # %R -> expected: 13:13 660s # %R -> actual: 13:13 660s # %S -> expected: 00 660s # %S -> actual: 00 660s # %t -> expected: 660s # %t -> actual: 660s # %u -> expected: 6 660s # %u -> actual: 6 660s # %x -> expected: 10/24/09 660s # %x -> actual: 10/24/09 660s # %X -> expected: 00:00:00 660s # %X -> actual: 00:00:00 660s # %X -> expected: 13:14:15 660s # %X -> actual: 13:14:15 660s # %y -> expected: 09 660s # %y -> actual: 09 660s # %Y -> expected: 2009 660s # %Y -> actual: 2009 660s # %% -> expected: % 660s # %% -> actual: % 660s # % -> expected: 660s # % -> actual: 660s # %9 -> expected: (null) 660s # %9 -> actual: (null) 660s # %Z -> expected: UTC 660s # %Z -> actual: UTC 660s # %#Z %Z -> expected: utc UTC 660s # %#Z %Z -> actual: utc UTC 660s ok 32 /GDateTime/printf 660s # %a -> expected: ÅÚ 660s # %a -> actual: ÅÚ 660s # %A -> expected: ÅÚÍËÆü 660s # %A -> actual: ÅÚÍËÆü 660s # %b -> expected: 10·î 660s # %b -> actual: 10·î 660s # %B -> expected: 10·î 660s # %B -> actual: 10·î 660s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 660s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 660s # %C -> expected: 20 660s # %C -> actual: 20 660s # %d -> expected: 24 660s # %d -> actual: 24 660s # %d -> expected: 01 660s # %d -> actual: 01 660s # %e -> expected: 24 660s # %e -> actual: 24 660s # %h -> expected: 10·î 660s # %h -> actual: 10·î 660s # %H -> expected: 00 660s # %H -> actual: 00 660s # %H -> expected: 15 660s # %H -> actual: 15 660s # %I -> expected: 12 660s # %I -> actual: 12 660s # %I -> expected: 12 660s # %I -> actual: 12 660s # %I -> expected: 03 660s # %I -> actual: 03 660s # %j -> expected: 297 660s # %j -> actual: 297 660s # %k -> expected: ?0 660s # %k -> actual: ?0 660s # %k -> expected: 13 660s # %k -> actual: 13 660s # %l -> expected: 12 660s # %l -> actual: 12 660s # %I -> expected: 12 660s # %I -> actual: 12 660s # %l -> expected: ?1 660s # %l -> actual: ?1 660s # %l -> expected: 10 660s # %l -> actual: 10 660s # %m -> expected: 10 660s # %m -> actual: 10 660s # %M -> expected: 00 660s # %M -> actual: 00 660s # %p -> expected: ¸áÁ° 660s # %p -> actual: ¸áÁ° 660s # %p -> expected: ¸á¸å 660s # %p -> actual: ¸á¸å 660s # %P -> expected: ¸áÁ° 660s # %P -> actual: ¸áÁ° 660s # %P -> expected: ¸á¸å 660s # %P -> actual: ¸á¸å 660s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 660s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 660s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 660s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 660s # %R -> expected: 00:00 660s # %R -> actual: 00:00 660s # %R -> expected: 13:13 660s # %R -> actual: 13:13 660s # %S -> expected: 00 660s # %S -> actual: 00 660s # %t -> expected: 660s # %t -> actual: 660s # %u -> expected: 6 660s # %u -> actual: 6 660s # %x -> expected: 2009ǯ10·î24Æü 660s # %x -> actual: 2009ǯ10·î24Æü 660s # %X -> expected: 00»þ00ʬ00Éà 660s # %X -> actual: 00»þ00ʬ00Éà 660s # %X -> expected: 13»þ14ʬ15Éà 660s # %X -> actual: 13»þ14ʬ15Éà 660s # %y -> expected: 09 660s # %y -> actual: 09 660s # %Y -> expected: 2009 660s # %Y -> actual: 2009 660s # %% -> expected: % 660s # %% -> actual: % 660s # % -> expected: 660s # % -> actual: 660s # %9 -> expected: (null) 660s # %9 -> actual: (null) 660s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 660s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 660s # %EC -> expected: Ê¿À® 660s # %EC -> actual: Ê¿À® 660s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü 660s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü 660s # %EX -> expected: 00»þ00ʬ00Éà 660s # %EX -> actual: 00»þ00ʬ00Éà 660s # %Ey -> expected: 21 660s # %Ey -> actual: 21 660s # %EY -> expected: Ê¿À®21ǯ 660s # %EY -> actual: Ê¿À®21ǯ 660s ok 33 /GDateTime/non_utf8_printf 660s # ???? -> expected: ???? 660s # ???? -> actual: ???? 660s # %H?%M -> expected: 23?15 660s # %H?%M -> actual: 23?15 660s # %H?%M -> expected: 23?15 660s # %H?%M -> actual: 23?15 660s ok 34 /GDateTime/format_unrepresentable 660s ok 35 /GDateTime/format_iso8601 660s ok 36 /GDateTime/strftime 660s # %d -> expected: 01 660s # %d -> actual: 01 660s # %_d -> expected: 1 660s # %_d -> actual: 1 660s # %-d -> expected: 1 660s # %-d -> actual: 1 660s # %0d -> expected: 01 660s # %0d -> actual: 01 660s # %d -> expected: 21 660s # %d -> actual: 21 660s # %_d -> expected: 21 660s # %_d -> actual: 21 660s # %-d -> expected: 21 660s # %-d -> actual: 21 660s # %0d -> expected: 21 660s # %0d -> actual: 21 660s # %e -> expected:  1 660s # %e -> actual:  1 660s # %_e -> expected: 1 660s # %_e -> actual: 1 660s # %-e -> expected: 1 660s # %-e -> actual: 1 660s # %0e -> expected: 01 660s # %0e -> actual: 01 660s # %e -> expected: 21 660s # %e -> actual: 21 660s # %_e -> expected: 21 660s # %_e -> actual: 21 660s # %-e -> expected: 21 660s # %-e -> actual: 21 660s # %0e -> expected: 21 660s # %0e -> actual: 21 660s # %a -> expected: Thu 660s # %a -> actual: Thu 660s # %^a -> expected: THU 660s # %^a -> actual: THU 660s # %#a -> expected: THU 660s # %#a -> actual: THU 660s # %A -> expected: Thursday 660s # %A -> actual: Thursday 660s # %^A -> expected: THURSDAY 660s # %^A -> actual: THURSDAY 660s # %#A -> expected: THURSDAY 660s # %#A -> actual: THURSDAY 660s # %b -> expected: Jan 660s # %b -> actual: Jan 660s # %^b -> expected: JAN 660s # %^b -> actual: JAN 660s # %#b -> expected: JAN 660s # %#b -> actual: JAN 660s # %B -> expected: January 660s # %B -> actual: January 660s # %^B -> expected: JANUARY 660s # %^B -> actual: JANUARY 660s # %#B -> expected: JANUARY 660s # %#B -> actual: JANUARY 660s # %h -> expected: Jan 660s # %h -> actual: Jan 660s # %^h -> expected: JAN 660s # %^h -> actual: JAN 660s # %#h -> expected: JAN 660s # %#h -> actual: JAN 660s # %Z -> expected: UTC 660s # %Z -> actual: UTC 660s # %^Z -> expected: UTC 660s # %^Z -> actual: UTC 660s # %#Z -> expected: utc 660s # %#Z -> actual: utc 660s # %H -> expected: 01 660s # %H -> actual: 01 660s # %_H -> expected: 1 660s # %_H -> actual: 1 660s # %-H -> expected: 1 660s # %-H -> actual: 1 660s # %0H -> expected: 01 660s # %0H -> actual: 01 660s # %H -> expected: 21 660s # %H -> actual: 21 660s # %_H -> expected: 21 660s # %_H -> actual: 21 660s # %-H -> expected: 21 660s # %-H -> actual: 21 660s # %0H -> expected: 21 660s # %0H -> actual: 21 660s # %I -> expected: 01 660s # %I -> actual: 01 660s # %_I -> expected: 1 660s # %_I -> actual: 1 660s # %-I -> expected: 1 660s # %-I -> actual: 1 660s # %0I -> expected: 01 660s # %0I -> actual: 01 660s # %I -> expected: 11 660s # %I -> actual: 11 660s # %_I -> expected: 11 660s # %_I -> actual: 11 660s # %-I -> expected: 11 660s # %-I -> actual: 11 660s # %0I -> expected: 11 660s # %0I -> actual: 11 660s # %k -> expected:  1 660s # %k -> actual:  1 660s # %_k -> expected: 1 660s # %_k -> actual: 1 660s # %-k -> expected: 1 660s # %-k -> actual: 1 660s # %0k -> expected: 01 660s # %0k -> actual: 01 660s # %l -> expected:  1 660s # %l -> actual:  1 660s # %_l -> expected: 1 660s # %_l -> actual: 1 660s # %-l -> expected: 1 660s # %-l -> actual: 1 660s # %0l -> expected: 01 660s # %0l -> actual: 01 660s # %l -> expected: 11 660s # %l -> actual: 11 660s # %_l -> expected: 11 660s # %_l -> actual: 11 660s # %-l -> expected: 11 660s # %-l -> actual: 11 660s # %0l -> expected: 11 660s # %0l -> actual: 11 660s # %p -> expected: AM 660s # %p -> actual: AM 660s # %^p -> expected: AM 660s # %^p -> actual: AM 660s # %#p -> expected: am 660s # %#p -> actual: am 660s # %P -> expected: am 660s # %P -> actual: am 660s # %^P -> expected: AM 660s # %^P -> actual: AM 660s # %#P -> expected: am 660s # %#P -> actual: am 660s # %OH -> expected: Û²Û³ 660s # %OH -> actual: Û²Û³ 660s # %OI -> expected: Û±Û± 660s # %OI -> actual: Û±Û± 660s # %OM -> expected: Û°Û° 660s # %OM -> actual: Û°Û° 660s # %Om -> expected: Û°Û· 660s # %Om -> actual: Û°Û· 660s # %0Om -> expected: Û°Û· 660s # %0Om -> actual: Û°Û· 660s # %-Om -> expected: Û· 660s # %-Om -> actual: Û· 660s # %_Om -> expected: Û· 660s # %_Om -> actual: Û· 660s # %c -> expected: thu 01 jan 2009 00:00:00 utc 660s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 660s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 660s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 660s # %C -> expected: 20 660s # %C -> actual: 20 660s # %EC -> expected: 20 660s # %EC -> actual: 20 660s # %x -> expected: 02/01/09 660s # %x -> actual: 02/01/09 660s # %Ex -> expected: 02/01/09 660s # %Ex -> actual: 02/01/09 660s # %X -> expected: 01:02:03 660s # %X -> actual: 01:02:03 660s # %EX -> expected: 01:02:03 660s # %EX -> actual: 01:02:03 660s # %y -> expected: 09 660s # %y -> actual: 09 660s # %Ey -> expected: 09 660s # %Ey -> actual: 09 660s # %Y -> expected: 2009 660s # %Y -> actual: 2009 660s # %EY -> expected: 2009 660s # %EY -> actual: 2009 660s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 660s # Bug Reference: http://bugzilla.gnome.org/749206 660s # %B -> expected: January 660s # %B -> actual: January 660s # %OB -> expected: February 660s # %OB -> actual: February 660s # %b -> expected: Mar 660s # %b -> actual: Mar 660s # %Ob -> expected: Apr 660s # %Ob -> actual: Apr 660s # %h -> expected: May 660s # %h -> actual: May 660s # %Oh -> expected: Jun 660s # %Oh -> actual: Jun 660s # %B -> expected: Juli 660s # %B -> actual: Juli 660s # %OB -> expected: August 660s # %OB -> actual: August 660s # %b -> expected: Sep 660s # %b -> actual: Sep 660s # %Ob -> expected: Okt 660s # %Ob -> actual: Okt 660s # %h -> expected: Nov 660s # %h -> actual: Nov 660s # %Oh -> expected: Dez 660s # %Oh -> actual: Dez 660s # %B -> expected: enero 660s # %B -> actual: enero 660s # %OB -> expected: febrero 660s # %OB -> actual: febrero 660s # %b -> expected: mar 660s # %b -> actual: mar 660s # %Ob -> expected: abr 660s # %Ob -> actual: abr 660s # %h -> expected: may 660s # %h -> actual: may 660s # %Oh -> expected: jun 660s # %Oh -> actual: jun 660s # %B -> expected: juillet 660s # %B -> actual: juillet 660s # %OB -> expected: août 660s # %OB -> actual: août 660s # %b -> expected: sept. 660s # %b -> actual: sept. 660s # %Ob -> expected: oct. 660s # %Ob -> actual: oct. 660s # %h -> expected: nov. 660s # %h -> actual: nov. 660s # %Oh -> expected: déc. 660s # %Oh -> actual: déc. 660s # %B -> expected: ΙανουαÏίου 660s # %B -> actual: ΙανουαÏίου 660s # %B -> expected: ΦεβÏουαÏίου 660s # %B -> actual: ΦεβÏουαÏίου 660s # %B -> expected: ΜαÏτίου 660s # %B -> actual: ΜαÏτίου 660s # %OB -> expected: ΑπÏίλιος 660s # %OB -> actual: ΑπÏίλιος 660s # %OB -> expected: Μάιος 660s # %OB -> actual: Μάιος 660s # %OB -> expected: ΙοÏνιος 660s # %OB -> actual: ΙοÏνιος 660s # %b -> expected: Ιουλ 660s # %b -> actual: Ιουλ 660s # %Ob -> expected: ΑÏγ 660s # %Ob -> actual: ΑÏγ 660s # %B -> expected: svibnja 660s # %B -> actual: svibnja 660s # %B -> expected: lipnja 660s # %B -> actual: lipnja 660s # %B -> expected: srpnja 660s # %B -> actual: srpnja 660s # %OB -> expected: Kolovoz 660s # %OB -> actual: kolovoz 660s # %OB -> expected: Rujan 660s # %OB -> actual: rujan 660s # %OB -> expected: Listopad 660s # %OB -> actual: listopad 660s # %b -> expected: Stu 660s # %b -> actual: stu 660s # %Ob -> expected: Pro 660s # %Ob -> actual: pro 660s # %B -> expected: sausio 660s # %B -> actual: sausio 660s # %B -> expected: vasario 660s # %B -> actual: vasario 660s # %B -> expected: kovo 660s # %B -> actual: kovo 660s # %OB -> expected: balandis 660s # %OB -> actual: balandis 660s # %OB -> expected: gegužė 660s # %OB -> actual: gegužė 660s # %OB -> expected: birželis 660s # %OB -> actual: birželis 660s # %b -> expected: liep. 660s # %b -> actual: liep. 660s # %Ob -> expected: rugp. 660s # %Ob -> actual: rugp. 660s # %B -> expected: maja 660s # %B -> actual: maja 660s # %B -> expected: czerwca 660s # %B -> actual: czerwca 660s # %B -> expected: lipca 660s # %B -> actual: lipca 660s # %OB -> expected: sierpieÅ„ 660s # %OB -> actual: sierpieÅ„ 660s # %OB -> expected: wrzesieÅ„ 660s # %OB -> actual: wrzesieÅ„ 660s # %OB -> expected: październik 660s # %OB -> actual: październik 660s # %b -> expected: lis 660s # %b -> actual: lis 660s # %Ob -> expected: gru 660s # %Ob -> actual: gru 660s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 660s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 660s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 660s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 660s # %B -> expected: марта 660s # %B -> actual: марта 660s # %OB -> expected: Ðпрель 660s # %OB -> actual: Ðпрель 660s # %OB -> expected: Май 660s # %OB -> actual: Май 660s # %OB -> expected: Июнь 660s # %OB -> actual: Июнь 660s # %b -> expected: июл 660s # %b -> actual: июл 660s # %Ob -> expected: авг 660s # %Ob -> actual: авг 660s # %b -> expected: Ð¼Ð°Ñ 660s # %b -> actual: Ð¼Ð°Ñ 660s # %Ob -> expected: май 660s # %Ob -> actual: май 660s ok 38 /GDateTime/month_names 660s ok 39 /GDateTime/to_local 660s ok 40 /GDateTime/to_unix 660s ok 41 /GDateTime/to_timeval 660s ok 42 /GDateTime/to_utc 660s ok 43 /GDateTime/now_utc 660s ok 44 /GDateTime/dst 660s # Bug Reference: http://bugzilla.gnome.org/642935 660s ok 45 /GDateTime/test_z 661s ok 46 /GDateTime/test-all-dates 661s # slow test /GDateTime/test-all-dates executed in 0.81 secs 661s ok 47 /GDateTime/unix_usec 661s # Start of new_from_unix tests 661s # Bug Reference: http://bugzilla.gnome.org/782089 661s ok 48 /GDateTime/new_from_unix/overflow 661s # End of new_from_unix tests 661s # Start of new_from_timeval tests 661s # Bug Reference: http://bugzilla.gnome.org/782089 661s # Maximum supported GTimeVal.tv_sec = 253402300799 661s ok 49 /GDateTime/new_from_timeval/overflow 661s # End of new_from_timeval tests 661s # Start of new_from_iso8601 tests 661s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 661s # Vector 0: 1990-11-01T10:21:17Z 661s # Vector 1: 19901101T102117Z 661s # Vector 2: 1970-01-01T00:00:17.12Z 661s # Vector 3: 1970-01-01T00:00:17.1234Z 661s # Vector 4: 1970-01-01T00:00:17.123456Z 661s # Vector 5: 1980-02-22T12:36:00+02:00 661s # Vector 6: 1990-12-31T15:59:60-08:00 661s # Vector 7: 661s # Vector 8: x 661s # Vector 9: 123x 661s # Vector 10: 2001-10+x 661s # Vector 11: 1980-02-22T 661s # Vector 12: 2001-10-08Tx 661s # Vector 13: 2001-10-08T10:11x 661s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 661s # Vector 15: 1980-02-22T10:36:00Zulu 661s # Vector 16: 2T0+819855292164632335 661s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 661s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 661s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 661s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 661s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 661s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 661s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 661s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 661s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 661s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 661s # Vector 27: 20180803T140805.446178377+0100 661s # Vector 28: 21474836480803T140805.446178377+0100 661s # Vector 29: 20181303T140805.446178377+0100 661s # Vector 30: 20180003T140805.446178377+0100 661s # Vector 31: 20180800T140805.446178377+0100 661s # Vector 32: 20180832T140805.446178377+0100 661s # Vector 33: 20180803T240805.446178377+0100 661s # Vector 34: 20180803T146005.446178377+0100 661s # Vector 35: 20180803T140863.446178377+0100 661s # Vector 36: 20180803T140805.446178377+10000 661s # Vector 37: -0005-01-01T00:00:00Z 661s # Vector 38: 2018-08-06 661s # Vector 39: 20180803T140805,446178377+0100 661s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 661s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 661s # Vector 42: 1990-11-01T10:21:17 661s # Vector 43: 1719W462 407777-07 661s # Vector 44: 4011090 260528Z 661s # Vector 45: 0000W011 228214-22 661s ok 50 /GDateTime/new_from_iso8601/2 661s # End of new_from_iso8601 tests 661s # Start of format_mixed tests 661s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 661s # %b -> expected: mar 661s # %b -> actual: Mar 661s # %B -> expected: march 661s # %B -> actual: March 661s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 661s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 661s # %b -> expected: mar 661s # %b -> actual: Mar 661s # %B -> expected: march 661s # %B -> actual: March 661s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 661s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 661s # %b -> expected: Mär 661s # %b -> actual: Mär 661s # %B -> expected: März 661s # %B -> actual: März 661s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 661s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 661s # %b -> expected: Mär 661s # %b -> actual: Mär 661s # %B -> expected: März 661s # %B -> actual: März 661s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 661s # End of format_mixed tests 661s # Start of strftime tests 661s # %r -> expected: (null) 661s # %r -> actual: (null) 661s ok 55 /GDateTime/strftime/error_handling 661s # End of strftime tests 661s # Start of eras tests 661s # %Ec -> expected: 令和05å¹´06月01æ—¥ 00時00分00ç§’ 661s # %Ec -> actual: 令和05å¹´06月01æ—¥ 00時00分00ç§’ 661s # %EC -> expected: 令和 661s # %EC -> actual: 令和 661s # %Ex -> expected: 令和05å¹´06月01æ—¥ 661s # %Ex -> actual: 令和05å¹´06月01æ—¥ 661s # %EX -> expected: 00時00分00ç§’ 661s # %EX -> actual: 00時00分00ç§’ 661s # %Ey -> expected: 05 661s # %Ey -> actual: 05 661s # %EY -> expected: 令和05å¹´ 661s # %EY -> actual: 令和05å¹´ 661s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00ç§’ 661s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00ç§’ 661s # %EC -> expected: å¹³æˆ 661s # %EC -> actual: å¹³æˆ 661s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥ 661s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥ 661s # %EX -> expected: 00時00分00ç§’ 661s # %EX -> actual: 00時00分00ç§’ 661s # %Ey -> expected: 31 661s # %Ey -> actual: 31 661s # %EY -> expected: å¹³æˆ31å¹´ 661s # %EY -> actual: å¹³æˆ31å¹´ 661s # %Ec -> expected: 昭和元年12月25æ—¥ 00時00分00ç§’ 661s # %Ec -> actual: 昭和元年12月25æ—¥ 00時00分00ç§’ 661s # %EC -> expected: 昭和 661s # %EC -> actual: 昭和 661s # %Ex -> expected: 昭和元年12月25æ—¥ 661s # %Ex -> actual: 昭和元年12月25æ—¥ 661s # %EX -> expected: 00時00分00ç§’ 661s # %EX -> actual: 00時00分00ç§’ 661s # %Ey -> expected: 01 661s # %Ey -> actual: 01 661s # %EY -> expected: 昭和元年 661s # %EY -> actual: 昭和元年 661s ok 56 /GDateTime/eras/japan 661s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 661s # Vector 0: 661s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 661s # 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å¹´ 661s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 661s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 661s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 661s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 661s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 661s # Vector 8: + 661s # Vector 9: +: 661s # Vector 10: +:: 661s # Vector 11: +:200 661s # Vector 12: +:2nonsense 661s # Vector 13: +:2nonsense: 661s # Vector 14: +:2: 661s # Vector 15: +:2:: 661s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 661s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 661s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 661s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 661s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 661s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 661s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 661s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 661s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 661s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 661s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 661s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 661s # Vector 28: +:2:2020/01/01 661s # Vector 29: +:2:2020/01/01: 661s # Vector 30: +:2:2020/01/01:: 661s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 661s # Vector 32: +:2:2020/01/01:+* 661s # Vector 33: +:2:2020/01/01:+*: 661s # Vector 34: +:2:2020/01/01:+*:: 661s # Vector 35: +:2:2020/01/01:+*:令和 661s # Vector 36: +:2:2020/01/01:+*:令和: 661s # Vector 37: +:2:2020/01/01:+*:令和:; 661s ok 58 /GDateTime/eras/parsing 661s # End of eras tests 661s # End of GDateTime tests 661s # Start of GTimeZone tests 661s ok 59 /GTimeZone/find-interval 661s ok 60 /GTimeZone/adjust-time 661s ok 61 /GTimeZone/no-header 661s ok 62 /GTimeZone/no-header-identifier 661s ok 63 /GTimeZone/posix-parse 661s # Bug Reference: http://bugzilla.gnome.org/697715 661s ok 64 /GTimeZone/floating-point 661s # System time zone identifier: Etc/UTC 661s ok 65 /GTimeZone/identifier 661s # Vector 0: -158400 661s # Vector 1: -10000 661s # Vector 2: -3600 661s # Vector 3: -61 661s # Vector 4: -60 661s # Vector 5: -59 661s # Vector 6: 0 661s # Vector 7: 59 661s # Vector 8: 60 661s # Vector 9: 61 661s # Vector 10: 3600 661s # Vector 11: 10000 661s # Vector 12: 158400 661s ok 66 /GTimeZone/new-offset 661s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 661s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 661s ok 67 /GTimeZone/parse-rfc8536 661s # /GTimeZone/caching summary: GTimeZone instances are cached 661s ok 68 /GTimeZone/caching 661s # End of GTimeZone tests 661s TAP version 14 661s # random seed: R02S02cba8f3d800ce9821e790c21ac0b85f 661s 1..2 661s # Start of gobject tests 661s # Start of singleton tests 661s ok 1 /gobject/singleton/construction 661s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 661s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 661s ok 2 /gobject/singleton/construct-property 661s # End of singleton tests 661s # End of gobject tests 661s TAP version 14 661s # random seed: R02S424837d6f6a922b3e9b35543a459abd9 661s 1..3 661s # Start of stream tests 661s # Start of read_all_async tests 661s ok 1 /stream/read_all_async/memory 661s # End of read_all_async tests 661s # Start of write_all_async tests 661s ok 2 /stream/write_all_async/memory 661s # End of write_all_async tests 661s # Start of read_write_all_async tests 661s ok 3 /stream/read_write_all_async/pipe 661s # End of read_write_all_async tests 661s # End of stream tests 661s TAP version 14 661s # random seed: R02S6b8f3e498d9f70b01565a1abad0ab13b 661s 1..1 661s # Start of gobject tests 661s # Start of refcount tests 661s # init 0x58a4697acdd0 661s # 661s # init 0x58a4697a9310 661s # 661s ok - glib/gdatetime.test 661s # Running test: glib/singleton.test 661s ok - glib/singleton.test 661s # Running test: glib/stream-rw_all.test 661s ok - glib/stream-rw_all.test 661s # Running test: glib/signals-refcount2.test 664s # Executing: glib/signals-refcount2.test 666s # dispose 0x58a4697acdd0! 666s # 666s # dispose 0x58a4697a9310! 666s # 666s ok 1 /gobject/refcount/signals 666s # slow test /gobject/refcount/signals executed in 5.00 secs 666s # End of refcount tests 666s # End of gobject tests 666s ok - glib/signals-refcount2.test 666s # Running test: glib/utils-c-11.test 666s TAP version 14 666s # random seed: R02Scc1baeef6be2a636c9ceb4f6ac7ee6c9 666s 1..41 666s # Start of utils tests 666s ok 1 /utils/language-names 666s ok 2 /utils/locale-variants 666s ok 3 /utils/version 666s ok 4 /utils/appname 666s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 666s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 666s ok 5 /utils/prgname-thread-safety 666s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 666s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 666s ok 6 /utils/tmpdir 666s ok 7 /utils/basic_bits 666s ok 8 /utils/bits 666s ok 9 /utils/swap 666s ok 10 /utils/find-program 666s ok 11 /utils/find-program-for-path 666s ok 12 /utils/debug 666s ok 13 /utils/codeset 666s ok 14 /utils/codeset2 666s ok 15 /utils/console-charset 666s ok 16 /utils/gettext 666s ok 17 /utils/username 666s ok 18 /utils/realname 666s ok 19 /utils/hostname 666s ok 20 /utils/xdgdirs 666s ok 21 /utils/specialdir 666s # NAME: Ubuntu 666s ok 22 /utils/os-info 666s ok 23 /utils/clear-pointer 666s ok 24 /utils/clear-pointer-cast 666s ok 25 /utils/take-pointer 666s ok 26 /utils/clear-source 666s ok 27 /utils/misc-mem 666s # /utils/aligned-mem summary: Aligned memory allocator 666s # Alignment must not be zero 666s # Alignment must be a power of two 666s # Alignment must be a multiple of sizeof(void*) 666s ok 28 /utils/aligned-mem 666s # /utils/free-sized summary: Check that g_free_sized() works 666s ok 29 /utils/free-sized 666s ok 30 /utils/nullify 666s ok 31 /utils/atexit 666s ok 32 /utils/check-setuid 666s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 666s ok 33 /utils/int-limits 666s ok - glib/utils-c-11.test 666s # Running test: glib/memory-monitor-dbus.test 666s ok 34 /utils/clear-list 666s ok 35 /utils/clear-slist 666s ok 36 /utils/steal-handle-id 666s # Start of specialdir tests 666s ok 37 /utils/specialdir/desktop 666s # End of specialdir tests 666s # Start of clear-pointer tests 666s ok 38 /utils/clear-pointer/side-effects 666s # End of clear-pointer tests 666s # Start of aligned-mem tests 666s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 666s ok 39 /utils/aligned-mem/alignment 666s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 666s ok 40 /utils/aligned-mem/zeroed 666s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 666s ok 41 /utils/aligned-mem/free-sized 666s # Start of subprocess tests 666s # End of subprocess tests 666s # End of aligned-mem tests 666s # End of utils tests 666s TAP version 13 666s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 666s 1..1 666s ok - glib/memory-monitor-dbus.test 666s # Running test: glib/slice.test 666s TAP version 14 666s # random seed: R02S01b146950f1fc465abdd77fc3c332a14 666s 1..3 666s # Start of slice tests 666s ok 1 /slice/copy 666s ok 2 /slice/chain 666s ok 3 /slice/allocate 666s # End of slice tests 666s ok - glib/slice.test 666s # Running test: glib/callable-info.test 666s TAP version 14 666s # random seed: R02S2b66408495de5ee7e912fadf051bd062 666s 1..5 666s # Start of callable-info tests 666s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_MW0U52/callable-info/sync-function/.dirs/home 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_MW0U52/callable-info/sync-function/.dirs/cache 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_MW0U52/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_MW0U52/callable-info/sync-function/.dirs/system-config2 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_MW0U52/callable-info/sync-function/.dirs/config 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_MW0U52/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_MW0U52/callable-info/sync-function/.dirs/system-data2 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_MW0U52/callable-info/sync-function/.dirs/data 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_MW0U52/callable-info/sync-function/.dirs/state 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_MW0U52/callable-info/sync-function/.dirs/runtime 666s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 666s ok 1 /callable-info/sync-function 666s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_MW0U52/callable-info/async-function/.dirs/home 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_MW0U52/callable-info/async-function/.dirs/cache 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_MW0U52/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_MW0U52/callable-info/async-function/.dirs/system-config2 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_MW0U52/callable-info/async-function/.dirs/config 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_MW0U52/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_MW0U52/callable-info/async-function/.dirs/system-data2 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_MW0U52/callable-info/async-function/.dirs/data 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_MW0U52/callable-info/async-function/.dirs/state 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_MW0U52/callable-info/async-function/.dirs/runtime 666s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 666s ok 2 /callable-info/async-function 666s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_MW0U52/callable-info/is-method/.dirs/home 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_MW0U52/callable-info/is-method/.dirs/cache 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_MW0U52/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_MW0U52/callable-info/is-method/.dirs/system-config2 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_MW0U52/callable-info/is-method/.dirs/config 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_MW0U52/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_MW0U52/callable-info/is-method/.dirs/system-data2 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_MW0U52/callable-info/is-method/.dirs/data 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_MW0U52/callable-info/is-method/.dirs/state 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_MW0U52/callable-info/is-method/.dirs/runtime 666s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 666s ok - glib/callable-info.test 666s # Running test: glib/gdbus-close-pending.test 666s ok 3 /callable-info/is-method 666s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_MW0U52/callable-info/static-method/.dirs/home 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_MW0U52/callable-info/static-method/.dirs/cache 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_MW0U52/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_MW0U52/callable-info/static-method/.dirs/system-config2 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_MW0U52/callable-info/static-method/.dirs/config 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_MW0U52/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_MW0U52/callable-info/static-method/.dirs/system-data2 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_MW0U52/callable-info/static-method/.dirs/data 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_MW0U52/callable-info/static-method/.dirs/state 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_MW0U52/callable-info/static-method/.dirs/runtime 666s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 666s ok 4 /callable-info/static-method 666s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_MW0U52/callable-info/static-vfunc/.dirs/home 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_MW0U52/callable-info/static-vfunc/.dirs/cache 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_MW0U52/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_MW0U52/callable-info/static-vfunc/.dirs/system-config2 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_MW0U52/callable-info/static-vfunc/.dirs/config 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_MW0U52/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_MW0U52/callable-info/static-vfunc/.dirs/system-data2 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_MW0U52/callable-info/static-vfunc/.dirs/data 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_MW0U52/callable-info/static-vfunc/.dirs/state 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_MW0U52/callable-info/static-vfunc/.dirs/runtime 666s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 666s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361 666s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough 666s # End of callable-info tests 666s TAP version 14 666s # random seed: R02S1bb59e4f2c15c39f094f9d727c38df16 666s 1..2 666s # Start of gdbus tests 666s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_CBWV52/gdbus/close-pending/.dirs/home 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_CBWV52/gdbus/close-pending/.dirs/cache 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_CBWV52/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_CBWV52/gdbus/close-pending/.dirs/system-config2 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_CBWV52/gdbus/close-pending/.dirs/config 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_CBWV52/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_CBWV52/gdbus/close-pending/.dirs/system-data2 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_CBWV52/gdbus/close-pending/.dirs/data 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_CBWV52/gdbus/close-pending/.dirs/state 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_CBWV52/gdbus/close-pending/.dirs/runtime 666s ok 1 /gdbus/close-pending 666s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_CBWV52/gdbus/unref-pending/.dirs/home 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_CBWV52/gdbus/unref-pending/.dirs/cache 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_CBWV52/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_CBWV52/gdbus/unref-pending/.dirs/system-config2 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_CBWV52/gdbus/unref-pending/.dirs/config 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_CBWV52/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_CBWV52/gdbus/unref-pending/.dirs/system-data2 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_CBWV52/gdbus/unref-pending/.dirs/data 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_CBWV52/gdbus/unref-pending/.dirs/state 666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_CBWV52/gdbus/unref-pending/.dirs/runtime 667s ok 2 /gdbus/unref-pending 667s # End of gdbus tests 667s ok - glib/gdbus-close-pending.test 667s # Running test: glib/mutex.test 667s TAP version 14 667s # random seed: R02Sd7b16d815d6827283e7f06682e773793 667s 1..17 667s # Start of thread tests 667s ok 1 /thread/mutex1 667s ok 2 /thread/mutex2 667s ok 3 /thread/mutex3 667s ok 4 /thread/mutex4 669s # Executing: glib/mutex.test 674s # Executing: glib/mutex.test 675s ok 5 /thread/mutex5 675s # slow test /thread/mutex5 executed in 8.10 secs 675s # Start of mutex tests 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s # /thread/mutex/errno summary: Validates that errno is not touched upon return 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 675s ok 6 /thread/mutex/errno 675s # slow test /thread/mutex/errno executed in 0.64 secs 675s # Start of perf tests 675s # max perf: inf mips 675s ok 7 /thread/mutex/perf/uncontended 675s # Start of contended tests 675s # max perf: inf mips 675s ok 8 /thread/mutex/perf/contended/1 675s # max perf: inf mips 675s ok 9 /thread/mutex/perf/contended/2 675s # max perf: 2.000000 mips 675s ok 10 /thread/mutex/perf/contended/3 675s # max perf: 5.000000 mips 675s ok 11 /thread/mutex/perf/contended/4 675s # max perf: 3.000000 mips 675s ok 12 /thread/mutex/perf/contended/5 675s # max perf: 3.500000 mips 675s ok 13 /thread/mutex/perf/contended/6 675s # max perf: 4.000000 mips 675s ok 14 /thread/mutex/perf/contended/7 675s # max perf: 9.000000 mips 675s ok 15 /thread/mutex/perf/contended/8 675s # max perf: 5.000000 mips 675s ok 16 /thread/mutex/perf/contended/9 676s ok - glib/mutex.test 676s # Running test: glib/refcount.test 676s ok - glib/refcount.test 676s # Running test: glib/bindinggroup.test 676s ok - glib/bindinggroup.test 676s # Running test: glib/closure-refcount.test 676s # max perf: 0.049327 mips 676s ok 17 /thread/mutex/perf/contended/10 676s # End of contended tests 676s # End of perf tests 676s # End of mutex tests 676s # End of thread tests 676s TAP version 14 676s # random seed: R02Sc4515513d9aa1ecb88c5c78dabc96c9f 676s 1..4 676s # Start of refcount tests 676s ok 1 /refcount/grefcount 676s ok 2 /refcount/gatomicrefcount 676s # Start of grefcount tests 676s ok 3 /refcount/grefcount/saturation 676s # End of grefcount tests 676s # Start of gatomicrefcount tests 676s ok 4 /refcount/gatomicrefcount/saturation 676s # End of gatomicrefcount tests 676s # End of refcount tests 676s TAP version 14 676s # random seed: R02Sfbb14f01d993afc00eec499e2238ddeb 676s 1..11 676s # Start of GObject tests 676s # Start of BindingGroup tests 676s ok 1 /GObject/BindingGroup/invalid 676s ok 2 /GObject/BindingGroup/default 676s ok 3 /GObject/BindingGroup/bidirectional 676s ok 4 /GObject/BindingGroup/transform 676s ok 5 /GObject/BindingGroup/transform-closures 676s ok 6 /GObject/BindingGroup/same-object 676s ok 7 /GObject/BindingGroup/weak-ref-source 676s ok 8 /GObject/BindingGroup/weak-ref-target 676s ok 9 /GObject/BindingGroup/properties 676s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 676s ok 11 /GObject/BindingGroup/empty-closures 676s # End of BindingGroup tests 676s # End of GObject tests 676s TAP version 14 676s # random seed: R02Sc0c547b17f4eea5b7f73ccbaa61be1af 676s 1..1 676s # Start of closure tests 676s # Init 0x5d5592bd9d60 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from thread1 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from thread1 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from thread2 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from thread1 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from thread2 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from thread1 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from thread2 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from thread1 676s # Yielding from main thread 676s # Yielding from thread2 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from thread2 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from thread1 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from thread1 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from thread2 676s # Yielding from main thread 676s # Yielding from thread1 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from thread1 676s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from thread2 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from thread2 677s # Yielding from thread1 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from thread2 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from thread1 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from thread2 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from thread1 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from thread1 677s # Yielding from main thread 677s # Yielding from thread2 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Stopping 677s # Stopped 677s ok 1 /closure/refcount 677s # slow test /closure/refcount executed in 1.64 secs 677s # End of closure tests 677s ok - glib/closure-refcount.test 677s # Running test: glib/module-test-library.test 677s TAP version 14 677s # random seed: R02S77299fb41c56e49659bffc9cad6e0c90 677s 1..3 677s # Start of module tests 677s ok 1 /module/basics 677s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 677s ok 2 /module/invalid-libtool-archive 677s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 677s ok 3 /module/local-binding 677s ok - glib/module-test-library.test 677s # End of module tests 677s # Running test: glib/slist.test 677s TAP version 14 677s # random seed: R02S2007dd9b17cdb74e4b9ae43872253436 677s 1..14 677s # Start of slist tests 677s ok 1 /slist/sort 677s ok 2 /slist/sort-with-data 677s ok 3 /slist/insert-sorted 677s ok 4 /slist/insert-sorted-with-data 677s ok 5 /slist/reverse 677s ok - glib/slist.test 677s # Running test: glib/cxx.test 677s ok - glib/cxx.test 677s # Running test: glib/defaultiface.test 677s ok 6 /slist/nth 677s ok 7 /slist/remove 677s ok 8 /slist/remove-all 677s ok 9 /slist/insert 677s ok 10 /slist/position 677s ok 11 /slist/concat 677s ok 12 /slist/copy 677s # Start of sort tests 677s ok 13 /slist/sort/stable 677s # End of sort tests 677s # Start of copy tests 677s ok 14 /slist/copy/deep 677s # End of copy tests 677s # End of slist tests 677s TAP version 14 677s # random seed: R02S728e2616cc8936fbeb75784daa3b5440 677s 1..2 677s # Start of gtask tests 677s # 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. 677s ok 1 /gtask/name 677s # Start of name tests 677s # 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. 677s ok 2 /gtask/name/macro-wrapper 677s # End of name tests 677s # End of gtask tests 677s ok - glib/defaultiface.test 677s # Running test: glib/thumbnail-verification.test 677s ok - glib/thumbnail-verification.test 677s TAP version 14 677s # random seed: R02Scac85e521d6c16f33030ad5347a2c87e 677s 1..2 677s # Start of gobject tests 677s ok 1 /gobject/static-iface 677s ok 2 /gobject/dynamic-iface 677s # End of gobject tests 677s TAP version 14 677s # random seed: R02Sb4157fa6d452e5562bb64fd11a363f81 677s 1..1 677s # Start of png-thumbs tests 677s ok 1 /png-thumbs/validity 677s # End of png-thumbs tests 677s # Running test: glib/gsocketclient-slow.test 677s TAP version 14 677s # random seed: R02Sdc6b1226441c2d4979087fc423cf4051 677s 1..4 677s # Start of socket-client tests 677s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 677s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 677s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5ea2c7a7ab10 and GSocketClientAsyncConnectData 0x5ea2c7a750d0 677s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 677s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 677s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5ea2c7a7e5e0 for GSocketClientAsyncConnectData 0x5ea2c7a750d0 677s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 678s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 678s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 678s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 678s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 678s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 678s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5ea2c7a7e5e0 for GSocketClientAsyncConnectData 0x5ea2c7a750d0 678s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 678s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 678s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 678s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 678s ok 1 /socket-client/connection-fail 678s # slow test /socket-client/connection-fail executed in 1.20 secs 678s # Start of happy-eyeballs tests 678s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5ea2c7a7d300 and GSocketClientAsyncConnectData 0x5ea2c7a7df50 678s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 678s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 678s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5ea2c7a81560 for GSocketClientAsyncConnectData 0x5ea2c7a7df50 678s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 679s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 679s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 679s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 679s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 679s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 679s ok 2 /socket-client/happy-eyeballs/slow 679s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 679s # Start of cancellation tests 679s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5ea2c7a7dc30 and GSocketClientAsyncConnectData 0x5ea2c7a819e0 679s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 679s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 679s ok 3 /socket-client/happy-eyeballs/cancellation/instant 679s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5ea2c7a7d150 and GSocketClientAsyncConnectData 0x5ea2c7a816f0 679s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 679s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 679s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5ea2c7a813a0 for GSocketClientAsyncConnectData 0x5ea2c7a816f0 679s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 679s # Executing: glib/gsocketclient-slow.test 680s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 680s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 680s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 680s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 680s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 680s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 680s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 680s # End of cancellation tests 680s # End of happy-eyeballs tests 680s # End of socket-client tests 680s ok - glib/gsocketclient-slow.test 680s # Running test: glib/refcount-macro.test 680s TAP version 14 680s # random seed: R02Sfaf1b36e997871f00e622b2a3e16bcd1 680s 1..4 680s # Start of refcount tests 680s ok 1 /refcount/grefcount 680s ok 2 /refcount/gatomicrefcount 680s # Start of grefcount tests 680s ok 3 /refcount/grefcount/saturation 680s # End of grefcount tests 680s # Start of gatomicrefcount tests 680s ok 4 /refcount/gatomicrefcount/saturation 680s ok - glib/refcount-macro.test 680s # Running test: glib/gi-inspect-typelib.py.test 680s # End of gatomicrefcount tests 680s # End of refcount tests 680s TAP version 13 680s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help 680s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 680s # tmpdir: /tmp/tmpm8l2fel6 680s # Running: ['/usr/bin/gi-inspect-typelib', '--help'] 680s # Return code: 0 680s # Output: 680s # Usage: 680s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib 680s # 680s # Help Options: 680s # -h, --help Show help options 680s # 680s # Application Options: 680s # --typelib-version=VERSION Typelib version to inspect 680s # --print-shlibs List the shared libraries the typelib requires 680s # --print-typelibs List other typelibs the inspected typelib requires 680s # Error: 680s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib 680s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 680s # tmpdir: /tmp/tmpk34sk22a 680s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace'] 680s # Return code: 1 680s # Output: 680s # 680s # Error: 680s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found 680s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args 680s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 680s # tmpdir: /tmp/tmppuy6aye9 680s # Running: ['/usr/bin/gi-inspect-typelib'] 680s # Return code: 1 680s # Output: 680s # 680s # Error: 680s # Please specify exactly one namespace 680s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs 680s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 680s # tmpdir: /tmp/tmptu09uttm 680s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 680s # Return code: 0 680s # Output: 680s # shlib: libgobject-2.0.so.0 680s # shlib: libglib-2.0.so.0 680s # Error: 680s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs 680s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 680s # tmpdir: /tmp/tmpiytaft8v 680s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0'] 680s # Return code: 0 680s # Output: 680s # 680s # Error: 680s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs 680s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 680s # tmpdir: /tmp/tmpfg2ksggs 680s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 680s # Return code: 0 680s # Output: 680s # shlib: libgobject-2.0.so.0 680s # shlib: libglib-2.0.so.0 680s # Error: 680s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs 680s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 680s # tmpdir: /tmp/tmp2jioear7 680s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 680s # Return code: 0 680s # Output: 680s # shlib: libgobject-2.0.so.0 680s # Error: 680s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs 680s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 680s # tmpdir: /tmp/tmpodzjd46v 680s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0'] 680s # Return code: 0 680s # Output: 680s # typelib: GLib-2.0 680s # Error: 680s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs 680s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 680s # tmpdir: /tmp/tmp556cw2ca 680s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 680s # Return code: 0 680s # Output: 680s # shlib: libgobject-2.0.so.0 680s # typelib: GLib-2.0 680s # Error: 680s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs 680s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 680s # tmpdir: /tmp/tmpw4ixuter 680s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 680s # Return code: 0 680s # Output: 680s # shlib: libgio-2.0.so.0 680s # Error: 680s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs 680s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 680s # tmpdir: /tmp/tmpvg7rri0v 680s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0'] 680s # Return code: 0 680s # Output: 680s # typelib: GObject-2.0 680s # typelib: GLib-2.0 680s # typelib: GModule-2.0 680s # Error: 680s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs 680s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 680s # tmpdir: /tmp/tmpadtiur2x 680s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 680s # Return code: 0 680s # Output: 680s # shlib: libgio-2.0.so.0 680s # typelib: GObject-2.0 680s # typelib: GLib-2.0 680s # typelib: GModule-2.0 680s # Error: 680s 1..12 680s ok - glib/gi-inspect-typelib.py.test 680s # Running test: glib/gvariant.test 680s TAP version 14 680s # random seed: R02Sf180bbf64154e928510d84c43ea88764 680s 1..69 680s # Start of gvariant tests 680s ok 1 /gvariant/type 680s ok 2 /gvariant/typeinfo 680s ok 3 /gvariant/string 680s ok 4 /gvariant/utf8 680s ok 5 /gvariant/utf8-new-strings 680s ok 6 /gvariant/containers 680s ok 7 /gvariant/format-strings 680s ok 8 /gvariant/invalid-varargs 680s ok 9 /gvariant/varargs 680s ok 10 /gvariant/valist 680s ok 11 /gvariant/builder-memory 680s ok 12 /gvariant/hashing 680s ok 13 /gvariant/byteswap 680s ok 14 /gvariant/parser 680s ok 15 /gvariant/parse-failures 680s ok 16 /gvariant/parse-positional 680s ok 17 /gvariant/floating 680s ok 18 /gvariant/bytestring 680s ok 19 /gvariant/lookup-value 680s ok 20 /gvariant/lookup 680s ok 21 /gvariant/compare 680s ok 22 /gvariant/equal 680s ok 23 /gvariant/fixed-array 680s ok 24 /gvariant/check-format-string 680s ok 25 /gvariant/checksum-basic 680s ok 26 /gvariant/checksum-nested 680s ok 27 /gvariant/gbytes 680s ok 28 /gvariant/print-context 680s ok 29 /gvariant/error-quark 680s ok 30 /gvariant/stack-builder-init 680s ok 31 /gvariant/stack-builder-init-static 680s ok 32 /gvariant/stack-builder-init-unset 680s ok 33 /gvariant/stack-dict-init 680s ok 34 /gvariant/unaligned-construction 680s # Start of type tests 680s # Start of string-scan tests 680s # Start of recursion tests 680s ok 35 /gvariant/type/string-scan/recursion/tuple 680s ok 36 /gvariant/type/string-scan/recursion/array 680s # End of recursion tests 680s # End of string-scan tests 680s # End of type tests 680s # Start of serialiser tests 681s ok 37 /gvariant/serialiser/maybe 681s ok 38 /gvariant/serialiser/array 681s ok 39 /gvariant/serialiser/tuple 681s ok 40 /gvariant/serialiser/variant 681s ok 41 /gvariant/serialiser/strings 681s ok 42 /gvariant/serialiser/byteswap 681s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 681s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 681s ok 43 /gvariant/serialiser/children 681s # Start of byteswap tests 681s ok 44 /gvariant/serialiser/byteswap/zero-sized 681s # End of byteswap tests 681s # Start of fuzz tests 681s ok 45 /gvariant/serialiser/fuzz/1% 681s ok 46 /gvariant/serialiser/fuzz/5% 681s ok 47 /gvariant/serialiser/fuzz/9% 682s ok 48 /gvariant/serialiser/fuzz/13% 682s ok 49 /gvariant/serialiser/fuzz/17% 682s # End of fuzz tests 682s # End of serialiser tests 682s # Start of utf8 tests 682s # Start of subprocess tests 682s # End of subprocess tests 682s # End of utf8 tests 682s # Start of varargs tests 682s # Start of subprocess tests 682s # End of subprocess tests 682s # End of varargs tests 682s # Start of byteswap tests 682s # /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. 682s ok 50 /gvariant/byteswap/non-normal-non-aligned 682s # End of byteswap tests 682s # Start of parser tests 682s ok 51 /gvariant/parser/integer-bounds 682s ok 52 /gvariant/parser/recursion 682s # Start of recursion tests 682s ok 53 /gvariant/parser/recursion/typedecls 682s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 682s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 682s # Text form 0: @mmmu 5 682s # Text form 1: @mmmas ['hello'] 682s # Text form 2: @mmmu just just nothing 682s # Text form 3: @mmmas just just nothing 682s # Text form 4: @mmmu just nothing 682s # Text form 5: @mmmas just nothing 682s # Text form 6: @mmmu nothing 682s # Text form 7: @mmmas nothing 682s ok 54 /gvariant/parser/recursion/maybes 682s # End of recursion tests 682s # End of parser tests 682s # Start of parse tests 682s # Start of subprocess tests 682s # End of subprocess tests 682s # End of parse tests 682s # Start of normal-checking tests 682s ok 55 /gvariant/normal-checking/tuples 682s ok 56 /gvariant/normal-checking/array-offsets 682s ok 57 /gvariant/normal-checking/array-offsets2 682s ok 58 /gvariant/normal-checking/tuple-offsets 682s ok 59 /gvariant/normal-checking/tuple-offsets2 682s ok 60 /gvariant/normal-checking/tuple-offsets3 682s ok 61 /gvariant/normal-checking/tuple-offsets4 682s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 682s ok 62 /gvariant/normal-checking/tuple-offsets5 682s ok 63 /gvariant/normal-checking/empty-object-path 682s # Start of array-offsets tests 682s ok 64 /gvariant/normal-checking/array-offsets/overlapped 682s ok 65 /gvariant/normal-checking/array-offsets/minimal-sized 682s # End of array-offsets tests 682s # Start of tuple-offsets tests 682s ok 66 /gvariant/normal-checking/tuple-offsets/minimal-sized 682s # End of tuple-offsets tests 682s # End of normal-checking tests 682s # Start of recursion-limits tests 682s ok 67 /gvariant/recursion-limits/variant-in-variant 682s ok 68 /gvariant/recursion-limits/array-in-variant 682s # End of recursion-limits tests 682s # End of gvariant tests 682s # Start of gvarianttype tests 682s ok 69 /gvarianttype/hash 682s # End of gvarianttype tests 682s ok - glib/gvariant.test 682s # Running test: glib/gdbus-test-codegen-old.test 682s TAP version 14 682s # random seed: R02S921cd732b4d6a51ab594f1faae942231 682s 1..8 682s # Start of gdbus tests 682s # Start of codegen tests 682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/annotations/.dirs/home 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/annotations/.dirs/cache 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/annotations/.dirs/system-config2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/annotations/.dirs/config 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/annotations/.dirs/system-data2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/annotations/.dirs/data 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/annotations/.dirs/state 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/annotations/.dirs/runtime 682s ok 1 /gdbus/codegen/annotations 682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/interface_stability/.dirs/home 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/interface_stability/.dirs/cache 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/interface_stability/.dirs/system-config2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/interface_stability/.dirs/config 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/interface_stability/.dirs/system-data2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/interface_stability/.dirs/data 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/interface_stability/.dirs/state 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/interface_stability/.dirs/runtime 682s ok 2 /gdbus/codegen/interface_stability 682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/object-manager/.dirs/home 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/object-manager/.dirs/cache 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/object-manager/.dirs/system-config2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/object-manager/.dirs/config 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/object-manager/.dirs/system-data2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/object-manager/.dirs/data 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/object-manager/.dirs/state 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/object-manager/.dirs/runtime 682s ok 3 /gdbus/codegen/object-manager 682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/property-naming/.dirs/home 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/property-naming/.dirs/cache 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/property-naming/.dirs/system-config2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/property-naming/.dirs/config 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/property-naming/.dirs/system-data2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/property-naming/.dirs/data 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/property-naming/.dirs/state 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/property-naming/.dirs/runtime 682s ok 4 /gdbus/codegen/property-naming 682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/autocleanups/.dirs/home 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/autocleanups/.dirs/cache 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/autocleanups/.dirs/system-config2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/autocleanups/.dirs/config 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/autocleanups/.dirs/system-data2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/autocleanups/.dirs/data 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/autocleanups/.dirs/state 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/autocleanups/.dirs/runtime 682s ok 5 /gdbus/codegen/autocleanups 682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/deprecations/.dirs/home 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/deprecations/.dirs/cache 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/deprecations/.dirs/system-config2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/deprecations/.dirs/config 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/deprecations/.dirs/system-data2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/deprecations/.dirs/data 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/deprecations/.dirs/state 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/deprecations/.dirs/runtime 682s ok 6 /gdbus/codegen/deprecations 682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/standalone-interface-info/.dirs/home 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/standalone-interface-info/.dirs/cache 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/standalone-interface-info/.dirs/system-config2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/standalone-interface-info/.dirs/config 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/standalone-interface-info/.dirs/system-data2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/standalone-interface-info/.dirs/data 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/standalone-interface-info/.dirs/state 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/standalone-interface-info/.dirs/runtime 682s ok 7 /gdbus/codegen/standalone-interface-info 682s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/unix-fd-list/.dirs/home 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/unix-fd-list/.dirs/cache 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/unix-fd-list/.dirs/system-config2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/unix-fd-list/.dirs/config 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/unix-fd-list/.dirs/system-data2 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/unix-fd-list/.dirs/data 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/unix-fd-list/.dirs/state 682s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3LBA62/gdbus/codegen/unix-fd-list/.dirs/runtime 682s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 682s ok 8 /gdbus/codegen/unix-fd-list 682s # End of codegen tests 682s # End of gdbus tests 682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 682s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 682s TAP version 14 682s # random seed: R02S477421161af7840b3ccd3c998bef3844 682s 1..2 682s # Start of object tests 682s # Start of constructor tests 682s ok 1 /object/constructor/singleton 682s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 682s # End of constructor tests 682s # End of object tests 682s TAP version 14 682s # random seed: R02S5097e61c64c3f238bc0b80e475ab8953 682s 1..6 682s # Start of glib tests 682s # Start of checked-math tests 682s ok 1 /glib/checked-math/guint-add 682s ok 2 /glib/checked-math/guint-mul 682s ok 3 /glib/checked-math/guint64-add 682s ok 4 /glib/checked-math/guint64-mul 682s ok 5 /glib/checked-math/gsize-add 682s ok 6 /glib/checked-math/gsize-mul 682s # End of checked-math tests 682s # End of glib tests 682s ok - glib/gdbus-test-codegen-old.test 682s # Running test: glib/object.test 682s ok - glib/object.test 682s # Running test: glib/overflow.test 682s ok - glib/overflow.test 682s # Running test: glib/genmarshal.py.test 682s TAP version 13 682s ok 1 __main__.TestGenmarshal.test_empty_list 682s # glib-genmarshal: /usr/bin/glib-genmarshal 682s # tmpdir: /tmp/tmpmr3p6opj 682s # /tmp/tmpmr3p6opj/tmp3it3lapo.list: 682s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpmr3p6opj/tmp3it3lapo.list', '--header', '--quiet'] 682s # Return code: 0 682s # Output: 682s # /* 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. */ 682s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 682s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 682s # 682s # #include 682s # 682s # G_BEGIN_DECLS 682s # 682s # 682s # G_END_DECLS 682s # 682s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 682s # Error: 682s # 682s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpmr3p6opj/tmp3it3lapo.list', '--body', '--quiet'] 682s # Return code: 0 682s # Output: 682s # /* 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. */ 682s # #include 682s # 682s # #ifdef G_ENABLE_DEBUG 682s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 682s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 682s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 682s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 682s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 682s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 682s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 682s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 682s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 682s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 682s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 682s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 682s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 682s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 682s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 682s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 682s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 682s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 682s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 682s # #else /* !G_ENABLE_DEBUG */ 682s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 682s # * Do not access GValues directly in your code. Instead, use the 682s # * g_value_get_*() functions 682s # */ 682s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 682s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 682s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 682s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 682s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 682s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 682s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 682s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 682s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 682s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 682s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 682s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 682s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 682s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 682s # #endif /* !G_ENABLE_DEBUG */ 682s # Error: 682s ok 2 __main__.TestGenmarshal.test_help 682s # glib-genmarshal: /usr/bin/glib-genmarshal 682s # tmpdir: /tmp/tmpgcrbtjk0 682s # Running: ['/usr/bin/glib-genmarshal', '--help'] 682s # Return code: 0 682s # Output: 682s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 682s # [--internal] [--valist-marshallers] [-v] 682s # [--g-fatal-warnings] [--include-header [HEADER]] 682s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 682s # [--prototypes] [--header] [--body] [--stdinc | 682s # --nostdinc] [--quiet | --verbose] 682s # [FILE ...] 682s # 682s # Generate signal marshallers for GObject 682s # 682s # positional arguments: 682s # FILE Files with lists of marshallers to generate, or "-" 682s # for standard input 682s # 682s # options: 682s # -h, --help show this help message and exit 682s # --prefix STRING Specify marshaller prefix 682s # --output FILE Write output into the specified file 682s # --skip-source Skip source location comments 682s # --internal Mark generated functions as internal 682s # --valist-marshallers Generate va_list marshallers 682s # -v, --version Print version information, and exit 682s # --g-fatal-warnings Make warnings fatal 682s # --include-header [HEADER] 682s # Include the specified header in the body 682s # --pragma-once Use "pragma once" as the inclusion guard 682s # -D CPP_DEFINES Pre-processor define 682s # -U CPP_UNDEFINES Pre-processor undefine 682s # --prototypes Generate the marshallers prototype in the C code 682s # --header Generate C headers 682s # --body Generate C code 682s # --stdinc Include standard marshallers 682s # --nostdinc Use standard marshallers 682s # --quiet Only print warnings and errors 682s # --verbose Be verbose, and include debugging information 682s # Error: 682s ok 3 __main__.TestGenmarshal.test_no_args 682s # glib-genmarshal: /usr/bin/glib-genmarshal 682s # tmpdir: /tmp/tmp8zwpmrmx 682s # Running: ['/usr/bin/glib-genmarshal'] 682s # Return code: 0 682s # Output: 682s # 682s # Error: 682s ok 4 __main__.TestGenmarshal.test_void_boolean 682s # glib-genmarshal: /usr/bin/glib-genmarshal 682s # tmpdir: /tmp/tmpywj3dnmj 682s # /tmp/tmpywj3dnmj/tmppinol60h.list: VOID:BOOLEAN 682s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpywj3dnmj/tmppinol60h.list', '--header', '--quiet'] 682s # Return code: 0 682s # Output: 682s # /* 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. */ 682s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 682s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 682s # 682s # #include 682s # 682s # G_BEGIN_DECLS 682s # 682s # /* VOID:BOOLEAN (/tmp/tmpywj3dnmj/tmppinol60h.list:1) */ 682s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 682s # 682s # 682s # G_END_DECLS 682s # 682s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 682s # Error: 682s # 682s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpywj3dnmj/tmppinol60h.list', '--body', '--quiet'] 682s # Return code: 0 682s # Output: 682s # /* 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. */ 682s # #include 682s # 682s # #ifdef G_ENABLE_DEBUG 682s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 682s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 682s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 682s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 682s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 682s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 682s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 682s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 682s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 682s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 682s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 682s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 682s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 682s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 682s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 682s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 682s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 682s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 682s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 682s # #else /* !G_ENABLE_DEBUG */ 682s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 682s # * Do not access GValues directly in your code. Instead, use the 682s # * g_value_get_*() functions 682s # */ 682s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 682s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 682s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 682s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 682s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 682s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 682s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 682s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 682s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 682s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 682s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 682s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 682s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 682s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 682s # #endif /* !G_ENABLE_DEBUG */ 682s # Error: 682s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 682s # glib-genmarshal: /usr/bin/glib-genmarshal 682s # tmpdir: /tmp/tmph_j8f9rr 682s # /tmp/tmph_j8f9rr/tmpa35ww5co.list: VOID:BOOLEAN,INT64 682s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmph_j8f9rr/tmpa35ww5co.list', '--header', '--quiet'] 682s # Return code: 0 682s # Output: 682s # /* 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. */ 682s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 682s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 682s # 682s # #include 682s # 682s # G_BEGIN_DECLS 682s # 682s # /* VOID:BOOLEAN,INT64 (/tmp/tmph_j8f9rr/tmpa35ww5co.list:1) */ 682s # extern 682s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 682s # GValue *return_value, 682s # guint n_param_values, 682s # const GValue *param_values, 682s # gpointer invocation_hint, 682s # gpointer marshal_data); 682s # 682s # 682s # G_END_DECLS 682s # 682s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 682s # Error: 682s # 682s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmph_j8f9rr/tmpa35ww5co.list', '--body', '--quiet'] 682s # Return code: 0 682s # Output: 682s # /* 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. */ 682s # #include 682s # 682s # #ifdef G_ENABLE_DEBUG 682s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 682s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 682s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 682s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 682s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 682s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 682s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 682s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 682s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 682s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 682s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 682s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 682s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 682s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 682s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 682s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 682s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 682s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 682s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 682s # #else /* !G_ENABLE_DEBUG */ 682s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 682s # * Do not access GValues directly in your code. Instead, use the 682s # * g_value_get_*() functions 682s # */ 682s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 682s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 682s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 682s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 682s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 682s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 682s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 682s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 682s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 682s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 682s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 682s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 682s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 682s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 682s # #endif /* !G_ENABLE_DEBUG */ 682s # 682s # /* VOID:BOOLEAN,INT64 (/tmp/tmph_j8f9rr/tmpa35ww5co.list:1) */ 682s # void 682s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 682s # GValue *return_value G_GNUC_UNUSED, 682s # guint n_param_values, 682s # const GValue *param_values, 682s # gpointer invocation_hint G_GNUC_UNUSED, 682s # gpointer marshal_data) 682s # { 682s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 682s # gboolean arg1, 682s # gint64 arg2, 682s # gpointer data2); 682s # GCClosure *cc = (GCClosure *) closure; 682s # gpointer data1, data2; 682s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 682s # 682s # g_return_if_fail (n_param_values == 3); 682s # 682s # if (G_CCLOSURE_SWAP_DATA (closure)) 682s # { 682s # data1 = closure->data; 682s # data2 = g_value_peek_pointer (param_values + 0); 682s # } 682s # else 682s # { 682s # data1 = g_value_peek_pointer (param_values + 0); 682s # data2 = closure->data; 682s # } 682s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 682s # 682s # callback (data1, 682s # g_marshal_value_peek_boolean (param_values + 1), 682s # g_marshal_value_peek_int64 (param_values + 2), 682s # data2); 682s # } 682s # Error: 682s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 682s # glib-genmarshal: /usr/bin/glib-genmarshal 682s # tmpdir: /tmp/tmpwx5p2wzw 682s # /tmp/tmpwx5p2wzw/tmpkhsx1hx_.list: VOID:PARAM 682s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpwx5p2wzw/tmpkhsx1hx_.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 682s # Return code: 0 682s # Output: 682s # /* 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. */ 682s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 682s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 682s # 682s # G_BEGIN_DECLS 682s # 682s # /* VOID:PARAM (/tmp/tmpwx5p2wzw/tmpkhsx1hx_.list:1) */ 682s # extern 682s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 682s # GValue *return_value, 682s # guint n_param_values, 682s # const GValue *param_values, 682s # gpointer invocation_hint, 682s # gpointer marshal_data); 682s # extern 682s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 682s # GValue *return_value, 682s # gpointer instance, 682s # va_list args, 682s # gpointer marshal_data, 682s # int n_params, 682s # GType *param_types); 682s # 682s # 682s # G_END_DECLS 682s # 682s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 682s # Error: 682s # 682s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpwx5p2wzw/tmpkhsx1hx_.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 682s # Return code: 0 682s # Output: 682s # /* 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. */ 682s # #ifdef G_ENABLE_DEBUG 682s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 682s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 682s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 682s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 682s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 682s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 682s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 682s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 682s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 682s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 682s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 682s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 682s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 682s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 682s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 682s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 682s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 682s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 682s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 682s # #else /* !G_ENABLE_DEBUG */ 682s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 682s # * Do not access GValues directly in your code. Instead, use the 682s # * g_value_get_*() functions 682s # */ 682s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 682s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 682s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 682s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 682s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 682s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 682s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 682s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 682s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 682s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 682s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 682s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 682s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 682s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 682s # #endif /* !G_ENABLE_DEBUG */ 682s # 682s # /* VOID:PARAM (/tmp/tmpwx5p2wzw/tmpkhsx1hx_.list:1) */ 682s # void 682s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 682s # GValue *return_value G_GNUC_UNUSED, 682s # guint n_param_values, 682s # const GValue *param_values, 682s # gpointer invocation_hint G_GNUC_UNUSED, 682s # gpointer marshal_data) 682s # { 682s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 682s # gpointer arg1, 682s # gpointer data2); 682s # GCClosure *cc = (GCClosure *) closure; 682s # gpointer data1, data2; 682s # GMarshalFunc_VOID__PARAM callback; 682s # 682s # g_return_if_fail (n_param_values == 2); 682s # 682s # if (G_CCLOSURE_SWAP_DATA (closure)) 682s # { 682s # data1 = closure->data; 682s # data2 = g_value_peek_pointer (param_values + 0); 682s # } 682s # else 682s # { 682s # data1 = g_value_peek_pointer (param_values + 0); 682s # data2 = closure->data; 682s # } 682s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 682s # 682s # callback (data1, 682s # g_marshal_value_peek_param (param_values + 1), 682s # data2); 682s # } 682s # 682s # void 682s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 682s # GValue *return_value G_GNUC_UNUSED, 682s # gpointer instance, 682s # va_list args, 682s # gpointer marshal_data, 682s # int n_params, 682s # GType *param_types) 682s # { 682s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 682s # gpointer arg1, 682s # gpointer data2); 682s # GCClosure *cc = (GCClosure *) closure; 682s # gpointer data1, data2; 682s # GMarshalFunc_VOID__PARAM callback; 682s # gpointer arg0; 682s # va_list args_copy; 682s # 682s # va_copy (args_copy, args); 682s # arg0 = (gpointer) va_arg (args_copy, gpointer); 682s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 682s # arg0 = g_param_spec_ref (arg0); 682s # va_end (args_copy); 682s # 682s # 682s # if (G_CCLOSURE_SWAP_DATA (closure)) 682s # { 682s # data1 = closure->data; 682s # data2 = instance; 682s # } 682s # else 682s # { 682s # data1 = instance; 682s # data2 = closure->data; 682s # } 682s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 682s # 682s # callback (data1, 682s # arg0, 682s # data2); 682s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 682s # g_param_spec_unref (arg0); 682s # } 682s # Error: 682s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 682s # glib-genmarshal: /usr/bin/glib-genmarshal 682s # tmpdir: /tmp/tmpsbjesaci 682s # /tmp/tmpsbjesaci/tmpuzi2kqm3.list: VOID:STRING 682s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpsbjesaci/tmpuzi2kqm3.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 682s # Return code: 0 682s # Output: 682s # /* 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. */ 682s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 682s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 682s # 682s # G_BEGIN_DECLS 682s # 682s # /* VOID:STRING (/tmp/tmpsbjesaci/tmpuzi2kqm3.list:1) */ 682s # extern 682s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 682s # GValue *return_value, 682s # guint n_param_values, 682s # const GValue *param_values, 682s # gpointer invocation_hint, 682s # gpointer marshal_data); 682s # extern 682s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 682s # GValue *return_value, 682s # gpointer instance, 682s # va_list args, 682s # gpointer marshal_data, 682s # int n_params, 682s # GType *param_types); 682s # 682s # 682s # G_END_DECLS 682s # 682s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 682s # Error: 682s # 682s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpsbjesaci/tmpuzi2kqm3.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 682s # Return code: 0 682s # Output: 682s # /* 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. */ 682s # #ifdef G_ENABLE_DEBUG 682s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 682s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 682s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 682s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 682s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 682s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 682s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 682s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 682s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 682s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 682s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 682s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 682s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 682s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 682s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 682s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 682s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 682s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 682s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 682s # #else /* !G_ENABLE_DEBUG */ 682s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 682s # * Do not access GValues directly in your code. Instead, use the 682s # * g_value_get_*() functions 682s # */ 682s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 682s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 682s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 682s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 682s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 682s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 682s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 682s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 682s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 682s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 682s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 682s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 682s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 682s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 682s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 682s # #endif /* !G_ENABLE_DEBUG */ 682s # 682s # /* VOID:STRING (/tmp/tmpsbjesaci/tmpuzi2kqm3.list:1) */ 682s # void 682s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 682s # GValue *return_value G_GNUC_UNUSED, 682s # guint n_param_values, 682s # const GValue *param_values, 682s # gpointer invocation_hint G_GNUC_UNUSED, 682s # gpointer marshal_data) 682s # { 682s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 682s # gpointer arg1, 682s # gpointer data2); 682s # GCClosure *cc = (GCClosure *) closure; 682s # gpointer data1, data2; 682s # GMarshalFunc_VOID__STRING callback; 682s # 682s # g_return_if_fail (n_param_values == 2); 682s # 682s # if (G_CCLOSURE_SWAP_DATA (closure)) 682s # { 682s # data1 = closure->data; 682s # data2 = g_value_peek_pointer (param_values + 0); 682s # } 682s # else 682s # { 682s # data1 = g_value_peek_pointer (param_values + 0); 682s # data2 = closure->data; 682s # } 682s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 682s # 682s # callback (data1, 682s # g_marshal_value_peek_string (param_values + 1), 682s # data2); 682s # } 682s # 682s # void 682s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 682s # GValue *return_value G_GNUC_UNUSED, 682s # gpointer instance, 682s # va_list args, 682s # gpointer marshal_data, 682s # int n_params, 682s # GType *param_types) 682s # { 682s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 682s # gpointer arg1, 682s # gpointer data2); 682s # GCClosure *cc = (GCClosure *) closure; 682s # gpointer data1, data2; 682s # GMarshalFunc_VOID__STRING callback; 682s # gpointer arg0; 682s # va_list args_copy; 682s # 682s # va_copy (args_copy, args); 682s # arg0 = (gpointer) va_arg (args_copy, gpointer); 682s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 682s # arg0 = g_strdup (arg0); 682s # va_end (args_copy); 682s # 682s # 682s # if (G_CCLOSURE_SWAP_DATA (closure)) 682s # { 682s # data1 = closure->data; 682s # data2 = instance; 682s # } 682s # else 682s # { 682s # data1 = instance; 682s # data2 = closure->data; 682s # } 682s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 682s # 682s # callback (data1, 682s # arg0, 682s # data2); 682s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 682s # g_free (arg0); 682s # } 682s # Error: 683s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 683s # glib-genmarshal: /usr/bin/glib-genmarshal 683s # tmpdir: /tmp/tmpzj5nt2an 683s # /tmp/tmpzj5nt2an/tmphivn94kd.list: VOID:VARIANT 683s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpzj5nt2an/tmphivn94kd.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 683s # Return code: 0 683s # Output: 683s # /* 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. */ 683s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 683s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 683s # 683s # G_BEGIN_DECLS 683s # 683s # /* VOID:VARIANT (/tmp/tmpzj5nt2an/tmphivn94kd.list:1) */ 683s # extern 683s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 683s # GValue *return_value, 683s # guint n_param_values, 683s # const GValue *param_values, 683s # gpointer invocation_hint, 683s # gpointer marshal_data); 683s # extern 683s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 683s # GValue *return_value, 683s # gpointer instance, 683s # va_list args, 683s # gpointer marshal_data, 683s # int n_params, 683s # GType *param_types); 683s # 683s # 683s # G_END_DECLS 683s # 683s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 683s # Error: 683s # 683s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpzj5nt2an/tmphivn94kd.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 683s # Return code: 0 683s # Output: 683s # /* 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. */ 683s # #ifdef G_ENABLE_DEBUG 683s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 683s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 683s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 683s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 683s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 683s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 683s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 683s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 683s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 683s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 683s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 683s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 683s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 683s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 683s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 683s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 683s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 683s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 683s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 683s # #else /* !G_ENABLE_DEBUG */ 683s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 683s # * Do not access GValues directly in your code. Instead, use the 683s # * g_value_get_*() functions 683s # */ 683s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 683s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 683s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 683s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 683s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 683s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 683s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 683s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 683s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 683s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 683s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 683s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 683s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 683s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 683s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 683s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 683s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 683s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 683s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 683s # #endif /* !G_ENABLE_DEBUG */ 683s # 683s # /* VOID:VARIANT (/tmp/tmpzj5nt2an/tmphivn94kd.list:1) */ 683s # void 683s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 683s # GValue *return_value G_GNUC_UNUSED, 683s # guint n_param_values, 683s # const GValue *param_values, 683s # gpointer invocation_hint G_GNUC_UNUSED, 683s # gpointer marshal_data) 683s # { 683s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 683s # gpointer arg1, 683s # gpointer data2); 683s # GCClosure *cc = (GCClosure *) closure; 683s # gpointer data1, data2; 683s # GMarshalFunc_VOID__VARIANT callback; 683s # 683s # g_return_if_fail (n_param_values == 2); 683s # 683s # if (G_CCLOSURE_SWAP_DATA (closure)) 683s # { 683s # data1 = closure->data; 683s # data2 = g_value_peek_pointer (param_values + 0); 683s # } 683s # else 683s # { 683s # data1 = g_value_peek_pointer (param_values + 0); 683s # data2 = closure->data; 683s # } 683s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 683s # 683s # callback (data1, 683s # g_marshal_value_peek_variant (param_values + 1), 683s # data2); 683s # } 683s # 683s # void 683s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 683s # GValue *return_value G_GNUC_UNUSED, 683s # gpointer instance, 683s # va_list args, 683s # gpointer marshal_data, 683s # int n_params, 683s # GType *param_types) 683s # { 683s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 683s # gpointer arg1, 683s # gpointer data2); 683s # GCClosure *cc = (GCClosure *) closure; 683s # gpointer data1, data2; 683s # GMarshalFunc_VOID__VARIANT callback; 683s # gpointer arg0; 683s # va_list args_copy; 683s # 683s # va_copy (args_copy, args); 683s # arg0 = (gpointer) va_arg (args_copy, gpointer); 683s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 683s # arg0 = g_variant_ref_sink (arg0); 683s # va_end (args_copy); 683s # 683s # 683s # if (G_CCLOSURE_SWAP_DATA (closure)) 683s # { 683s # data1 = closure->data; 683s # data2 = instance; 683s # } 683s # else 683s # { 683s # data1 = instance; 683s # data2 = closure->data; 683s # } 683s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 683s # 683s # callback (data1, 683s # arg0, 683s # data2); 683s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 683s # g_variant_unref (arg0); 683s # } 683s # Error: 683s 1..8 683s ok - glib/genmarshal.py.test 683s # Running test: glib/1bit-mutex.test 683s TAP version 14 683s # random seed: R02S3ea73f2dcad54101d0a0aada9dfe3f5c 683s 1..2 683s # Start of glib tests 683s # Start of 1bit-mutex tests 684s # Executing: glib/1bit-mutex.test 689s # Executing: glib/1bit-mutex.test 691s ok 1 /glib/1bit-mutex/int 691s # slow test /glib/1bit-mutex/int executed in 8.28 secs 694s # Executing: glib/1bit-mutex.test 699s ok 2 /glib/1bit-mutex/pointer 699s # slow test /glib/1bit-mutex/pointer executed in 8.03 secs 699s # End of 1bit-mutex tests 699s # End of glib tests 699s ok - glib/1bit-mutex.test 699s # Running test: glib/unicode-normalize.test 699s TAP version 14 699s # random seed: R02S867c07bc42c3b6dbd67b2ccaca8bd006 699s 1..3 699s # Start of unicode tests 699s # Processing Part0 # Specific cases 699s # Processing Part1 # Character by character test 699s # Processing Part2 # Canonical Order Test 699s # Processing Part3 # PRI #29 Test 699s # Processing Part4 # Canonical closures (excluding Hangul) 699s # Processing Part5 # Chained primary composites 699s ok 1 /unicode/normalize 699s # Invalid UTF-8 vector 0 699s # Invalid UTF-8 vector 1 699s # Invalid UTF-8 vector 2 699s # Invalid UTF-8 vector 3 699s # Invalid UTF-8 vector 4 699s # Invalid UTF-8 vector 5 699s # Invalid UTF-8 vector 6 699s # Invalid UTF-8 vector 7 699s # Invalid UTF-8 vector 8 699s # Invalid UTF-8 vector 9 699s ok - glib/unicode-normalize.test 699s # Running test: glib/properties-refcount4.test 699s ok - glib/properties-refcount4.test 699s # Running test: glib/portal-support-snap.test 699s # Invalid UTF-8 vector 10 699s # Invalid UTF-8 vector 11 699s # Invalid UTF-8 vector 12 699s ok 2 /unicode/normalize-invalid 699s # Start of normalize tests 699s ok 3 /unicode/normalize/bad-length 699s # End of normalize tests 699s # End of unicode tests 699s TAP version 14 699s # random seed: R02Sa80d5f4bce4db1340eb349dbf465252c 699s 1..1 699s # Start of gobject tests 699s # Start of refcount tests 699s ok 1 /gobject/refcount/properties-4 699s # End of refcount tests 699s # End of gobject tests 699s TAP version 14 699s # random seed: R02S264d18c6c3bfc38a80b3ab8f620151d1 699s 1..7 699s # Start of portal-support tests 699s # Start of snap tests 699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/no-snapctl/.dirs/home 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/no-snapctl/.dirs/cache 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_4SST52/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_4SST52/portal-support/snap/no-snapctl/.dirs/system-config2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/no-snapctl/.dirs/config 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_4SST52/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_4SST52/portal-support/snap/no-snapctl/.dirs/system-data2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/no-snapctl/.dirs/data 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/no-snapctl/.dirs/state 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_4SST52/portal-support/snap/no-snapctl/.dirs/runtime 699s # Created snap.yaml in /tmp/test_portal-support-snap_4SST52/meta/snap.yaml 699s Unable to clean up temporary directory /tmp/test_portal-support-snap_4SST52/portal-support/snap/no-snapctl: No such file or directory 699s ok 1 /portal-support/snap/no-snapctl 699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/none/.dirs/home 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/none/.dirs/cache 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_4SST52/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_4SST52/portal-support/snap/none/.dirs/system-config2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/none/.dirs/config 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_4SST52/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_4SST52/portal-support/snap/none/.dirs/system-data2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/none/.dirs/data 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/none/.dirs/state 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_4SST52/portal-support/snap/none/.dirs/runtime 699s # Created snap.yaml in /tmp/test_portal-support-snap_4SST52/meta/snap.yaml 699s # Created snapctl in /tmp/test_portal-support-snap_4SST52/portal-support/snap/none/.dirs/runtime/snapctl 699s Unable to clean up temporary directory /tmp/test_portal-support-snap_4SST52/portal-support/snap/none: No such file or directory 699s ok 2 /portal-support/snap/none 699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/all/.dirs/home 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/all/.dirs/cache 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_4SST52/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_4SST52/portal-support/snap/all/.dirs/system-config2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/all/.dirs/config 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_4SST52/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_4SST52/portal-support/snap/all/.dirs/system-data2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/all/.dirs/data 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/all/.dirs/state 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_4SST52/portal-support/snap/all/.dirs/runtime 699s # Created snap.yaml in /tmp/test_portal-support-snap_4SST52/meta/snap.yaml 699s # Created snapctl in /tmp/test_portal-support-snap_4SST52/portal-support/snap/all/.dirs/runtime/snapctl 699s Unable to clean up temporary directory /tmp/test_portal-support-snap_4SST52/portal-support/snap/all: No such file or directory 699s ok 3 /portal-support/snap/all 699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/desktop-only/.dirs/home 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/desktop-only/.dirs/cache 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_4SST52/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_4SST52/portal-support/snap/desktop-only/.dirs/system-config2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/desktop-only/.dirs/config 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_4SST52/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_4SST52/portal-support/snap/desktop-only/.dirs/system-data2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/desktop-only/.dirs/data 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/desktop-only/.dirs/state 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_4SST52/portal-support/snap/desktop-only/.dirs/runtime 699s # Created snap.yaml in /tmp/test_portal-support-snap_4SST52/meta/snap.yaml 699s # Created snapctl in /tmp/test_portal-support-snap_4SST52/portal-support/snap/desktop-only/.dirs/runtime/snapctl 699s Unable to clean up temporary directory /tmp/test_portal-support-snap_4SST52/portal-support/snap/desktop-only: No such file or directory 699s ok 4 /portal-support/snap/desktop-only 699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/network-only/.dirs/home 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/network-only/.dirs/cache 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_4SST52/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_4SST52/portal-support/snap/network-only/.dirs/system-config2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/network-only/.dirs/config 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_4SST52/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_4SST52/portal-support/snap/network-only/.dirs/system-data2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/network-only/.dirs/data 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/network-only/.dirs/state 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_4SST52/portal-support/snap/network-only/.dirs/runtime 699s # Created snap.yaml in /tmp/test_portal-support-snap_4SST52/meta/snap.yaml 699s # Created snapctl in /tmp/test_portal-support-snap_4SST52/portal-support/snap/network-only/.dirs/runtime/snapctl 699s Unable to clean up temporary directory /tmp/test_portal-support-snap_4SST52/portal-support/snap/network-only: No such file or directory 699s ok 5 /portal-support/snap/network-only 699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/gsettings-only/.dirs/home 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/gsettings-only/.dirs/cache 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_4SST52/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_4SST52/portal-support/snap/gsettings-only/.dirs/system-config2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/gsettings-only/.dirs/config 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_4SST52/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_4SST52/portal-support/snap/gsettings-only/.dirs/system-data2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/gsettings-only/.dirs/data 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/gsettings-only/.dirs/state 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_4SST52/portal-support/snap/gsettings-only/.dirs/runtime 699s # Created snap.yaml in /tmp/test_portal-support-snap_4SST52/meta/snap.yaml 699s # Created snapctl in /tmp/test_portal-support-snap_4SST52/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 699s Unable to clean up temporary directory /tmp/test_portal-support-snap_4SST52/portal-support/snap/gsettings-only: No such file or directory 699s ok 6 /portal-support/snap/gsettings-only 699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/updates-dynamically/.dirs/home 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/updates-dynamically/.dirs/cache 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_4SST52/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_4SST52/portal-support/snap/updates-dynamically/.dirs/system-config2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/updates-dynamically/.dirs/config 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_4SST52/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_4SST52/portal-support/snap/updates-dynamically/.dirs/system-data2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/updates-dynamically/.dirs/data 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_4SST52/portal-support/snap/updates-dynamically/.dirs/state 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_4SST52/portal-support/snap/updates-dynamically/.dirs/runtime 699s # Created snap.yaml in /tmp/test_portal-support-snap_4SST52/meta/snap.yaml 699s # Created snapctl in /tmp/test_portal-support-snap_4SST52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 699s # Created snapctl in /tmp/test_portal-support-snap_4SST52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 699s # Created snapctl in /tmp/test_portal-support-snap_4SST52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 699s # Created snapctl in /tmp/test_portal-support-snap_4SST52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 699s # Created snapctl in /tmp/test_portal-support-snap_4SST52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 699s # Created snapctl in /tmp/test_portal-support-snap_4SST52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 699s # Created snapctl in /tmp/test_portal-support-snap_4SST52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 699s Unable to clean up temporary directory /tmp/test_portal-support-snap_4SST52/portal-support/snap/updates-dynamically: No such file or directory 699s ok 7 /portal-support/snap/updates-dynamically 699s # End of snap tests 699s # End of portal-support tests 699s Unable to clean up temporary directory /tmp/test_portal-support-snap_4SST52: No such file or directory 699s ok - glib/portal-support-snap.test 699s # Running test: glib/contexts.test 699s TAP version 14 699s # random seed: R02S733e63f7ffc62ff8171f8c3e1d6db049 699s 1..5 699s # Start of gio tests 699s # Start of contexts tests 699s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 699s ok 1 /gio/contexts/thread-independence 699s ok 2 /gio/contexts/context-independence 699s # Start of context-specific tests 699s ok 3 /gio/contexts/context-specific/identity 699s # Executing: glib/contexts.test 699s ok 4 /gio/contexts/context-specific/emit 699s ok 5 /gio/contexts/context-specific/emit-and-unref 699s # End of context-specific tests 699s # End of contexts tests 699s # End of gio tests 699s TAP version 14 699s # random seed: R02S0c5d220f3fac39aa965d6f2be16fe345 699s 1..45 699s # Start of maincontext tests 699s ok 1 /maincontext/basic 699s ok - glib/contexts.test 699s # Running test: glib/mainloop.test 699s # Add same-priority sources: 17 699s # Find each source: 1 699s # Remove in random order: 21 699s ok 2 /maincontext/nsources_same_priority 699s # Add different-priority sources: 13 699s # Find each source: 1 699s # Remove in random order: 23 699s ok 3 /maincontext/nsources_different_priority 700s # Add sources from threads: 148 700s # Remove sources from threads: 35 700s ok 4 /maincontext/nsources_threadpool 700s ok 5 /maincontext/source_finalization 700s # /maincontext/idle-once summary: Test g_idle_add_once() works 700s ok 6 /maincontext/idle-once 700s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 700s ok 7 /maincontext/timeout-once 700s # Start of source_finalization_from_source tests 700s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 700s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 700s ok 8 /maincontext/source_finalization_from_source/0 700s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 700s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 700s ok 9 /maincontext/source_finalization_from_source/1 700s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 700s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 700s ok 10 /maincontext/source_finalization_from_source/2 700s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 700s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 700s ok 11 /maincontext/source_finalization_from_source/3 700s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 700s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 700s ok 12 /maincontext/source_finalization_from_source/4 700s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 700s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 700s ok 13 /maincontext/source_finalization_from_source/5 700s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 700s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 700s ok 14 /maincontext/source_finalization_from_source/6 700s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 700s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 700s ok 15 /maincontext/source_finalization_from_source/7 700s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 700s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 700s ok 16 /maincontext/source_finalization_from_source/8 700s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 700s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 700s ok 17 /maincontext/source_finalization_from_source/9 700s # End of source_finalization_from_source tests 700s # Start of source_finalization_from_dispatch tests 700s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 700s ok 18 /maincontext/source_finalization_from_dispatch/0 700s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 700s ok 19 /maincontext/source_finalization_from_dispatch/1 700s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 700s ok 20 /maincontext/source_finalization_from_dispatch/2 700s # End of source_finalization_from_dispatch tests 700s # End of maincontext tests 700s # Start of mainloop tests 700s ok 21 /mainloop/basic 700s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 700s ok 23 /mainloop/priorities 700s ok 24 /mainloop/invoke 700s # slow test /mainloop/invoke executed in 0.50 secs 701s ok 25 /mainloop/child_sources 701s # slow test /mainloop/child_sources executed in 1.21 secs 704s ok 26 /mainloop/recursive_child_sources 704s # slow test /mainloop/recursive_child_sources executed in 2.20 secs 704s ok 27 /mainloop/recursive_loop_child_sources 704s ok 28 /mainloop/swapping_child_sources 704s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 704s ok 29 /mainloop/blocked_child_sources 704s # Executing: glib/mainloop.test 705s ok 30 /mainloop/source_time 705s # slow test /mainloop/source_time executed in 1.00 secs 705s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 705s ok 31 /mainloop/overflow 705s ok 32 /mainloop/ready-time 705s # slow test /mainloop/ready-time executed in 0.50 secs 705s ok 33 /mainloop/wakeup 705s ok 34 /mainloop/remove-invalid 705s ok 35 /mainloop/unref-while-pending 706s ok 36 /mainloop/unix-fd 706s # slow test /mainloop/unix-fd executed in 1.15 secs 706s ok 37 /mainloop/unix-fd-source 706s ok 38 /mainloop/source-unix-fd-api 706s ok 39 /mainloop/wait 706s ok 40 /mainloop/unix-file-poll 706s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 706s ok 41 /mainloop/unix-fd-priority 706s ok 42 /mainloop/nfds 706s ok 43 /mainloop/steal-fd 706s # Start of ownerless-polling tests 706s ok 44 /mainloop/ownerless-polling/attach-first 706s ok 45 /mainloop/ownerless-polling/pop-first 706s # End of ownerless-polling tests 706s # End of mainloop tests 706s ok - glib/mainloop.test 706s # Running test: glib/gutils-user-database.test 706s TAP version 14 706s # random seed: R02S2642a46b41f595ed17b22da5cf802638 706s 1..1 706s # Start of gutils tests 706s ok 1 /gutils/get_user_database_entry 706s # End of gutils tests 706s ok - glib/gutils-user-database.test 706s # Running test: glib/error.test 706s TAP version 14 706s # random seed: R02S1f6eb20c090c38d7b83c0f13123fbc83 706s 1..3 706s # Start of error tests 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_92ZW52/error/from-errno/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_92ZW52/error/from-errno/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_92ZW52/error/from-errno/.dirs/system-config1:/tmp/test_error_92ZW52/error/from-errno/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_92ZW52/error/from-errno/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_92ZW52/error/from-errno/.dirs/system-data1:/tmp/test_error_92ZW52/error/from-errno/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_92ZW52/error/from-errno/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_92ZW52/error/from-errno/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_92ZW52/error/from-errno/.dirs/runtime 706s ok 1 /error/from-errno 707s ok - glib/error.test 707s # Running test: glib/qdata.test 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_92ZW52/error/from-file-error/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_92ZW52/error/from-file-error/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_92ZW52/error/from-file-error/.dirs/system-config1:/tmp/test_error_92ZW52/error/from-file-error/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_92ZW52/error/from-file-error/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_92ZW52/error/from-file-error/.dirs/system-data1:/tmp/test_error_92ZW52/error/from-file-error/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_92ZW52/error/from-file-error/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_92ZW52/error/from-file-error/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_92ZW52/error/from-file-error/.dirs/runtime 707s ok 2 /error/from-file-error 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_92ZW52/error/from-win32-error/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_92ZW52/error/from-win32-error/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_92ZW52/error/from-win32-error/.dirs/system-config1:/tmp/test_error_92ZW52/error/from-win32-error/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_92ZW52/error/from-win32-error/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_92ZW52/error/from-win32-error/.dirs/system-data1:/tmp/test_error_92ZW52/error/from-win32-error/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_92ZW52/error/from-win32-error/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_92ZW52/error/from-win32-error/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_92ZW52/error/from-win32-error/.dirs/runtime 707s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 707s # End of error tests 707s TAP version 14 707s # random seed: R02Sd2830f292067fd234457a611296550ef 707s 1..2 707s # Start of qdata tests 707s ok 1 /qdata/threaded 707s ok 2 /qdata/dup 707s # End of qdata tests 707s ok - glib/qdata.test 707s # Running test: glib/objects-refcount1.test 707s TAP version 14 707s # random seed: R02S8c263ed8e18f1f1b817f9005801a9818 707s 1..1 707s # Start of gobject tests 707s # Start of refcount tests 707s # init 0x5900f64f0d60 707s # 707s # init 0x5900f64e95a0 707s # 709s # Executing: glib/objects-refcount1.test 712s # dispose 0x5900f64f0d60! 712s # 712s # dispose 0x5900f64e95a0! 712s # 712s ok 1 /gobject/refcount/object-basics 712s # slow test /gobject/refcount/object-basics executed in 5.00 secs 712s # End of refcount tests 712s # End of gobject tests 712s ok - glib/objects-refcount1.test 712s # Running test: glib/bytes.test 712s TAP version 14 712s # random seed: R02S770270626901a3cb1da2f44530e22fed 712s 1..21 712s # Start of bytes tests 712s ok 1 /bytes/new 712s ok 2 /bytes/new-take 712s ok - glib/bytes.test 712s # Running test: glib/power-profile-monitor-portal.test 712s ok 3 /bytes/new-static 712s ok 4 /bytes/new-with-free-func 712s ok 5 /bytes/new-from-bytes 712s ok 6 /bytes/new-from-bytes-slice 712s ok 7 /bytes/new-from-bytes-shared-ref 712s ok 8 /bytes/hash 712s ok 9 /bytes/equal 712s ok 10 /bytes/compare 712s ok 11 /bytes/null 712s ok 12 /bytes/get-region 712s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 712s ok 13 /bytes/unref-null 712s # Start of to-data tests 712s ok 14 /bytes/to-data/transferred 712s ok 15 /bytes/to-data/two-refs 712s ok 16 /bytes/to-data/non-malloc 712s ok 17 /bytes/to-data/different-free-func 712s # End of to-data tests 712s # Start of to-array tests 712s ok 18 /bytes/to-array/transferred 712s ok 19 /bytes/to-array/two-refs 712s ok 20 /bytes/to-array/non-malloc 712s # Start of transferred tests 712s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 712s ok 21 /bytes/to-array/transferred/oversize 712s # End of transferred tests 712s # End of to-array tests 712s # End of bytes tests 712s TAP version 13 712s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 712s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 712s 1..2 712s ok - glib/power-profile-monitor-portal.test 712s # Running test: glib/g-icon.test 712s TAP version 14 712s # random seed: R02Sd017d3c5188a356a66b16f606addc1e5 712s 1..6 712s # Start of icons tests 712s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 712s ok 1 /icons/to-string 712s ok 2 /icons/serialize 712s ok 3 /icons/themed 712s ok 4 /icons/emblemed 712s ok - glib/g-icon.test 712s # Running test: glib/unix-fd.test 712s ok - glib/unix-fd.test 712s # Running test: glib/dbus-appinfo.test 712s ok 5 /icons/file 712s ok 6 /icons/bytes 712s # End of icons tests 712s TAP version 14 712s # random seed: R02Sa00c74654848645b9d488a9dd8af0d45 712s 1..2 712s # Start of unix-fd tests 712s ok 1 /unix-fd/fd-list 712s ok 2 /unix-fd/scm 712s # End of unix-fd tests 712s TAP version 14 712s # random seed: R02S32c848f3465038bf6cf5049e4f4901b8 712s 1..7 712s # Start of appinfo tests 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/dbusappinfo/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/dbusappinfo/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_LRO052/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_LRO052/appinfo/dbusappinfo/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/dbusappinfo/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_LRO052/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_LRO052/appinfo/dbusappinfo/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/dbusappinfo/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/dbusappinfo/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_LRO052/appinfo/dbusappinfo/.dirs/runtime 712s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 712s ok 1 /appinfo/dbusappinfo 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-doc-export/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-doc-export/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-doc-export/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-doc-export/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-doc-export/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-doc-export/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-doc-export/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-doc-export/.dirs/runtime 712s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 712s # Acquired a message bus connection 712s # Acquired the name org.freedesktop.portal.Documents 712s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_LRO052/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-doc-export/.dirs/config 712s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 712s # fake-document-portal cancelled 712s ok 2 /appinfo/flatpak-doc-export 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-missing-doc-export/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-missing-doc-export/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-missing-doc-export/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-missing-doc-export/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-missing-doc-export/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-missing-doc-export/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-missing-doc-export/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-missing-doc-export/.dirs/runtime 712s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 712s # Acquired a message bus connection 712s # Acquired the name org.freedesktop.portal.Documents 712s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-missing-doc-export/.dirs/config 712s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 712s # fake-document-portal cancelled 712s ok 3 /appinfo/flatpak-missing-doc-export 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file/.dirs/runtime 712s # Acquired a message bus connection 712s # Acquired the name org.freedesktop.portal.Desktop 712s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_LRO052/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file/.dirs/config 712s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 712s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t 712s # Response emitted 712s # fake-desktop-portal cancelled 712s ok 4 /appinfo/portal-open-file 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri/.dirs/runtime 712s # Acquired a message bus connection 712s # Acquired the name org.freedesktop.portal.Desktop 712s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri/.dirs/config 712s # Got open file request for http://example.com 712s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t 712s # Response emitted 712s # fake-desktop-portal cancelled 712s ok 5 /appinfo/portal-open-uri 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file-async/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file-async/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file-async/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file-async/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file-async/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file-async/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file-async/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file-async/.dirs/runtime 712s # Acquired a message bus connection 712s # Acquired the name org.freedesktop.portal.Desktop 712s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file-async/.dirs/config 712s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 712s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio355483439 712s # Response emitted 712s # fake-desktop-portal cancelled 712s ok 6 /appinfo/portal-open-file-async 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri-async/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri-async/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri-async/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri-async/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri-async/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri-async/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri-async/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri-async/.dirs/runtime 712s # Acquired a message bus connection 712s # Acquired the name org.freedesktop.portal.Desktop 712s ok - glib/dbus-appinfo.test 712s # Running test: glib/gnotification.test 712s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_LRO052/appinfo/portal-open-uri-async/.dirs/config 712s # Got open file request for http://example.com 712s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio797958915 712s # Response emitted 712s # fake-desktop-portal cancelled 712s ok 7 /appinfo/portal-open-uri-async 712s # End of appinfo tests 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s TAP version 14 712s # random seed: R02Se5c7f5340c7b6fdb317d1f08c9d64a68 712s 1..2 712s # Start of gnotification tests 712s ok 1 /gnotification/basic 712s ok 2 /gnotification/properties 712s # End of gnotification tests 712s ok - glib/gnotification.test 712s # Running test: glib/signal-handler.test 712s TAP version 14 712s # random seed: R02S61428c2d58aeceebecb75dfd00f9311d 712s 1..7 712s # Start of signal tests 712s # Start of handler tests 712s # min perf: connected 1 handlers in 0.000 seconds 712s ok 1 /signal/handler/connect-many 712s # min perf: disconnected 1 handlers in 0.000 seconds 712s ok 2 /signal/handler/disconnect-many-ordered 712s # min perf: disconnected 1 handlers in 0.000 seconds 712s ok 3 /signal/handler/disconnect-many-inverse 712s # min perf: disconnected 1 handlers in 0.000 seconds 712s ok 4 /signal/handler/disconnect-many-random 712s # min perf: disconnected 1 handlers in 0.000 seconds 712s ok 5 /signal/handler/disconnect-2-signals 712s # min perf: disconnected 1 handlers in 0.000 seconds 712s ok 6 /signal/handler/disconnect-2-objects 712s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 712s ok 7 /signal/handler/block-many 712s # End of handler tests 712s # End of signal tests 712s ok - glib/signal-handler.test 712s # Running test: glib/utils-c-89.test 712s TAP version 14 712s # random seed: R02S6e6b385806db734a914dbe380a4a62f1 712s 1..41 712s # Start of utils tests 712s ok 1 /utils/language-names 712s ok 2 /utils/locale-variants 712s ok 3 /utils/version 712s ok 4 /utils/appname 712s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 712s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 712s ok 5 /utils/prgname-thread-safety 712s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 712s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 712s ok 6 /utils/tmpdir 712s ok 7 /utils/basic_bits 713s ok 8 /utils/bits 713s ok 9 /utils/swap 713s ok 10 /utils/find-program 713s ok 11 /utils/find-program-for-path 713s ok 12 /utils/debug 713s ok 13 /utils/codeset 713s ok 14 /utils/codeset2 713s ok 15 /utils/console-charset 713s ok 16 /utils/gettext 713s ok 17 /utils/username 713s ok 18 /utils/realname 713s ok 19 /utils/hostname 713s ok 20 /utils/xdgdirs 713s ok 21 /utils/specialdir 713s # NAME: Ubuntu 713s ok 22 /utils/os-info 713s ok 23 /utils/clear-pointer 713s ok 24 /utils/clear-pointer-cast 713s ok 25 /utils/take-pointer 713s ok 26 /utils/clear-source 713s ok 27 /utils/misc-mem 713s # /utils/aligned-mem summary: Aligned memory allocator 713s # Alignment must not be zero 713s # Alignment must be a power of two 713s # Alignment must be a multiple of sizeof(void*) 713s ok 28 /utils/aligned-mem 713s # /utils/free-sized summary: Check that g_free_sized() works 713s ok 29 /utils/free-sized 713s ok 30 /utils/nullify 713s ok 31 /utils/atexit 713s ok 32 /utils/check-setuid 713s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 713s ok 33 /utils/int-limits 713s ok 34 /utils/clear-list 713s ok 35 /utils/clear-slist 713s ok 36 /utils/steal-handle-id 713s # Start of specialdir tests 713s ok 37 /utils/specialdir/desktop 713s # End of specialdir tests 713s # Start of clear-pointer tests 713s ok 38 /utils/clear-pointer/side-effects 713s # End of clear-pointer tests 713s # Start of aligned-mem tests 713s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 713s ok 39 /utils/aligned-mem/alignment 713s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 713s ok 40 /utils/aligned-mem/zeroed 713s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 713s ok 41 /utils/aligned-mem/free-sized 713s # Start of subprocess tests 713s # End of subprocess tests 713s # End of aligned-mem tests 713s # End of utils tests 713s ok - glib/utils-c-89.test 713s # Running test: glib/gdbus-exit-on-close.test 713s TAP version 14 713s # random seed: R02Sbbb4a971ce873b16c0a780dab358bbf5 713s 1..4 713s # Start of gdbus tests 713s # Start of exit-on-close tests 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/default/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/default/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/default/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/default/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/default/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/default/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/default/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/default/.dirs/runtime 713s ok 1 /gdbus/exit-on-close/default 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/true/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/true/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/true/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/true/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/true/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/true/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/true/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/true/.dirs/runtime 713s ok 2 /gdbus/exit-on-close/true 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/false/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/false/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/false/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/false/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/false/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/false/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/false/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/false/.dirs/runtime 713s ok 3 /gdbus/exit-on-close/false 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/we-close/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/we-close/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/we-close/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/we-close/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/we-close/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/we-close/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/we-close/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_LD3452/gdbus/exit-on-close/we-close/.dirs/runtime 713s ok 4 /gdbus/exit-on-close/we-close 713s # Start of default tests 713s # End of default tests 713s # Start of true tests 713s # End of true tests 713s # Start of false tests 713s # End of false tests 713s # Start of we-close tests 713s # End of we-close tests 713s # End of exit-on-close tests 713s # End of gdbus tests 713s ok - glib/gdbus-exit-on-close.test 713s # Running test: glib/list.test 713s TAP version 14 713s # random seed: R02Sf4057ec24526ae82057e68f2ed229789 713s 1..20 713s # Start of list tests 713s ok 1 /list/sort 713s ok 2 /list/sort-with-data 713s ok 3 /list/insert-before-link 713s ok 4 /list/insert-sorted 713s ok 5 /list/insert-sorted-with-data 713s ok 6 /list/reverse 713s ok 7 /list/nth 713s ok 8 /list/concat 713s ok 9 /list/remove 713s ok 10 /list/remove-all 713s ok 11 /list/first-last 713s ok 12 /list/insert 713s ok 13 /list/free-full 713s ok 14 /list/copy 713s ok 15 /list/copy-deep 713s ok 16 /list/delete-link 713s ok 17 /list/prepend 713s ok 18 /list/position 713s ok 19 /list/double-free 713s # Start of sort tests 713s ok 20 /list/sort/stable 713s # End of sort tests 713s # End of list tests 713s ok - glib/list.test 713s # Running test: glib/gapplication.test 713s TAP version 14 713s # random seed: R02Sf417c9bb0d294f4b8305467dd6b0007b 713s 1..24 713s # Start of gapplication tests 713s ok 1 /gapplication/no-dbus 713s ok 2 /gapplication/no-appid 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s ok 3 /gapplication/properties 713s ok 4 /gapplication/app-id 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s ok 5 /gapplication/quit 713s ok 6 /gapplication/registered 713s ok 7 /gapplication/local-actions 713s ok 8 /gapplication/local-command-line 713s ok 9 /gapplication/resource-path 713s ok 10 /gapplication/test-help 713s ok 11 /gapplication/command-line-done 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s ok 12 /gapplication/test-busy 713s ok 13 /gapplication/test-handle-local-options1 713s ok 14 /gapplication/test-handle-local-options2 713s ok 15 /gapplication/test-handle-local-options3 713s ok 16 /gapplication/api 713s ok 17 /gapplication/version 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 713s # launching subprocess 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s ok 18 /gapplication/replace 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 713s # launching subprocess 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s ok 19 /gapplication/no-replace 713s # slow test /gapplication/no-replace executed in 0.51 secs 713s # Start of dbus tests 713s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 713s # Message 0 713s # Message 1 713s # Message 2 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s ok 20 /gapplication/dbus/activate 713s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 713s # Message 0 713s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 713s # Message 1 713s # Message 2 713s # Message 3 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s ok 21 /gapplication/dbus/open 713s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 713s # Message 0 713s # Message 1 713s # Message 2 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s ok 22 /gapplication/dbus/command-line 713s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s ok 23 /gapplication/dbus/command-line-done 713s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 713s # Message 0 713s # Message 1 713s # Message 2 713s # Message 3 713s # Message 4 713s # Message 5 713s # Message 6 713s # Message 7 713s # Message 8 713s # Message 9 713s # Message 10 713s # Message 11 713s ok - glib/gapplication.test 713s # Running test: glib/signals-refcount3.test 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 713s ok 24 /gapplication/dbus/activate-action 713s # End of dbus tests 713s # End of gapplication tests 713s TAP version 14 713s # random seed: R02S212ff35b7fb421fa146010c85286329e 713s 1..1 713s # Start of gobject tests 713s # Start of refcount tests 713s # init 0x563948e90dd0 713s # 713s # init 0x563948e8d310 713s # 714s # Executing: glib/signals-refcount3.test 718s # dispose 0x563948e90dd0! 718s # 718s # dispose 0x563948e8d310! 718s # 718s ok 1 /gobject/refcount/signals 718s # slow test /gobject/refcount/signals executed in 5.00 secs 718s # End of refcount tests 718s # End of gobject tests 718s ok - glib/signals-refcount3.test 718s # Running test: glib/markup-collect.test 718s TAP version 14 718s # random seed: R02S0f7c7c7dbd4f2dd6e843dd5b919c87a3 718s 1..21 718s # Start of markup tests 718s # Start of collect tests 718s ok 1 /markup/collect/0 718s ok 2 /markup/collect/1 718s ok 3 /markup/collect/2 718s ok 4 /markup/collect/3 718s ok 5 /markup/collect/4 718s ok 6 /markup/collect/5 718s ok 7 /markup/collect/6 718s ok 8 /markup/collect/7 718s ok 9 /markup/collect/8 718s ok 10 /markup/collect/9 718s ok 11 /markup/collect/10 718s ok 12 /markup/collect/11 718s ok 13 /markup/collect/12 718s ok 14 /markup/collect/13 718s ok 15 /markup/collect/14 718s ok 16 /markup/collect/15 718s ok 17 /markup/collect/16 718s ok 18 /markup/collect/17 718s ok 19 /markup/collect/18 718s ok 20 /markup/collect/19 718s ok 21 /markup/collect/cleanup 718s # End of collect tests 718s # End of markup tests 718s ok - glib/markup-collect.test 719s # Running test: glib/mount-operation.test 719s ok - glib/mount-operation.test 719s TAP version 14 719s # random seed: R02S9cdd826b3c5f2d1792a1ee137bce12af 719s 1..2 719s # Start of mount-operation tests 719s ok 1 /mount-operation/construction 719s ok 2 /mount-operation/properties 719s # End of mount-operation tests 719s # Running test: glib/spawn-path-search.test 719s ok - glib/spawn-path-search.test 719s # Running test: glib/buffered-output-stream.test 719s TAP version 14 719s # random seed: R02Sccb6a37522fe3a505e88bda42de97bdf 719s 1..7 719s # Start of spawn tests 719s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 719s # 719s # this is spawn-test-helper from glib/tests 719s # 719s ok 1 /spawn/do-not-search 719s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 719s # 719s # this is spawn-test-helper from path-test-subdir 719s # 719s ok 2 /spawn/search-path 719s # /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. 719s # 719s # this is spawn-test-helper from path-test-subdir 719s # 719s ok 3 /spawn/search-path-from-envp 719s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 719s # 719s # this is spawn-test-helper from path-test-subdir 719s # 719s ok 4 /spawn/search-path-ambiguous 719s # 719s # this is spawn-test-helper from path-test-subdir 719s # 719s ok 5 /spawn/search-path-heap-allocation 719s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 719s # 719s # this is spawn-test-helper from glib/tests 719s # 719s ok 6 /spawn/search-path-fallback-in-environ 719s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 719s # 719s # this is spawn-test-helper from glib/tests 719s # 719s ok 7 /spawn/search-path-fallback-in-envp 719s # End of spawn tests 719s TAP version 14 719s # random seed: R02S96d5056a5fe96a0d4f9b76cf177d318a 719s 1..5 719s # Start of buffered-output-stream tests 719s ok - glib/buffered-output-stream.test 719s # Running test: glib/queue.test 719s ok 1 /buffered-output-stream/write 719s ok 2 /buffered-output-stream/grow 719s ok 3 /buffered-output-stream/seek 719s ok 4 /buffered-output-stream/truncate 719s # End of buffered-output-stream tests 719s # Start of filter-output-stream tests 719s ok 5 /filter-output-stream/close 719s # End of filter-output-stream tests 719s TAP version 14 719s # random seed: R02Sc7b79ab8ed2252252acda29741f17acf 719s 1..12 719s # Start of queue tests 719s ok 1 /queue/basic 719s ok 2 /queue/copy 719s ok 3 /queue/off-by-one 719s ok 4 /queue/find-custom 719s ok 5 /queue/static 719s ok 6 /queue/clear 719s ok 7 /queue/free-full 719s ok 8 /queue/clear-full 719s ok 9 /queue/insert-sibling-link 719s ok 10 /queue/push-nth-link 719s # Start of clear-full tests 719s ok 11 /queue/clear-full/noop 719s # End of clear-full tests 719s # Start of random tests 719s ok 12 /queue/random/seed:648104518 719s # End of random tests 719s # End of queue tests 719s ok - glib/queue.test 719s # Running test: glib/task.test 719s TAP version 14 719s # random seed: R02S794ee139c09559f9d8bd0505c441cd64 719s 1..36 719s # Start of gtask tests 719s ok 1 /gtask/basic 719s ok 2 /gtask/error 719s ok 3 /gtask/error-literal 719s ok 4 /gtask/error-literal-from-variable 719s ok 5 /gtask/return-from-same-iteration 719s ok 6 /gtask/return-from-toplevel 719s ok 7 /gtask/return-from-anon-thread 719s ok 8 /gtask/return-from-wrong-thread 719s ok 9 /gtask/no-callback 719s ok 10 /gtask/report-error 719s ok 11 /gtask/priority 719s ok 12 /gtask/name 719s ok 13 /gtask/static-name 719s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 719s ok 14 /gtask/asynchronous-cancellation 719s ok 15 /gtask/check-cancellable 719s ok 16 /gtask/return-if-cancelled 719s ok 17 /gtask/run-in-thread 719s ok 18 /gtask/run-in-thread-sync 719s ok 19 /gtask/run-in-thread-priority 719s ok 20 /gtask/run-in-thread-nested 719s # Executing: glib/task.test 720s ok 21 /gtask/run-in-thread-overflow 720s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 720s # GLib-GIO-DEBUG: GTask 0x6378550fa5e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 720s # GLib-GIO-DEBUG: GTask 0x6378550fa770 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 720s ok 22 /gtask/return-on-cancel 720s # GLib-GIO-DEBUG: GTask 0x63785508f5e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 720s ok 23 /gtask/return-on-cancel-sync 720s # GLib-GIO-DEBUG: GTask 0x63785508fe60 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 720s ok 24 /gtask/return-on-cancel-atomic 720s ok 25 /gtask/return-pointer 720s ok 26 /gtask/return-value 720s ok 27 /gtask/return-prefixed-error 720s ok 28 /gtask/object-keepalive 720s ok 29 /gtask/legacy-error 720s ok - glib/task.test 720s # Running test: glib/relation.test 720s ok - glib/relation.test 720s # Running test: glib/unicode.test 720s ok 30 /gtask/finalize-without-return 720s # Start of name tests 720s ok 31 /gtask/name/macro-wrapper 720s # End of name tests 720s # Start of return tests 720s ok 32 /gtask/return/error-first 720s ok 33 /gtask/return/value-first 720s # Start of in-idle tests 720s ok 34 /gtask/return/in-idle/error-first 720s ok 35 /gtask/return/in-idle/value-first 720s # End of in-idle tests 720s # End of return tests 720s # Start of attach-source tests 720s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 720s ok 36 /gtask/attach-source/set-name 720s # End of attach-source tests 720s # End of gtask tests 720s TAP version 14 720s # random seed: R02S83bcabda2229d3a55a443653fd2362fb 720s 1..1 720s # Start of glib tests 720s ok 1 /glib/relation 720s # End of glib tests 720s TAP version 14 720s # random seed: R02S32e73055d8950c44aac95cbf253bebdc 720s 1..39 720s # Start of unicode tests 720s ok 1 /unicode/alnum 720s ok 2 /unicode/alpha 720s ok 3 /unicode/break-type 720s ok 4 /unicode/canonical-decomposition 720s ok 5 /unicode/casefold 720s # Cannot set locale to lt_LT, skipping 720s # Cannot set locale to lt_LT, skipping 720s # Cannot set locale to lt_LT, skipping 720s # Cannot set locale to lt_LT, skipping 720s # Cannot set locale to lt_LT, skipping 720s # Cannot set locale to lt_LT, skipping 720s # Cannot set locale to lt_LT, skipping 720s # Cannot set locale to lt_LT, skipping 720s # Cannot set locale to lt_LT, skipping 720s # Cannot set locale to lt_LT, skipping 720s # Cannot set locale to lt_LT, skipping 720s ok 6 /unicode/casemap_and_casefold 720s ok 7 /unicode/cases 720s ok 8 /unicode/character-type 720s ok 9 /unicode/cntrl 720s ok 10 /unicode/combining-class 720s # Composing U+000041 and U+000042; expecting U+000000 720s # Composing U+000041 and U+000000; expecting U+000000 720s # Composing U+000066 and U+000069; expecting U+000000 720s # Composing U+000308 and U+000301; expecting U+000000 720s # Composing U+000f71 and U+000f72; expecting U+000000 720s # Composing U+00212b and U+000000; expecting U+000000 720s # Composing U+0000c5 and U+000000; expecting U+000000 720s # Composing U+002126 and U+000000; expecting U+000000 720s # Composing U+0003a9 and U+000000; expecting U+000000 720s # Composing U+000041 and U+00030a; expecting U+0000c5 720s # Composing U+00006f and U+000302; expecting U+0000f4 720s # Composing U+001e63 and U+000307; expecting U+001e69 720s # Composing U+000073 and U+000323; expecting U+001e63 720s # Composing U+000064 and U+000307; expecting U+001e0b 720s # Composing U+000064 and U+000323; expecting U+001e0d 720s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 720s # Composing U+001111 and U+001171; expecting U+00d4cc 720s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 720s # Composing U+00110e and U+001173; expecting U+00ce20 720s # Composing U+001100 and U+001160; expecting U+000000 720s # Composing U+001100 and U+001177; expecting U+000000 720s # Composing U+00abff and U+0011b6; expecting U+000000 720s # Composing U+00d7a5 and U+0011b6; expecting U+000000 720s # Composing U+00ac01 and U+0011b6; expecting U+000000 720s # Composing U+00d4cc and U+0011a6; expecting U+000000 720s # Composing U+00d4cc and U+0011c4; expecting U+000000 720s # Composing U+01611e and U+01611e; expecting U+016121 720s # Composing U+01611e and U+01611f; expecting U+016123 720s # Composing U+0000f6 and U+000304; expecting U+00022b 720s # Composing U+000b47 and U+000b57; expecting U+000b4c 720s # Composing U+0000a0 and U+000b57; expecting U+000000 720s # Composing U+016e00 and U+00030a; expecting U+000000 720s # Composing U+00212b and U+016e00; expecting U+000000 720s # Composing U+001e63 and U+000306; expecting U+000000 720s # Composing U+001e63 and U+000304; expecting U+000000 720s # Composing U+001e63 and U+000b57; expecting U+000000 720s # Composing U+001e63 and U+000000; expecting U+000000 720s # Composing U+001e63 and U+0113c2; expecting U+000000 720s # Composing U+001f01 and U+0113c2; expecting U+000000 720s # Composing U+00006e and U+000302; expecting U+000000 720s # Composing U+001e63 and U+01611f; expecting U+000000 720s # Composing U+01138e and U+0113b8; expecting U+000000 720s # Composing U+01611e and U+000000; expecting U+000000 720s # Composing U+000000 and U+01611f; expecting U+000000 720s # Composing U+011390 and U+0113c2; expecting U+000000 720s ok 11 /unicode/compose 720s ok 12 /unicode/decompose 720s ok 13 /unicode/decompose-tail 720s ok 14 /unicode/defined 720s ok 15 /unicode/digit 720s ok 16 /unicode/digit-value 720s # Fully decomposing U+000041; expecting 1 codepoints 720s # Fully decomposing U+00fb01; expecting 1 codepoints 720s # Fully decomposing U+00212b; expecting 2 codepoints 720s # Fully decomposing U+002126; expecting 1 codepoints 720s # Fully decomposing U+000344; expecting 2 codepoints 720s # Fully decomposing U+000f73; expecting 2 codepoints 720s # Fully decomposing U+0000c5; expecting 2 codepoints 720s # Fully decomposing U+0000f4; expecting 2 codepoints 720s # Fully decomposing U+001e69; expecting 3 codepoints 720s # Fully decomposing U+001e63; expecting 2 codepoints 720s # Fully decomposing U+001e0b; expecting 2 codepoints 720s # Fully decomposing U+001e0d; expecting 2 codepoints 720s # Fully decomposing U+00d4db; expecting 3 codepoints 720s # Fully decomposing U+00d4cc; expecting 2 codepoints 720s # Fully decomposing U+00ce31; expecting 3 codepoints 720s # Fully decomposing U+00ce20; expecting 2 codepoints 720s ok 17 /unicode/fully-decompose-canonical 720s ok 18 /unicode/fully-decompose-len 720s ok 19 /unicode/normalization 720s ok 20 /unicode/graph 720s # Testing script Zyyy (code 1517910393) 720s # Testing script Zinh (code 1516858984) 720s # Testing script Zmth (code 1517122664) 720s # Testing script Arab (code 1098015074) 720s # Testing script Armn (code 1098018158) 720s # Testing script Beng (code 1113943655) 720s # Testing script Bopo (code 1114599535) 720s # Testing script Cher (code 1130915186) 720s # Testing script Copt (code 1131376756) 720s # Testing script Cyrl (code 1132032620) 720s # Testing script Dsrt (code 1148416628) 720s # Testing script Deva (code 1147500129) 720s # Testing script Ethi (code 1165256809) 720s # Testing script Geor (code 1197830002) 720s # Testing script Goth (code 1198486632) 720s # Testing script Grek (code 1198679403) 720s # Testing script Gujr (code 1198877298) 720s # Testing script Guru (code 1198879349) 720s # Testing script Hani (code 1214344809) 720s # Testing script Hang (code 1214344807) 720s # Testing script Hebr (code 1214603890) 720s # Testing script Hira (code 1214870113) 720s # Testing script Knda (code 1265525857) 720s # Testing script Kana (code 1264676449) 720s # Testing script Khmr (code 1265134962) 720s # Testing script Laoo (code 1281453935) 720s # Testing script Latn (code 1281455214) 720s # Testing script Mlym (code 1298954605) 720s # Testing script Mong (code 1299148391) 720s # Testing script Mymr (code 1299803506) 720s # Testing script Ogam (code 1332175213) 720s # Testing script Ital (code 1232363884) 720s # Testing script Orya (code 1332902241) 720s # Testing script Runr (code 1383427698) 720s # Testing script Sinh (code 1399418472) 720s # Testing script Syrc (code 1400468067) 720s # Testing script Taml (code 1415671148) 720s # Testing script Telu (code 1415933045) 720s # Testing script Thaa (code 1416126817) 720s # Testing script Thai (code 1416126825) 720s # Testing script Tibt (code 1416192628) 720s # Testing script Cans (code 1130458739) 720s # Testing script Yiii (code 1500080489) 720s # Testing script Tglg (code 1416064103) 720s # Testing script Hano (code 1214344815) 720s # Testing script Buhd (code 1114990692) 720s # Testing script Tagb (code 1415669602) 720s # Testing script Brai (code 1114792297) 720s # Testing script Cprt (code 1131442804) 720s # Testing script Limb (code 1281977698) 720s # Testing script Osma (code 1332964705) 720s # Testing script Shaw (code 1399349623) 720s # Testing script Linb (code 1281977954) 720s # Testing script Tale (code 1415670885) 720s # Testing script Ugar (code 1432838514) 720s # Testing script Talu (code 1415670901) 720s # Testing script Bugi (code 1114990441) 720s # Testing script Glag (code 1198285159) 720s # Testing script Tfng (code 1415999079) 720s # Testing script Sylo (code 1400466543) 720s # Testing script Xpeo (code 1483761007) 720s # Testing script Khar (code 1265131890) 720s # Testing script Zzzz (code 1517976186) 720s # Testing script Bali (code 1113681001) 720s # Testing script Xsux (code 1483961720) 720s # Testing script Phnx (code 1349021304) 720s # Testing script Phag (code 1349017959) 720s # Testing script Nkoo (code 1315663727) 720s # Testing script Kali (code 1264675945) 720s # Testing script Lepc (code 1281716323) 720s # Testing script Rjng (code 1382706791) 720s # Testing script Sund (code 1400204900) 720s # Testing script Saur (code 1398895986) 720s # Testing script Cham (code 1130914157) 720s # Testing script Olck (code 1332503403) 720s # Testing script Vaii (code 1449224553) 720s # Testing script Cari (code 1130459753) 720s # Testing script Lyci (code 1283023721) 720s # Testing script Lydi (code 1283023977) 720s # Testing script Avst (code 1098281844) 720s # Testing script Bamu (code 1113681269) 720s # Testing script Egyp (code 1164409200) 720s # Testing script Armi (code 1098018153) 720s # Testing script Phli (code 1349020777) 720s # Testing script Prti (code 1349678185) 720s # Testing script Java (code 1247901281) 720s # Testing script Kthi (code 1265920105) 720s # Testing script Lisu (code 1281979253) 720s # Testing script Mtei (code 1299473769) 720s # Testing script Sarb (code 1398895202) 720s # Testing script Orkh (code 1332898664) 720s # Testing script Samr (code 1398893938) 720s # Testing script Lana (code 1281453665) 720s # Testing script Tavt (code 1415673460) 720s # Testing script Batk (code 1113683051) 720s # Testing script Brah (code 1114792296) 720s # Testing script Mand (code 1298230884) 720s # Testing script Cakm (code 1130457965) 720s # Testing script Merc (code 1298494051) 720s # Testing script Mero (code 1298494063) 720s # Testing script Plrd (code 1349284452) 720s # Testing script Shrd (code 1399353956) 720s # Testing script Sora (code 1399812705) 720s # Testing script Takr (code 1415670642) 720s # Testing script Bass (code 1113682803) 720s # Testing script Aghb (code 1097295970) 720s # Testing script Dupl (code 1148547180) 720s # Testing script Elba (code 1164730977) 720s # Testing script Gran (code 1198678382) 720s # Testing script Khoj (code 1265135466) 720s # Testing script Sind (code 1399418468) 720s # Testing script Lina (code 1281977953) 720s # Testing script Mahj (code 1298229354) 720s # Testing script Mani (code 1298230889) 720s # Testing script Mend (code 1298493028) 720s # Testing script Modi (code 1299145833) 720s # Testing script Mroo (code 1299345263) 720s # Testing script Nbat (code 1315070324) 720s # Testing script Narb (code 1315009122) 720s # Testing script Perm (code 1348825709) 720s # Testing script Hmng (code 1215131239) 720s # Testing script Palm (code 1348562029) 720s # Testing script Pauc (code 1348564323) 720s # Testing script Phlp (code 1349020784) 720s # Testing script Sidd (code 1399415908) 720s # Testing script Tirh (code 1416196712) 720s # Testing script Wara (code 1466004065) 720s # Testing script Ahom (code 1097363309) 720s # Testing script Hluw (code 1215067511) 720s # Testing script Hatr (code 1214346354) 720s # Testing script Mult (code 1299541108) 720s # Testing script Hung (code 1215655527) 720s # Testing script Sgnw (code 1399287415) 720s # Testing script Adlm (code 1097100397) 720s # Testing script Bhks (code 1114139507) 720s # Testing script Marc (code 1298231907) 720s # Testing script Newa (code 1315272545) 720s # Testing script Osge (code 1332963173) 720s # Testing script Tang (code 1415671399) 720s # Testing script Gonm (code 1198485101) 720s # Testing script Nshu (code 1316186229) 720s # Testing script Soyo (code 1399814511) 720s # Testing script Zanb (code 1516334690) 720s # Testing script Dogr (code 1148151666) 720s # Testing script Gong (code 1198485095) 720s # Testing script Rohg (code 1383032935) 720s # Testing script Maka (code 1298230113) 720s # Testing script Medf (code 1298490470) 720s # Testing script Sogo (code 1399809903) 720s # Testing script Sogd (code 1399809892) 720s # Testing script Elym (code 1164736877) 720s # Testing script Nand (code 1315008100) 720s # Testing script Hmnp (code 1215131248) 720s # Testing script Wcho (code 1466132591) 720s # Testing script Chrs (code 1130918515) 720s # Testing script Diak (code 1147756907) 720s # Testing script Kits (code 1265202291) 720s # Testing script Yezi (code 1499822697) 720s # Testing script Cpmn (code 1131441518) 720s # Testing script Ougr (code 1333094258) 720s # Testing script Tnsa (code 1416524641) 720s # Testing script Toto (code 1416590447) 720s # Testing script Vith (code 1449751656) 720s # Testing script Kawi (code 1264678761) 720s # Testing script Nagm (code 1315006317) 720s # Testing script Todr (code 1416586354) 720s # Testing script Gara (code 1197568609) 720s # Testing script Tutg (code 1416983655) 720s # Testing script Sunu (code 1400204917) 720s # Testing script Gukh (code 1198877544) 720s # Testing script Krai (code 1265787241) 720s # Testing script Onao (code 1332633967) 720s ok 21 /unicode/iso15924 720s ok 22 /unicode/lower 720s ok 23 /unicode/mark 720s ok 24 /unicode/mirror 720s ok 25 /unicode/print 720s ok 26 /unicode/punctuation 720s ok 27 /unicode/script 720s ok 28 /unicode/space 720s ok 29 /unicode/strdown 720s ok 30 /unicode/strup 720s ok - glib/unicode.test 720s ok 31 /unicode/turkish-strupdown 720s ok 32 /unicode/title 720s ok 33 /unicode/upper 720s ok 34 /unicode/validate 720s ok 35 /unicode/wide 720s ok 36 /unicode/xdigit 720s ok 37 /unicode/xdigit-value 720s ok 38 /unicode/zero-width 720s ok 39 /unicode/normalize 720s # End of unicode tests 720s # Running test: glib/signalgroup.test 720s TAP version 14 720s # random seed: R02S5d486f5e7f140c87c1c89d0d738d078d 720s 1..9 720s # Start of GObject tests 720s # Start of SignalGroup tests 720s ok 1 /GObject/SignalGroup/invalid 720s ok 2 /GObject/SignalGroup/simple 720s ok 3 /GObject/SignalGroup/changing-target 720s ok 4 /GObject/SignalGroup/blocking 720s ok 5 /GObject/SignalGroup/weak-ref-target 720s ok 6 /GObject/SignalGroup/connect-object 720s ok 7 /GObject/SignalGroup/signal-parsing 720s ok - glib/signalgroup.test 720s # Running test: glib/gdbus-proxy.test 720s ok 8 /GObject/SignalGroup/properties 720s ok 9 /GObject/SignalGroup/interface 720s # Start of signal-parsing tests 720s # End of signal-parsing tests 720s # End of SignalGroup tests 720s # End of GObject tests 720s TAP version 14 720s # random seed: R02S2a1dc1619b30abeec3fde7bffecf8b13 720s 1..5 720s # Start of gdbus tests 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/.dirs/runtime 722s ok 1 /gdbus/proxy 722s # slow test /gdbus/proxy executed in 1.73 secs 722s # Start of proxy tests 722s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/no-properties/.dirs/home 722s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/no-properties/.dirs/cache 722s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/no-properties/.dirs/system-config2 722s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/no-properties/.dirs/config 722s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/no-properties/.dirs/system-data2 722s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/no-properties/.dirs/data 722s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/no-properties/.dirs/state 722s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/no-properties/.dirs/runtime 722s ok 2 /gdbus/proxy/no-properties 722s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/wellknown-noauto/.dirs/home 722s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/wellknown-noauto/.dirs/cache 722s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/wellknown-noauto/.dirs/system-config2 722s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/wellknown-noauto/.dirs/config 722s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/wellknown-noauto/.dirs/system-data2 722s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/wellknown-noauto/.dirs/data 722s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/wellknown-noauto/.dirs/state 722s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/wellknown-noauto/.dirs/runtime 722s ok 3 /gdbus/proxy/wellknown-noauto 722s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/async/.dirs/home 722s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/async/.dirs/cache 722s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/async/.dirs/system-config2 722s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/async/.dirs/config 722s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/async/.dirs/system-data2 722s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/async/.dirs/data 722s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/async/.dirs/state 722s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/async/.dirs/runtime 723s ok 4 /gdbus/proxy/async 723s # slow test /gdbus/proxy/async executed in 1.72 secs 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/no-match-rule/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/no-match-rule/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/no-match-rule/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/no-match-rule/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/no-match-rule/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/no-match-rule/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/no-match-rule/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_AD1A62/gdbus/proxy/no-match-rule/.dirs/runtime 723s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 723s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 724s # Executing: glib/gdbus-proxy.test 725s ok - glib/gdbus-proxy.test 725s ok 5 /gdbus/proxy/no-match-rule 725s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 725s # End of proxy tests 725s # End of gdbus tests 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # Running test: glib/thread.test 725s TAP version 14 725s # random seed: R02S2e7413d2c6954311dba5a2a37d8442a3 725s 1..7 725s # Start of thread tests 725s ok 1 /thread/thread1 725s ok 2 /thread/thread2 725s ok - glib/thread.test 725s # Running test: glib/binding.test 725s ok - glib/binding.test 725s # Running test: glib/references.test 725s ok - glib/references.test 725s # Running test: glib/hash.test 725s ok 3 /thread/thread3 725s ok 4 /thread/thread4 725s ok 5 /thread/thread5 725s ok 6 /thread/thread6 725s ok 7 /thread/thread7 725s # End of thread tests 725s TAP version 14 725s # random seed: R02S1dee4204df54468f678bb20fcf1aff90 725s 1..19 725s # Start of binding tests 725s ok 1 /binding/default 725s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 725s ok 2 /binding/canonicalisation 725s ok 3 /binding/bidirectional 725s ok 4 /binding/transform 725s ok 5 /binding/transform-default 725s ok 6 /binding/transform-closure 725s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 725s ok 7 /binding/chain 725s ok 8 /binding/sync-create 725s ok 9 /binding/invert-boolean 725s ok 10 /binding/same-object 725s ok 11 /binding/unbind 725s ok 12 /binding/unbind-weak 725s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 725s ok 13 /binding/unbind-multiple 725s ok 14 /binding/fail 725s ok 15 /binding/interface 725s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 725s ok 16 /binding/concurrent-unbind 725s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 725s ok 17 /binding/concurrent-finalizing 725s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 725s ok 18 /binding/dispose-source 725s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 725s ok 19 /binding/dispose-target 725s # End of binding tests 725s TAP version 14 725s # random seed: R02S372fc74f1d156cf350cbb5743e1f4629 725s 1..1 725s # Start of gobject tests 725s ok 1 /gobject/references 725s # End of gobject tests 725s TAP version 14 725s # random seed: R02Sf2c3c1f22e35253b7fb3122f46656601 725s 1..34 725s # Start of hash tests 725s ok 1 /hash/misc 725s ok 2 /hash/one 725s ok 3 /hash/honeyman 725s ok 4 /hash/direct 725s ok 5 /hash/direct2 725s ok 6 /hash/int 725s ok 7 /hash/int64 725s ok 8 /hash/double 725s ok 9 /hash/string 725s ok 10 /hash/set 725s ok 11 /hash/set-ref 725s ok 12 /hash/ref 725s ok 13 /hash/remove-all 725s ok 14 /hash/recursive-remove-all 725s ok 15 /hash/find 725s ok 16 /hash/foreach 725s ok 17 /hash/foreach-steal 725s ok 18 /hash/steal-extended 725s ok 19 /hash/steal-all-keys 725s ok 20 /hash/steal-all-values 725s ok 21 /hash/lookup-extended 725s ok 22 /hash/new-similar 725s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 725s ok 23 /hash/lookup-null-key 725s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 725s ok 24 /hash/destroy-modify 725s ok 25 /hash/consistency 725s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 725s ok 26 /hash/iter-replace 725s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 725s ok 27 /hash/set-insert-corruption 725s ok 28 /hash/set-to-strv 725s ok 29 /hash/get-keys-as-ptr-array 725s ok 30 /hash/get-values-as-ptr-array 725s ok 31 /hash/primes 725s # Start of int64 tests 725s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 725s ok 32 /hash/int64/collisions 725s # End of int64 tests 725s # Start of double tests 725s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 725s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 725s ok 33 /hash/double/collisions 725s # End of double tests 725s # Start of recursive-remove-all tests 725s # End of recursive-remove-all tests 725s # Start of steal-extended tests 725s ok 34 /hash/steal-extended/optional 725s # End of steal-extended tests 725s # End of hash tests 725s ok - glib/hash.test 725s # Running test: glib/dynamictests.test 725s TAP version 14 725s # random seed: R02Sbdb458c38cb7446df5f28443794675b1 725s 1..2 725s # Start of GObject tests 725s ok 1 /GObject/threaded-dynamic-ref-unref-init 725s ok 2 /GObject/dynamic-interface-properties 725s # End of GObject tests 725s ok - glib/dynamictests.test 725s # Running test: glib/tls-certificate.test 725s TAP version 14 725s # random seed: R02Sad11a7753bcaa7a783752cc7e6ec66ec 725s 1..19 725s # Start of tls-certificate tests 725s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 725s ok 1 /tls-certificate/pem-parser 725s ok 2 /tls-certificate/pem-parser-handles-chain 725s ok 3 /tls-certificate/from_file 725s ok 4 /tls-certificate/from_files 725s ok 5 /tls-certificate/from_files_crlf 725s ok 6 /tls-certificate/from_files_pkcs8 725s ok 7 /tls-certificate/from_files_pkcs8enc 725s ok 8 /tls-certificate/list_from_file 725s ok 9 /tls-certificate/pkcs11-uri 725s ok 10 /tls-certificate/pkcs11-uri-unsupported 725s ok 11 /tls-certificate/from_pkcs12 725s ok 12 /tls-certificate/from_pkcs12_file 725s ok 13 /tls-certificate/not-valid-before 725s ok 14 /tls-certificate/not-valid-after 725s ok 15 /tls-certificate/subject-name 725s ok 16 /tls-certificate/issuer-name 725s ok 17 /tls-certificate/dns-names 725s ok 18 /tls-certificate/ip-addresses 725s ok - glib/tls-certificate.test 725s # Running test: glib/autoptr.test 725s ok - glib/autoptr.test 725s # Running test: glib/sort.test 725s ok - glib/sort.test 725s # Running test: glib/testing.test 725s ok - glib/testing.test 725s # Running test: glib/array-test.test 725s ok 19 /tls-certificate/pem-parser-no-sentinel 725s # End of tls-certificate tests 725s TAP version 14 725s # random seed: R02S4a29fd1e4f8730501b2b2c8643da6166 725s 1..6 725s # Start of autoptr tests 725s ok 1 /autoptr/autoptr 725s ok 2 /autoptr/autoptr_steal 725s ok 3 /autoptr/autolist 725s ok 4 /autoptr/autoslist 725s ok 5 /autoptr/autoqueue 725s ok 6 /autoptr/autoclass 725s # End of autoptr tests 725s TAP version 14 725s # random seed: R02S09b69dbee9cf2e609d534eea237ef138 725s 1..5 725s # Start of sort tests 725s ok 1 /sort/basic 725s ok 2 /sort/zero-elements 725s ok 3 /sort/stable 725s ok 4 /sort/big 725s ok 5 /sort/deprecated 725s # End of sort tests 725s TAP version 14 725s # random seed: R02S14695f6b1c75aa702ba9360a17bf6144 725s 1..1 725s # Start of assert tests 725s ok 1 /assert/finalize_object 725s # Start of finalize_object tests 725s # Start of subprocess tests 725s # End of subprocess tests 725s # End of finalize_object tests 725s # End of assert tests 725s TAP version 14 725s # random seed: R02S79357b5ff4f8d15b8012219bb8cd26ee 725s 1..113 725s # Start of array tests 725s ok 1 /array/ref-count 725s ok 2 /array/steal 725s ok 3 /array/clear-func 725s ok 4 /array/binary-search 725s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 725s ok 5 /array/copy-sized 725s ok 6 /array/overflow-append-vals 725s ok 7 /array/overflow-set-size 725s # Start of new tests 725s ok 8 /array/new/zero-terminated 725s ok 9 /array/new/take 725s ok 10 /array/new/take-zero-terminated 725s # Start of take tests 725s ok 11 /array/new/take/empty 725s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 725s # End of take tests 725s # End of new tests 725s # Start of set-size tests 725s ok 13 /array/set-size/non-zero-terminated-no-clear 725s ok 14 /array/set-size/non-zero-terminated-clear 725s ok 15 /array/set-size/zero-terminated-no-clear 725s ok 16 /array/set-size/zero-terminated-clear 725s # Start of sized tests 725s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 725s ok 18 /array/set-size/sized/non-zero-terminated-clear 725s ok 19 /array/set-size/sized/zero-terminated-no-clear 725s ok 20 /array/set-size/sized/zero-terminated-clear 725s # End of sized tests 725s # End of set-size tests 725s # Start of append-val tests 725s ok 21 /array/append-val/non-zero-terminated-no-clear 725s ok 22 /array/append-val/non-zero-terminated-clear 725s ok 23 /array/append-val/zero-terminated-no-clear 725s ok 24 /array/append-val/zero-terminated-clear 725s # End of append-val tests 725s # Start of prepend-val tests 725s ok 25 /array/prepend-val/non-zero-terminated-no-clear 725s ok 26 /array/prepend-val/non-zero-terminated-clear 725s ok 27 /array/prepend-val/zero-terminated-no-clear 725s ok 28 /array/prepend-val/zero-terminated-clear 725s # End of prepend-val tests 725s # Start of prepend-vals tests 725s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 725s ok 30 /array/prepend-vals/non-zero-terminated-clear 725s ok 31 /array/prepend-vals/zero-terminated-no-clear 725s ok 32 /array/prepend-vals/zero-terminated-clear 725s # End of prepend-vals tests 725s # Start of insert-vals tests 725s ok 33 /array/insert-vals/non-zero-terminated-no-clear 725s ok 34 /array/insert-vals/non-zero-terminated-clear 725s ok 35 /array/insert-vals/zero-terminated-no-clear 725s ok 36 /array/insert-vals/zero-terminated-clear 725s # End of insert-vals tests 725s # Start of remove-index tests 725s ok 37 /array/remove-index/non-zero-terminated-no-clear 725s ok 38 /array/remove-index/non-zero-terminated-clear 725s ok 39 /array/remove-index/zero-terminated-no-clear 725s ok 40 /array/remove-index/zero-terminated-clear 725s # End of remove-index tests 725s # Start of remove-index-fast tests 725s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 725s ok 42 /array/remove-index-fast/non-zero-terminated-clear 725s ok 43 /array/remove-index-fast/zero-terminated-no-clear 725s ok 44 /array/remove-index-fast/zero-terminated-clear 725s # End of remove-index-fast tests 725s # Start of remove-range tests 725s ok 45 /array/remove-range/non-zero-terminated-no-clear 725s ok 46 /array/remove-range/non-zero-terminated-clear 725s ok 47 /array/remove-range/zero-terminated-no-clear 725s ok 48 /array/remove-range/zero-terminated-clear 725s # End of remove-range tests 725s # Start of copy tests 725s ok 49 /array/copy/non-zero-terminated-no-clear 725s ok 50 /array/copy/non-zero-terminated-clear 725s ok 51 /array/copy/zero-terminated-no-clear 725s ok 52 /array/copy/zero-terminated-clear 725s # End of copy tests 725s # Start of sort tests 725s ok 53 /array/sort/non-zero-terminated-no-clear 725s ok 54 /array/sort/non-zero-terminated-clear 725s ok 55 /array/sort/zero-terminated-no-clear 725s ok 56 /array/sort/zero-terminated-clear 725s # End of sort tests 725s # Start of sort-with-data tests 725s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 725s ok 58 /array/sort-with-data/non-zero-terminated-clear 725s ok 59 /array/sort-with-data/zero-terminated-no-clear 725s ok 60 /array/sort-with-data/zero-terminated-clear 725s # End of sort-with-data tests 725s # End of array tests 725s # Start of pointerarray tests 725s ok 61 /pointerarray/add 725s ok 62 /pointerarray/insert 725s ok 63 /pointerarray/new-take 725s ok 64 /pointerarray/new-take-null-terminated 725s ok 65 /pointerarray/new-from-array 725s ok 66 /pointerarray/new-from-null-terminated-array 725s ok 67 /pointerarray/free-func 725s ok 68 /pointerarray/array_extend_and_steal 725s ok 69 /pointerarray/sort 725s ok 70 /pointerarray/sort-with-data 725s ok 71 /pointerarray/sort-values 725s ok 72 /pointerarray/sort-values-with-data 725s ok 73 /pointerarray/remove-range 725s ok 74 /pointerarray/steal 725s # Start of free tests 725s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 725s ok 75 /pointerarray/free/null-terminated 725s # End of free tests 725s # Start of new-take tests 725s ok 76 /pointerarray/new-take/empty 725s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 725s ok 78 /pointerarray/new-take/with-free-func 725s # End of new-take tests 725s # Start of new-take-null-terminated tests 725s ok 79 /pointerarray/new-take-null-terminated/empty 725s ok 80 /pointerarray/new-take-null-terminated/with-free-func 725s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 725s # End of new-take-null-terminated tests 725s # Start of new-from-array tests 725s ok 82 /pointerarray/new-from-array/empty 725s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 725s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 725s # End of new-from-array tests 725s # Start of new-from-null-terminated-array tests 725s ok 85 /pointerarray/new-from-null-terminated-array/empty 725s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 725s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 725s # End of new-from-null-terminated-array tests 725s # Start of ref-count tests 725s ok 88 /pointerarray/ref-count/not-null-terminated 725s ok 89 /pointerarray/ref-count/null-terminated 725s # End of ref-count tests 725s # Start of array_copy tests 725s # /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 725s ok 90 /pointerarray/array_copy/not-null-terminated 725s # /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 725s ok 91 /pointerarray/array_copy/null-terminated 725s # End of array_copy tests 725s # Start of array_extend tests 725s ok 92 /pointerarray/array_extend/not-null-terminated 725s ok 93 /pointerarray/array_extend/null-terminated 725s # End of array_extend tests 725s # Start of sort tests 725s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 725s ok 94 /pointerarray/sort/example 725s # End of sort tests 725s # Start of sort-with-data tests 725s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 725s ok 95 /pointerarray/sort-with-data/example 725s # End of sort-with-data tests 725s # Start of sort-values tests 725s ok 96 /pointerarray/sort-values/example 725s # End of sort-values tests 725s # Start of sort-values-with-data tests 725s ok 97 /pointerarray/sort-values-with-data/example 725s # End of sort-values-with-data tests 725s # Start of find tests 725s ok 98 /pointerarray/find/empty 725s ok 99 /pointerarray/find/non-empty 725s # End of find tests 725s # Start of steal_index tests 725s ok 100 /pointerarray/steal_index/not-null-terminated 725s ok 101 /pointerarray/steal_index/null-terminated 725s # End of steal_index tests 725s # End of pointerarray tests 725s # Start of bytearray tests 725s ok 102 /bytearray/steal 725s ok 103 /bytearray/append 725s ok 104 /bytearray/prepend 725s ok 105 /bytearray/remove 725s ok 106 /bytearray/remove-fast 725s ok 107 /bytearray/remove-range 725s ok 108 /bytearray/ref-count 725s ok 109 /bytearray/sort 725s ok 110 /bytearray/sort-with-data 725s ok 111 /bytearray/new-take 725s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 725s ok 113 /bytearray/free-to-bytes 725s # End of bytearray tests 725s ok - glib/array-test.test 725s # Running test: glib/power-profile-monitor-dbus.test 726s TAP version 13 726s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 726s 1..1 726s ok - glib/power-profile-monitor-dbus.test 726s # Running test: glib/filter-streams.test 726s TAP version 14 726s # random seed: R02S9de15fbd199189592e382236f048f8e8 726s 1..4 726s # Start of filter-stream tests 726s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 726s ok 1 /filter-stream/input 726s ok 2 /filter-stream/output 726s ok 3 /filter-stream/async-input 726s ok 4 /filter-stream/async-output 726s # End of filter-stream tests 726s ok - glib/filter-streams.test 726s # Running test: glib/include.test 726s TAP version 14 726s # random seed: R02S92f99d267004a81df5aea62e59795303 726s 1..1 726s # Start of include tests 726s ok 1 /include/rwlock 726s # End of include tests 726s ok - glib/include.test 726s # Running test: glib/cxx-11.test 726s TAP version 14 726s # random seed: R02Se8c2e174176d7cf856193d8c1273eb2d 726s 1..2 726s # Start of gtask tests 726s # 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. 726s ok 1 /gtask/name 726s # Start of name tests 726s # 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. 726s ok 2 /gtask/name/macro-wrapper 726s # End of name tests 726s # End of gtask tests 726s ok - glib/cxx-11.test 726s # Running test: glib/rcbox.test 726s ok - glib/rcbox.test 726s # Running test: glib/checksum.test 726s TAP version 14 726s # random seed: R02S01ff7b3b7e8a1d6aa40aa545673366af 726s 1..8 726s # Start of rcbox tests 726s ok 1 /rcbox/new 726s # global_point = 0x584a5ce4a8b0 726s ok 2 /rcbox/release-full 726s # global_point_a = 0x584a5ce4a8b0 726s # global_point_b = 0x584a5ce4a980 726s ok 3 /rcbox/dup 726s ok 4 /rcbox/alignment 726s # End of rcbox tests 726s # Start of atomic-rcbox tests 726s ok 5 /atomic-rcbox/new 726s # global_point = 0x584a5ce4a980 726s ok 6 /atomic-rcbox/release-full 726s # global_point_a = 0x584a5ce4a980 726s # global_point_b = 0x584a5ce4a8b0 726s ok 7 /atomic-rcbox/dup 726s ok 8 /atomic-rcbox/alignment 726s # End of atomic-rcbox tests 726s TAP version 14 726s # random seed: R02S9cfa64a2cdbc18af537cdc35deefd019 726s 1..1851 726s # Start of checksum tests 726s ok 1 /checksum/unsupported 726s # Start of MD5 tests 726s ok 2 /checksum/MD5/0 726s ok 3 /checksum/MD5/1 726s ok 4 /checksum/MD5/2 726s ok 5 /checksum/MD5/3 726s ok 6 /checksum/MD5/4 726s ok 7 /checksum/MD5/5 726s ok 8 /checksum/MD5/6 726s ok 9 /checksum/MD5/7 726s ok 10 /checksum/MD5/8 726s ok 11 /checksum/MD5/9 726s ok 12 /checksum/MD5/10 726s ok 13 /checksum/MD5/11 726s ok 14 /checksum/MD5/12 726s ok 15 /checksum/MD5/13 726s ok 16 /checksum/MD5/14 726s ok 17 /checksum/MD5/15 726s ok 18 /checksum/MD5/16 726s ok 19 /checksum/MD5/17 726s ok 20 /checksum/MD5/18 726s ok 21 /checksum/MD5/19 726s ok 22 /checksum/MD5/20 726s ok 23 /checksum/MD5/21 726s ok 24 /checksum/MD5/22 726s ok 25 /checksum/MD5/23 726s ok 26 /checksum/MD5/24 726s ok 27 /checksum/MD5/25 726s ok 28 /checksum/MD5/26 726s ok 29 /checksum/MD5/27 726s ok 30 /checksum/MD5/28 726s ok 31 /checksum/MD5/29 726s ok 32 /checksum/MD5/30 726s ok 33 /checksum/MD5/31 726s ok 34 /checksum/MD5/32 726s ok 35 /checksum/MD5/33 726s ok 36 /checksum/MD5/34 726s ok 37 /checksum/MD5/35 726s ok 38 /checksum/MD5/36 726s ok 39 /checksum/MD5/37 726s ok 40 /checksum/MD5/38 726s ok 41 /checksum/MD5/39 726s ok 42 /checksum/MD5/40 726s ok 43 /checksum/MD5/41 726s ok 44 /checksum/MD5/42 726s ok 45 /checksum/MD5/43 726s ok 46 /checksum/MD5/44 726s ok 47 /checksum/MD5/45 726s ok 48 /checksum/MD5/46 726s ok 49 /checksum/MD5/47 726s ok 50 /checksum/MD5/48 726s ok 51 /checksum/MD5/49 726s ok 52 /checksum/MD5/50 726s ok 53 /checksum/MD5/51 726s ok 54 /checksum/MD5/52 726s ok 55 /checksum/MD5/53 726s ok 56 /checksum/MD5/54 726s ok 57 /checksum/MD5/55 726s ok 58 /checksum/MD5/56 726s ok 59 /checksum/MD5/57 726s ok 60 /checksum/MD5/58 726s ok 61 /checksum/MD5/59 726s ok 62 /checksum/MD5/60 726s ok 63 /checksum/MD5/61 726s ok 64 /checksum/MD5/62 726s ok 65 /checksum/MD5/63 726s ok 66 /checksum/MD5/64 726s ok 67 /checksum/MD5/65 726s ok 68 /checksum/MD5/66 726s ok 69 /checksum/MD5/67 726s ok 70 /checksum/MD5/68 726s ok 71 /checksum/MD5/69 726s ok 72 /checksum/MD5/70 726s ok 73 /checksum/MD5/71 726s ok 74 /checksum/MD5/72 726s ok 75 /checksum/MD5/73 726s ok 76 /checksum/MD5/74 726s ok 77 /checksum/MD5/75 726s ok 78 /checksum/MD5/76 726s ok 79 /checksum/MD5/77 726s ok 80 /checksum/MD5/78 726s ok 81 /checksum/MD5/79 726s ok 82 /checksum/MD5/80 726s ok 83 /checksum/MD5/81 726s ok 84 /checksum/MD5/82 726s ok 85 /checksum/MD5/83 726s ok 86 /checksum/MD5/84 726s ok 87 /checksum/MD5/85 726s ok 88 /checksum/MD5/86 726s ok 89 /checksum/MD5/87 726s ok 90 /checksum/MD5/88 726s ok 91 /checksum/MD5/89 726s ok 92 /checksum/MD5/90 726s ok 93 /checksum/MD5/91 726s ok 94 /checksum/MD5/92 726s ok 95 /checksum/MD5/93 726s ok 96 /checksum/MD5/94 726s ok 97 /checksum/MD5/95 726s ok 98 /checksum/MD5/96 726s ok 99 /checksum/MD5/97 726s ok 100 /checksum/MD5/98 726s ok 101 /checksum/MD5/99 726s ok 102 /checksum/MD5/100 726s ok 103 /checksum/MD5/101 726s ok 104 /checksum/MD5/102 726s ok 105 /checksum/MD5/103 726s ok 106 /checksum/MD5/104 726s ok 107 /checksum/MD5/105 726s ok 108 /checksum/MD5/106 726s ok 109 /checksum/MD5/107 726s ok 110 /checksum/MD5/108 726s ok 111 /checksum/MD5/109 726s ok 112 /checksum/MD5/110 726s ok 113 /checksum/MD5/111 726s ok 114 /checksum/MD5/112 726s ok 115 /checksum/MD5/113 726s ok 116 /checksum/MD5/114 726s ok 117 /checksum/MD5/115 726s ok 118 /checksum/MD5/116 726s ok 119 /checksum/MD5/117 726s ok 120 /checksum/MD5/118 726s ok 121 /checksum/MD5/119 726s ok 122 /checksum/MD5/120 726s ok 123 /checksum/MD5/121 726s ok 124 /checksum/MD5/122 726s ok 125 /checksum/MD5/123 726s ok 126 /checksum/MD5/124 726s ok 127 /checksum/MD5/125 726s ok 128 /checksum/MD5/126 726s ok 129 /checksum/MD5/127 726s ok 130 /checksum/MD5/128 726s ok 131 /checksum/MD5/129 726s ok 132 /checksum/MD5/130 726s ok 133 /checksum/MD5/131 726s ok 134 /checksum/MD5/132 726s ok 135 /checksum/MD5/133 726s ok 136 /checksum/MD5/134 726s ok 137 /checksum/MD5/135 726s ok 138 /checksum/MD5/136 726s ok 139 /checksum/MD5/137 726s ok 140 /checksum/MD5/138 726s ok 141 /checksum/MD5/139 726s ok 142 /checksum/MD5/140 726s ok 143 /checksum/MD5/141 726s ok 144 /checksum/MD5/142 726s ok 145 /checksum/MD5/143 726s ok 146 /checksum/MD5/144 726s ok 147 /checksum/MD5/145 726s ok 148 /checksum/MD5/146 726s ok 149 /checksum/MD5/147 726s ok 150 /checksum/MD5/148 726s ok 151 /checksum/MD5/149 726s ok 152 /checksum/MD5/150 726s ok 153 /checksum/MD5/151 726s ok 154 /checksum/MD5/152 726s ok 155 /checksum/MD5/153 726s ok 156 /checksum/MD5/154 726s ok 157 /checksum/MD5/155 726s ok 158 /checksum/MD5/156 726s ok 159 /checksum/MD5/157 726s ok 160 /checksum/MD5/158 726s ok 161 /checksum/MD5/159 726s ok 162 /checksum/MD5/160 726s ok 163 /checksum/MD5/161 726s ok 164 /checksum/MD5/162 726s ok 165 /checksum/MD5/163 726s ok 166 /checksum/MD5/164 726s ok 167 /checksum/MD5/165 726s ok 168 /checksum/MD5/166 726s ok 169 /checksum/MD5/167 726s ok 170 /checksum/MD5/168 726s ok 171 /checksum/MD5/169 726s ok 172 /checksum/MD5/170 726s ok 173 /checksum/MD5/171 726s ok 174 /checksum/MD5/172 726s ok 175 /checksum/MD5/173 726s ok 176 /checksum/MD5/174 726s ok 177 /checksum/MD5/175 726s ok 178 /checksum/MD5/176 726s ok 179 /checksum/MD5/177 726s ok 180 /checksum/MD5/178 726s ok 181 /checksum/MD5/179 726s ok 182 /checksum/MD5/180 726s ok 183 /checksum/MD5/181 726s ok 184 /checksum/MD5/182 726s ok 185 /checksum/MD5/183 726s ok 186 /checksum/MD5/string 726s ok 187 /checksum/MD5/bytes 726s # Start of reset tests 726s ok 188 /checksum/MD5/reset/0 726s ok 189 /checksum/MD5/reset/1 726s ok 190 /checksum/MD5/reset/2 726s ok 191 /checksum/MD5/reset/3 726s ok 192 /checksum/MD5/reset/4 726s ok 193 /checksum/MD5/reset/5 726s ok 194 /checksum/MD5/reset/6 726s ok 195 /checksum/MD5/reset/7 726s ok 196 /checksum/MD5/reset/8 726s ok 197 /checksum/MD5/reset/9 726s ok 198 /checksum/MD5/reset/10 726s ok 199 /checksum/MD5/reset/11 726s ok 200 /checksum/MD5/reset/12 726s ok 201 /checksum/MD5/reset/13 726s ok 202 /checksum/MD5/reset/14 726s ok 203 /checksum/MD5/reset/15 726s ok 204 /checksum/MD5/reset/16 726s ok 205 /checksum/MD5/reset/17 726s ok 206 /checksum/MD5/reset/18 726s ok 207 /checksum/MD5/reset/19 726s ok 208 /checksum/MD5/reset/20 726s ok 209 /checksum/MD5/reset/21 726s ok 210 /checksum/MD5/reset/22 726s ok 211 /checksum/MD5/reset/23 726s ok 212 /checksum/MD5/reset/24 726s ok 213 /checksum/MD5/reset/25 726s ok 214 /checksum/MD5/reset/26 726s ok 215 /checksum/MD5/reset/27 726s ok 216 /checksum/MD5/reset/28 726s ok 217 /checksum/MD5/reset/29 726s ok 218 /checksum/MD5/reset/30 726s ok 219 /checksum/MD5/reset/31 726s ok 220 /checksum/MD5/reset/32 726s ok 221 /checksum/MD5/reset/33 726s ok 222 /checksum/MD5/reset/34 726s ok 223 /checksum/MD5/reset/35 726s ok 224 /checksum/MD5/reset/36 726s ok 225 /checksum/MD5/reset/37 726s ok 226 /checksum/MD5/reset/38 726s ok 227 /checksum/MD5/reset/39 726s ok 228 /checksum/MD5/reset/40 726s ok 229 /checksum/MD5/reset/41 726s ok 230 /checksum/MD5/reset/42 726s ok 231 /checksum/MD5/reset/43 726s ok 232 /checksum/MD5/reset/44 726s ok 233 /checksum/MD5/reset/45 726s ok 234 /checksum/MD5/reset/46 726s ok 235 /checksum/MD5/reset/47 726s ok 236 /checksum/MD5/reset/48 726s ok 237 /checksum/MD5/reset/49 726s ok 238 /checksum/MD5/reset/50 726s ok 239 /checksum/MD5/reset/51 726s ok 240 /checksum/MD5/reset/52 726s ok 241 /checksum/MD5/reset/53 726s ok 242 /checksum/MD5/reset/54 726s ok 243 /checksum/MD5/reset/55 726s ok 244 /checksum/MD5/reset/56 726s ok 245 /checksum/MD5/reset/57 726s ok 246 /checksum/MD5/reset/58 726s ok 247 /checksum/MD5/reset/59 726s ok 248 /checksum/MD5/reset/60 726s ok 249 /checksum/MD5/reset/61 726s ok 250 /checksum/MD5/reset/62 726s ok 251 /checksum/MD5/reset/63 726s ok 252 /checksum/MD5/reset/64 726s ok 253 /checksum/MD5/reset/65 726s ok 254 /checksum/MD5/reset/66 726s ok 255 /checksum/MD5/reset/67 726s ok 256 /checksum/MD5/reset/68 726s ok 257 /checksum/MD5/reset/69 726s ok 258 /checksum/MD5/reset/70 726s ok 259 /checksum/MD5/reset/71 726s ok 260 /checksum/MD5/reset/72 726s ok 261 /checksum/MD5/reset/73 726s ok 262 /checksum/MD5/reset/74 726s ok 263 /checksum/MD5/reset/75 726s ok 264 /checksum/MD5/reset/76 726s ok 265 /checksum/MD5/reset/77 726s ok 266 /checksum/MD5/reset/78 726s ok 267 /checksum/MD5/reset/79 726s ok 268 /checksum/MD5/reset/80 726s ok 269 /checksum/MD5/reset/81 726s ok 270 /checksum/MD5/reset/82 726s ok 271 /checksum/MD5/reset/83 726s ok 272 /checksum/MD5/reset/84 726s ok 273 /checksum/MD5/reset/85 726s ok 274 /checksum/MD5/reset/86 726s ok 275 /checksum/MD5/reset/87 726s ok 276 /checksum/MD5/reset/88 726s ok 277 /checksum/MD5/reset/89 726s ok 278 /checksum/MD5/reset/90 726s ok 279 /checksum/MD5/reset/91 726s ok 280 /checksum/MD5/reset/92 726s ok 281 /checksum/MD5/reset/93 726s ok 282 /checksum/MD5/reset/94 726s ok 283 /checksum/MD5/reset/95 726s ok 284 /checksum/MD5/reset/96 726s ok 285 /checksum/MD5/reset/97 726s ok 286 /checksum/MD5/reset/98 726s ok 287 /checksum/MD5/reset/99 726s ok 288 /checksum/MD5/reset/100 726s ok 289 /checksum/MD5/reset/101 726s ok 290 /checksum/MD5/reset/102 726s ok 291 /checksum/MD5/reset/103 726s ok 292 /checksum/MD5/reset/104 726s ok 293 /checksum/MD5/reset/105 726s ok 294 /checksum/MD5/reset/106 726s ok 295 /checksum/MD5/reset/107 726s ok 296 /checksum/MD5/reset/108 726s ok 297 /checksum/MD5/reset/109 726s ok 298 /checksum/MD5/reset/110 726s ok 299 /checksum/MD5/reset/111 726s ok 300 /checksum/MD5/reset/112 726s ok 301 /checksum/MD5/reset/113 726s ok 302 /checksum/MD5/reset/114 726s ok 303 /checksum/MD5/reset/115 726s ok 304 /checksum/MD5/reset/116 726s ok 305 /checksum/MD5/reset/117 726s ok 306 /checksum/MD5/reset/118 726s ok 307 /checksum/MD5/reset/119 726s ok 308 /checksum/MD5/reset/120 726s ok 309 /checksum/MD5/reset/121 726s ok 310 /checksum/MD5/reset/122 726s ok 311 /checksum/MD5/reset/123 726s ok 312 /checksum/MD5/reset/124 726s ok 313 /checksum/MD5/reset/125 726s ok 314 /checksum/MD5/reset/126 726s ok 315 /checksum/MD5/reset/127 726s ok 316 /checksum/MD5/reset/128 726s ok 317 /checksum/MD5/reset/129 726s ok 318 /checksum/MD5/reset/130 726s ok 319 /checksum/MD5/reset/131 726s ok 320 /checksum/MD5/reset/132 726s ok 321 /checksum/MD5/reset/133 726s ok 322 /checksum/MD5/reset/134 726s ok 323 /checksum/MD5/reset/135 726s ok 324 /checksum/MD5/reset/136 726s ok 325 /checksum/MD5/reset/137 726s ok 326 /checksum/MD5/reset/138 726s ok 327 /checksum/MD5/reset/139 726s ok 328 /checksum/MD5/reset/140 726s ok 329 /checksum/MD5/reset/141 726s ok 330 /checksum/MD5/reset/142 726s ok 331 /checksum/MD5/reset/143 726s ok 332 /checksum/MD5/reset/144 726s ok 333 /checksum/MD5/reset/145 726s ok 334 /checksum/MD5/reset/146 726s ok 335 /checksum/MD5/reset/147 726s ok 336 /checksum/MD5/reset/148 726s ok 337 /checksum/MD5/reset/149 726s ok 338 /checksum/MD5/reset/150 726s ok 339 /checksum/MD5/reset/151 726s ok 340 /checksum/MD5/reset/152 726s ok 341 /checksum/MD5/reset/153 726s ok 342 /checksum/MD5/reset/154 726s ok 343 /checksum/MD5/reset/155 726s ok 344 /checksum/MD5/reset/156 726s ok 345 /checksum/MD5/reset/157 726s ok 346 /checksum/MD5/reset/158 726s ok 347 /checksum/MD5/reset/159 726s ok 348 /checksum/MD5/reset/160 726s ok 349 /checksum/MD5/reset/161 726s ok 350 /checksum/MD5/reset/162 726s ok 351 /checksum/MD5/reset/163 726s ok 352 /checksum/MD5/reset/164 726s ok 353 /checksum/MD5/reset/165 726s ok 354 /checksum/MD5/reset/166 726s ok 355 /checksum/MD5/reset/167 726s ok 356 /checksum/MD5/reset/168 726s ok 357 /checksum/MD5/reset/169 726s ok 358 /checksum/MD5/reset/170 726s ok 359 /checksum/MD5/reset/171 726s ok 360 /checksum/MD5/reset/172 726s ok 361 /checksum/MD5/reset/173 726s ok 362 /checksum/MD5/reset/174 726s ok 363 /checksum/MD5/reset/175 726s ok 364 /checksum/MD5/reset/176 726s ok 365 /checksum/MD5/reset/177 726s ok 366 /checksum/MD5/reset/178 726s ok 367 /checksum/MD5/reset/179 726s ok 368 /checksum/MD5/reset/180 726s ok 369 /checksum/MD5/reset/181 726s ok 370 /checksum/MD5/reset/182 726s ok 371 /checksum/MD5/reset/183 726s # End of reset tests 726s # End of MD5 tests 726s # Start of SHA1 tests 726s ok 372 /checksum/SHA1/0 726s ok 373 /checksum/SHA1/1 726s ok 374 /checksum/SHA1/2 726s ok 375 /checksum/SHA1/3 726s ok 376 /checksum/SHA1/4 726s ok 377 /checksum/SHA1/5 726s ok 378 /checksum/SHA1/6 726s ok 379 /checksum/SHA1/7 726s ok 380 /checksum/SHA1/8 726s ok 381 /checksum/SHA1/9 726s ok 382 /checksum/SHA1/10 726s ok 383 /checksum/SHA1/11 726s ok 384 /checksum/SHA1/12 726s ok 385 /checksum/SHA1/13 726s ok 386 /checksum/SHA1/14 726s ok 387 /checksum/SHA1/15 726s ok 388 /checksum/SHA1/16 726s ok 389 /checksum/SHA1/17 726s ok 390 /checksum/SHA1/18 726s ok 391 /checksum/SHA1/19 726s ok 392 /checksum/SHA1/20 726s ok 393 /checksum/SHA1/21 726s ok 394 /checksum/SHA1/22 726s ok 395 /checksum/SHA1/23 726s ok 396 /checksum/SHA1/24 726s ok 397 /checksum/SHA1/25 726s ok 398 /checksum/SHA1/26 726s ok 399 /checksum/SHA1/27 726s ok 400 /checksum/SHA1/28 726s ok 401 /checksum/SHA1/29 726s ok 402 /checksum/SHA1/30 726s ok 403 /checksum/SHA1/31 726s ok 404 /checksum/SHA1/32 726s ok 405 /checksum/SHA1/33 726s ok 406 /checksum/SHA1/34 726s ok 407 /checksum/SHA1/35 726s ok 408 /checksum/SHA1/36 726s ok 409 /checksum/SHA1/37 726s ok 410 /checksum/SHA1/38 726s ok 411 /checksum/SHA1/39 726s ok 412 /checksum/SHA1/40 726s ok 413 /checksum/SHA1/41 726s ok 414 /checksum/SHA1/42 726s ok 415 /checksum/SHA1/43 726s ok 416 /checksum/SHA1/44 726s ok 417 /checksum/SHA1/45 726s ok 418 /checksum/SHA1/46 726s ok 419 /checksum/SHA1/47 726s ok 420 /checksum/SHA1/48 726s ok 421 /checksum/SHA1/49 726s ok 422 /checksum/SHA1/50 726s ok 423 /checksum/SHA1/51 726s ok 424 /checksum/SHA1/52 726s ok 425 /checksum/SHA1/53 726s ok 426 /checksum/SHA1/54 726s ok 427 /checksum/SHA1/55 726s ok 428 /checksum/SHA1/56 726s ok 429 /checksum/SHA1/57 726s ok 430 /checksum/SHA1/58 726s ok 431 /checksum/SHA1/59 726s ok 432 /checksum/SHA1/60 726s ok 433 /checksum/SHA1/61 726s ok 434 /checksum/SHA1/62 726s ok 435 /checksum/SHA1/63 726s ok 436 /checksum/SHA1/64 726s ok 437 /checksum/SHA1/65 726s ok 438 /checksum/SHA1/66 726s ok 439 /checksum/SHA1/67 726s ok 440 /checksum/SHA1/68 726s ok 441 /checksum/SHA1/69 726s ok 442 /checksum/SHA1/70 726s ok 443 /checksum/SHA1/71 726s ok 444 /checksum/SHA1/72 726s ok 445 /checksum/SHA1/73 726s ok 446 /checksum/SHA1/74 726s ok 447 /checksum/SHA1/75 726s ok 448 /checksum/SHA1/76 726s ok 449 /checksum/SHA1/77 726s ok 450 /checksum/SHA1/78 726s ok 451 /checksum/SHA1/79 726s ok 452 /checksum/SHA1/80 726s ok 453 /checksum/SHA1/81 726s ok 454 /checksum/SHA1/82 726s ok 455 /checksum/SHA1/83 726s ok 456 /checksum/SHA1/84 726s ok 457 /checksum/SHA1/85 726s ok 458 /checksum/SHA1/86 726s ok 459 /checksum/SHA1/87 726s ok 460 /checksum/SHA1/88 726s ok 461 /checksum/SHA1/89 726s ok 462 /checksum/SHA1/90 726s ok 463 /checksum/SHA1/91 726s ok 464 /checksum/SHA1/92 726s ok 465 /checksum/SHA1/93 726s ok 466 /checksum/SHA1/94 726s ok 467 /checksum/SHA1/95 726s ok 468 /checksum/SHA1/96 726s ok 469 /checksum/SHA1/97 726s ok 470 /checksum/SHA1/98 726s ok 471 /checksum/SHA1/99 726s ok 472 /checksum/SHA1/100 726s ok 473 /checksum/SHA1/101 726s ok 474 /checksum/SHA1/102 726s ok 475 /checksum/SHA1/103 726s ok 476 /checksum/SHA1/104 726s ok 477 /checksum/SHA1/105 726s ok 478 /checksum/SHA1/106 726s ok 479 /checksum/SHA1/107 726s ok 480 /checksum/SHA1/108 726s ok 481 /checksum/SHA1/109 726s ok 482 /checksum/SHA1/110 726s ok 483 /checksum/SHA1/111 726s ok 484 /checksum/SHA1/112 726s ok 485 /checksum/SHA1/113 726s ok 486 /checksum/SHA1/114 726s ok 487 /checksum/SHA1/115 726s ok 488 /checksum/SHA1/116 726s ok 489 /checksum/SHA1/117 726s ok 490 /checksum/SHA1/118 726s ok 491 /checksum/SHA1/119 726s ok 492 /checksum/SHA1/120 726s ok 493 /checksum/SHA1/121 726s ok 494 /checksum/SHA1/122 726s ok 495 /checksum/SHA1/123 726s ok 496 /checksum/SHA1/124 726s ok 497 /checksum/SHA1/125 726s ok 498 /checksum/SHA1/126 726s ok 499 /checksum/SHA1/127 726s ok 500 /checksum/SHA1/128 726s ok 501 /checksum/SHA1/129 726s ok 502 /checksum/SHA1/130 726s ok 503 /checksum/SHA1/131 726s ok 504 /checksum/SHA1/132 726s ok 505 /checksum/SHA1/133 726s ok 506 /checksum/SHA1/134 726s ok 507 /checksum/SHA1/135 726s ok 508 /checksum/SHA1/136 726s ok 509 /checksum/SHA1/137 726s ok 510 /checksum/SHA1/138 726s ok 511 /checksum/SHA1/139 726s ok 512 /checksum/SHA1/140 726s ok 513 /checksum/SHA1/141 726s ok 514 /checksum/SHA1/142 726s ok 515 /checksum/SHA1/143 726s ok 516 /checksum/SHA1/144 726s ok 517 /checksum/SHA1/145 726s ok 518 /checksum/SHA1/146 726s ok 519 /checksum/SHA1/147 726s ok 520 /checksum/SHA1/148 726s ok 521 /checksum/SHA1/149 726s ok 522 /checksum/SHA1/150 726s ok 523 /checksum/SHA1/151 726s ok 524 /checksum/SHA1/152 726s ok 525 /checksum/SHA1/153 726s ok 526 /checksum/SHA1/154 726s ok 527 /checksum/SHA1/155 726s ok 528 /checksum/SHA1/156 726s ok 529 /checksum/SHA1/157 726s ok 530 /checksum/SHA1/158 726s ok 531 /checksum/SHA1/159 726s ok 532 /checksum/SHA1/160 726s ok 533 /checksum/SHA1/161 726s ok 534 /checksum/SHA1/162 726s ok 535 /checksum/SHA1/163 726s ok 536 /checksum/SHA1/164 726s ok 537 /checksum/SHA1/165 726s ok 538 /checksum/SHA1/166 726s ok 539 /checksum/SHA1/167 726s ok 540 /checksum/SHA1/168 726s ok 541 /checksum/SHA1/169 726s ok 542 /checksum/SHA1/170 726s ok 543 /checksum/SHA1/171 726s ok 544 /checksum/SHA1/172 726s ok 545 /checksum/SHA1/173 726s ok 546 /checksum/SHA1/174 726s ok 547 /checksum/SHA1/175 726s ok 548 /checksum/SHA1/176 726s ok 549 /checksum/SHA1/177 726s ok 550 /checksum/SHA1/178 726s ok 551 /checksum/SHA1/179 726s ok 552 /checksum/SHA1/180 726s ok 553 /checksum/SHA1/181 726s ok 554 /checksum/SHA1/182 726s ok 555 /checksum/SHA1/183 726s ok 556 /checksum/SHA1/string 726s ok 557 /checksum/SHA1/bytes 726s # Start of reset tests 726s ok 558 /checksum/SHA1/reset/0 726s ok 559 /checksum/SHA1/reset/1 726s ok 560 /checksum/SHA1/reset/2 726s ok 561 /checksum/SHA1/reset/3 726s ok 562 /checksum/SHA1/reset/4 726s ok 563 /checksum/SHA1/reset/5 726s ok 564 /checksum/SHA1/reset/6 726s ok 565 /checksum/SHA1/reset/7 726s ok 566 /checksum/SHA1/reset/8 726s ok 567 /checksum/SHA1/reset/9 726s ok 568 /checksum/SHA1/reset/10 726s ok 569 /checksum/SHA1/reset/11 726s ok 570 /checksum/SHA1/reset/12 726s ok 571 /checksum/SHA1/reset/13 726s ok 572 /checksum/SHA1/reset/14 726s ok 573 /checksum/SHA1/reset/15 726s ok 574 /checksum/SHA1/reset/16 726s ok 575 /checksum/SHA1/reset/17 726s ok 576 /checksum/SHA1/reset/18 726s ok 577 /checksum/SHA1/reset/19 726s ok 578 /checksum/SHA1/reset/20 726s ok 579 /checksum/SHA1/reset/21 726s ok 580 /checksum/SHA1/reset/22 726s ok 581 /checksum/SHA1/reset/23 726s ok 582 /checksum/SHA1/reset/24 726s ok 583 /checksum/SHA1/reset/25 726s ok 584 /checksum/SHA1/reset/26 726s ok 585 /checksum/SHA1/reset/27 726s ok 586 /checksum/SHA1/reset/28 726s ok 587 /checksum/SHA1/reset/29 726s ok 588 /checksum/SHA1/reset/30 726s ok 589 /checksum/SHA1/reset/31 726s ok 590 /checksum/SHA1/reset/32 726s ok 591 /checksum/SHA1/reset/33 726s ok 592 /checksum/SHA1/reset/34 726s ok 593 /checksum/SHA1/reset/35 726s ok 594 /checksum/SHA1/reset/36 726s ok 595 /checksum/SHA1/reset/37 726s ok 596 /checksum/SHA1/reset/38 726s ok 597 /checksum/SHA1/reset/39 726s ok 598 /checksum/SHA1/reset/40 726s ok 599 /checksum/SHA1/reset/41 726s ok 600 /checksum/SHA1/reset/42 726s ok 601 /checksum/SHA1/reset/43 726s ok 602 /checksum/SHA1/reset/44 726s ok 603 /checksum/SHA1/reset/45 726s ok 604 /checksum/SHA1/reset/46 726s ok 605 /checksum/SHA1/reset/47 726s ok 606 /checksum/SHA1/reset/48 726s ok 607 /checksum/SHA1/reset/49 726s ok 608 /checksum/SHA1/reset/50 726s ok 609 /checksum/SHA1/reset/51 726s ok 610 /checksum/SHA1/reset/52 726s ok 611 /checksum/SHA1/reset/53 726s ok 612 /checksum/SHA1/reset/54 726s ok 613 /checksum/SHA1/reset/55 726s ok 614 /checksum/SHA1/reset/56 726s ok 615 /checksum/SHA1/reset/57 726s ok 616 /checksum/SHA1/reset/58 726s ok 617 /checksum/SHA1/reset/59 726s ok 618 /checksum/SHA1/reset/60 726s ok 619 /checksum/SHA1/reset/61 726s ok 620 /checksum/SHA1/reset/62 726s ok 621 /checksum/SHA1/reset/63 726s ok 622 /checksum/SHA1/reset/64 726s ok 623 /checksum/SHA1/reset/65 726s ok 624 /checksum/SHA1/reset/66 726s ok 625 /checksum/SHA1/reset/67 726s ok 626 /checksum/SHA1/reset/68 726s ok 627 /checksum/SHA1/reset/69 726s ok 628 /checksum/SHA1/reset/70 726s ok 629 /checksum/SHA1/reset/71 726s ok 630 /checksum/SHA1/reset/72 726s ok 631 /checksum/SHA1/reset/73 726s ok 632 /checksum/SHA1/reset/74 726s ok 633 /checksum/SHA1/reset/75 726s ok 634 /checksum/SHA1/reset/76 726s ok 635 /checksum/SHA1/reset/77 726s ok 636 /checksum/SHA1/reset/78 726s ok 637 /checksum/SHA1/reset/79 726s ok 638 /checksum/SHA1/reset/80 726s ok 639 /checksum/SHA1/reset/81 726s ok 640 /checksum/SHA1/reset/82 726s ok 641 /checksum/SHA1/reset/83 726s ok 642 /checksum/SHA1/reset/84 726s ok 643 /checksum/SHA1/reset/85 726s ok 644 /checksum/SHA1/reset/86 726s ok 645 /checksum/SHA1/reset/87 726s ok 646 /checksum/SHA1/reset/88 726s ok 647 /checksum/SHA1/reset/89 726s ok 648 /checksum/SHA1/reset/90 726s ok 649 /checksum/SHA1/reset/91 726s ok 650 /checksum/SHA1/reset/92 726s ok 651 /checksum/SHA1/reset/93 726s ok 652 /checksum/SHA1/reset/94 726s ok 653 /checksum/SHA1/reset/95 726s ok 654 /checksum/SHA1/reset/96 726s ok 655 /checksum/SHA1/reset/97 726s ok 656 /checksum/SHA1/reset/98 726s ok 657 /checksum/SHA1/reset/99 726s ok 658 /checksum/SHA1/reset/100 726s ok 659 /checksum/SHA1/reset/101 726s ok 660 /checksum/SHA1/reset/102 726s ok 661 /checksum/SHA1/reset/103 726s ok 662 /checksum/SHA1/reset/104 726s ok 663 /checksum/SHA1/reset/105 726s ok 664 /checksum/SHA1/reset/106 726s ok 665 /checksum/SHA1/reset/107 726s ok 666 /checksum/SHA1/reset/108 726s ok 667 /checksum/SHA1/reset/109 726s ok 668 /checksum/SHA1/reset/110 726s ok 669 /checksum/SHA1/reset/111 726s ok 670 /checksum/SHA1/reset/112 726s ok 671 /checksum/SHA1/reset/113 726s ok 672 /checksum/SHA1/reset/114 726s ok 673 /checksum/SHA1/reset/115 726s ok 674 /checksum/SHA1/reset/116 726s ok 675 /checksum/SHA1/reset/117 726s ok 676 /checksum/SHA1/reset/118 726s ok 677 /checksum/SHA1/reset/119 726s ok 678 /checksum/SHA1/reset/120 726s ok 679 /checksum/SHA1/reset/121 726s ok 680 /checksum/SHA1/reset/122 726s ok 681 /checksum/SHA1/reset/123 726s ok 682 /checksum/SHA1/reset/124 726s ok 683 /checksum/SHA1/reset/125 726s ok 684 /checksum/SHA1/reset/126 726s ok 685 /checksum/SHA1/reset/127 726s ok 686 /checksum/SHA1/reset/128 726s ok 687 /checksum/SHA1/reset/129 726s ok 688 /checksum/SHA1/reset/130 726s ok 689 /checksum/SHA1/reset/131 726s ok 690 /checksum/SHA1/reset/132 726s ok 691 /checksum/SHA1/reset/133 726s ok 692 /checksum/SHA1/reset/134 726s ok 693 /checksum/SHA1/reset/135 726s ok 694 /checksum/SHA1/reset/136 726s ok 695 /checksum/SHA1/reset/137 726s ok 696 /checksum/SHA1/reset/138 726s ok 697 /checksum/SHA1/reset/139 726s ok 698 /checksum/SHA1/reset/140 726s ok 699 /checksum/SHA1/reset/141 726s ok 700 /checksum/SHA1/reset/142 726s ok 701 /checksum/SHA1/reset/143 726s ok 702 /checksum/SHA1/reset/144 726s ok 703 /checksum/SHA1/reset/145 726s ok 704 /checksum/SHA1/reset/146 726s ok 705 /checksum/SHA1/reset/147 726s ok 706 /checksum/SHA1/reset/148 726s ok 707 /checksum/SHA1/reset/149 726s ok 708 /checksum/SHA1/reset/150 726s ok 709 /checksum/SHA1/reset/151 726s ok 710 /checksum/SHA1/reset/152 726s ok 711 /checksum/SHA1/reset/153 726s ok 712 /checksum/SHA1/reset/154 726s ok 713 /checksum/SHA1/reset/155 726s ok 714 /checksum/SHA1/reset/156 726s ok 715 /checksum/SHA1/reset/157 726s ok 716 /checksum/SHA1/reset/158 726s ok 717 /checksum/SHA1/reset/159 726s ok 718 /checksum/SHA1/reset/160 726s ok 719 /checksum/SHA1/reset/161 726s ok 720 /checksum/SHA1/reset/162 726s ok 721 /checksum/SHA1/reset/163 726s ok 722 /checksum/SHA1/reset/164 726s ok 723 /checksum/SHA1/reset/165 726s ok 724 /checksum/SHA1/reset/166 726s ok 725 /checksum/SHA1/reset/167 726s ok 726 /checksum/SHA1/reset/168 726s ok 727 /checksum/SHA1/reset/169 726s ok 728 /checksum/SHA1/reset/170 726s ok 729 /checksum/SHA1/reset/171 726s ok 730 /checksum/SHA1/reset/172 726s ok 731 /checksum/SHA1/reset/173 726s ok 732 /checksum/SHA1/reset/174 726s ok 733 /checksum/SHA1/reset/175 726s ok 734 /checksum/SHA1/reset/176 726s ok 735 /checksum/SHA1/reset/177 726s ok 736 /checksum/SHA1/reset/178 726s ok 737 /checksum/SHA1/reset/179 726s ok 738 /checksum/SHA1/reset/180 726s ok 739 /checksum/SHA1/reset/181 726s ok 740 /checksum/SHA1/reset/182 726s ok 741 /checksum/SHA1/reset/183 726s # End of reset tests 726s # End of SHA1 tests 726s # Start of SHA256 tests 726s ok 742 /checksum/SHA256/0 726s ok 743 /checksum/SHA256/1 726s ok 744 /checksum/SHA256/2 726s ok 745 /checksum/SHA256/3 726s ok 746 /checksum/SHA256/4 726s ok 747 /checksum/SHA256/5 726s ok 748 /checksum/SHA256/6 726s ok 749 /checksum/SHA256/7 726s ok 750 /checksum/SHA256/8 726s ok 751 /checksum/SHA256/9 726s ok 752 /checksum/SHA256/10 726s ok 753 /checksum/SHA256/11 726s ok 754 /checksum/SHA256/12 726s ok 755 /checksum/SHA256/13 726s ok 756 /checksum/SHA256/14 726s ok 757 /checksum/SHA256/15 726s ok 758 /checksum/SHA256/16 726s ok 759 /checksum/SHA256/17 726s ok 760 /checksum/SHA256/18 726s ok 761 /checksum/SHA256/19 726s ok 762 /checksum/SHA256/20 726s ok 763 /checksum/SHA256/21 726s ok 764 /checksum/SHA256/22 726s ok 765 /checksum/SHA256/23 726s ok 766 /checksum/SHA256/24 726s ok 767 /checksum/SHA256/25 726s ok 768 /checksum/SHA256/26 726s ok 769 /checksum/SHA256/27 726s ok 770 /checksum/SHA256/28 726s ok 771 /checksum/SHA256/29 726s ok 772 /checksum/SHA256/30 726s ok 773 /checksum/SHA256/31 726s ok 774 /checksum/SHA256/32 726s ok 775 /checksum/SHA256/33 726s ok 776 /checksum/SHA256/34 726s ok 777 /checksum/SHA256/35 726s ok 778 /checksum/SHA256/36 726s ok 779 /checksum/SHA256/37 726s ok 780 /checksum/SHA256/38 726s ok 781 /checksum/SHA256/39 726s ok 782 /checksum/SHA256/40 726s ok 783 /checksum/SHA256/41 726s ok 784 /checksum/SHA256/42 726s ok 785 /checksum/SHA256/43 726s ok 786 /checksum/SHA256/44 726s ok 787 /checksum/SHA256/45 726s ok 788 /checksum/SHA256/46 726s ok 789 /checksum/SHA256/47 726s ok 790 /checksum/SHA256/48 726s ok 791 /checksum/SHA256/49 726s ok 792 /checksum/SHA256/50 726s ok 793 /checksum/SHA256/51 726s ok 794 /checksum/SHA256/52 726s ok 795 /checksum/SHA256/53 726s ok 796 /checksum/SHA256/54 726s ok 797 /checksum/SHA256/55 726s ok 798 /checksum/SHA256/56 726s ok 799 /checksum/SHA256/57 726s ok 800 /checksum/SHA256/58 726s ok 801 /checksum/SHA256/59 726s ok 802 /checksum/SHA256/60 726s ok 803 /checksum/SHA256/61 726s ok 804 /checksum/SHA256/62 726s ok 805 /checksum/SHA256/63 726s ok 806 /checksum/SHA256/64 726s ok 807 /checksum/SHA256/65 726s ok 808 /checksum/SHA256/66 726s ok 809 /checksum/SHA256/67 726s ok 810 /checksum/SHA256/68 726s ok 811 /checksum/SHA256/69 726s ok 812 /checksum/SHA256/70 726s ok 813 /checksum/SHA256/71 726s ok 814 /checksum/SHA256/72 726s ok 815 /checksum/SHA256/73 726s ok 816 /checksum/SHA256/74 726s ok 817 /checksum/SHA256/75 726s ok 818 /checksum/SHA256/76 726s ok 819 /checksum/SHA256/77 726s ok 820 /checksum/SHA256/78 726s ok 821 /checksum/SHA256/79 726s ok 822 /checksum/SHA256/80 726s ok 823 /checksum/SHA256/81 726s ok 824 /checksum/SHA256/82 726s ok 825 /checksum/SHA256/83 726s ok 826 /checksum/SHA256/84 726s ok 827 /checksum/SHA256/85 726s ok 828 /checksum/SHA256/86 726s ok 829 /checksum/SHA256/87 726s ok 830 /checksum/SHA256/88 726s ok 831 /checksum/SHA256/89 726s ok 832 /checksum/SHA256/90 726s ok 833 /checksum/SHA256/91 726s ok 834 /checksum/SHA256/92 726s ok 835 /checksum/SHA256/93 726s ok 836 /checksum/SHA256/94 726s ok 837 /checksum/SHA256/95 726s ok 838 /checksum/SHA256/96 726s ok 839 /checksum/SHA256/97 726s ok 840 /checksum/SHA256/98 726s ok 841 /checksum/SHA256/99 726s ok 842 /checksum/SHA256/100 726s ok 843 /checksum/SHA256/101 726s ok 844 /checksum/SHA256/102 726s ok 845 /checksum/SHA256/103 726s ok 846 /checksum/SHA256/104 726s ok 847 /checksum/SHA256/105 726s ok 848 /checksum/SHA256/106 726s ok 849 /checksum/SHA256/107 726s ok 850 /checksum/SHA256/108 726s ok 851 /checksum/SHA256/109 726s ok 852 /checksum/SHA256/110 726s ok 853 /checksum/SHA256/111 726s ok 854 /checksum/SHA256/112 726s ok 855 /checksum/SHA256/113 726s ok 856 /checksum/SHA256/114 726s ok 857 /checksum/SHA256/115 726s ok 858 /checksum/SHA256/116 726s ok 859 /checksum/SHA256/117 726s ok 860 /checksum/SHA256/118 726s ok 861 /checksum/SHA256/119 726s ok 862 /checksum/SHA256/120 726s ok 863 /checksum/SHA256/121 726s ok 864 /checksum/SHA256/122 726s ok 865 /checksum/SHA256/123 726s ok 866 /checksum/SHA256/124 726s ok 867 /checksum/SHA256/125 726s ok 868 /checksum/SHA256/126 726s ok 869 /checksum/SHA256/127 726s ok 870 /checksum/SHA256/128 726s ok 871 /checksum/SHA256/129 726s ok 872 /checksum/SHA256/130 726s ok 873 /checksum/SHA256/131 726s ok 874 /checksum/SHA256/132 726s ok 875 /checksum/SHA256/133 726s ok 876 /checksum/SHA256/134 726s ok 877 /checksum/SHA256/135 726s ok 878 /checksum/SHA256/136 726s ok 879 /checksum/SHA256/137 726s ok 880 /checksum/SHA256/138 726s ok 881 /checksum/SHA256/139 726s ok 882 /checksum/SHA256/140 726s ok 883 /checksum/SHA256/141 726s ok 884 /checksum/SHA256/142 726s ok 885 /checksum/SHA256/143 726s ok 886 /checksum/SHA256/144 726s ok 887 /checksum/SHA256/145 726s ok 888 /checksum/SHA256/146 726s ok 889 /checksum/SHA256/147 726s ok 890 /checksum/SHA256/148 726s ok 891 /checksum/SHA256/149 726s ok 892 /checksum/SHA256/150 726s ok 893 /checksum/SHA256/151 726s ok 894 /checksum/SHA256/152 726s ok 895 /checksum/SHA256/153 726s ok 896 /checksum/SHA256/154 726s ok 897 /checksum/SHA256/155 726s ok 898 /checksum/SHA256/156 726s ok 899 /checksum/SHA256/157 726s ok 900 /checksum/SHA256/158 726s ok 901 /checksum/SHA256/159 726s ok 902 /checksum/SHA256/160 726s ok 903 /checksum/SHA256/161 726s ok 904 /checksum/SHA256/162 726s ok 905 /checksum/SHA256/163 726s ok 906 /checksum/SHA256/164 726s ok 907 /checksum/SHA256/165 726s ok 908 /checksum/SHA256/166 726s ok 909 /checksum/SHA256/167 726s ok 910 /checksum/SHA256/168 726s ok 911 /checksum/SHA256/169 726s ok 912 /checksum/SHA256/170 726s ok 913 /checksum/SHA256/171 726s ok 914 /checksum/SHA256/172 726s ok 915 /checksum/SHA256/173 726s ok 916 /checksum/SHA256/174 726s ok 917 /checksum/SHA256/175 726s ok 918 /checksum/SHA256/176 726s ok 919 /checksum/SHA256/177 726s ok 920 /checksum/SHA256/178 726s ok 921 /checksum/SHA256/179 726s ok 922 /checksum/SHA256/180 726s ok 923 /checksum/SHA256/181 726s ok 924 /checksum/SHA256/182 726s ok 925 /checksum/SHA256/183 726s ok 926 /checksum/SHA256/string 726s ok 927 /checksum/SHA256/bytes 726s # Start of reset tests 726s ok 928 /checksum/SHA256/reset/0 726s ok 929 /checksum/SHA256/reset/1 726s ok 930 /checksum/SHA256/reset/2 726s ok 931 /checksum/SHA256/reset/3 726s ok 932 /checksum/SHA256/reset/4 726s ok 933 /checksum/SHA256/reset/5 726s ok 934 /checksum/SHA256/reset/6 726s ok 935 /checksum/SHA256/reset/7 726s ok 936 /checksum/SHA256/reset/8 726s ok 937 /checksum/SHA256/reset/9 726s ok 938 /checksum/SHA256/reset/10 726s ok 939 /checksum/SHA256/reset/11 726s ok 940 /checksum/SHA256/reset/12 726s ok 941 /checksum/SHA256/reset/13 726s ok 942 /checksum/SHA256/reset/14 726s ok 943 /checksum/SHA256/reset/15 726s ok 944 /checksum/SHA256/reset/16 726s ok 945 /checksum/SHA256/reset/17 726s ok 946 /checksum/SHA256/reset/18 726s ok 947 /checksum/SHA256/reset/19 726s ok 948 /checksum/SHA256/reset/20 726s ok 949 /checksum/SHA256/reset/21 726s ok 950 /checksum/SHA256/reset/22 726s ok 951 /checksum/SHA256/reset/23 726s ok 952 /checksum/SHA256/reset/24 726s ok 953 /checksum/SHA256/reset/25 726s ok 954 /checksum/SHA256/reset/26 726s ok 955 /checksum/SHA256/reset/27 726s ok 956 /checksum/SHA256/reset/28 726s ok 957 /checksum/SHA256/reset/29 726s ok 958 /checksum/SHA256/reset/30 726s ok 959 /checksum/SHA256/reset/31 726s ok 960 /checksum/SHA256/reset/32 726s ok 961 /checksum/SHA256/reset/33 726s ok 962 /checksum/SHA256/reset/34 726s ok 963 /checksum/SHA256/reset/35 726s ok 964 /checksum/SHA256/reset/36 726s ok 965 /checksum/SHA256/reset/37 726s ok 966 /checksum/SHA256/reset/38 726s ok 967 /checksum/SHA256/reset/39 726s ok 968 /checksum/SHA256/reset/40 726s ok 969 /checksum/SHA256/reset/41 726s ok 970 /checksum/SHA256/reset/42 726s ok 971 /checksum/SHA256/reset/43 726s ok 972 /checksum/SHA256/reset/44 726s ok 973 /checksum/SHA256/reset/45 726s ok 974 /checksum/SHA256/reset/46 726s ok 975 /checksum/SHA256/reset/47 726s ok 976 /checksum/SHA256/reset/48 726s ok 977 /checksum/SHA256/reset/49 726s ok 978 /checksum/SHA256/reset/50 726s ok 979 /checksum/SHA256/reset/51 726s ok 980 /checksum/SHA256/reset/52 726s ok 981 /checksum/SHA256/reset/53 726s ok 982 /checksum/SHA256/reset/54 726s ok 983 /checksum/SHA256/reset/55 726s ok 984 /checksum/SHA256/reset/56 726s ok 985 /checksum/SHA256/reset/57 726s ok 986 /checksum/SHA256/reset/58 726s ok 987 /checksum/SHA256/reset/59 726s ok 988 /checksum/SHA256/reset/60 726s ok 989 /checksum/SHA256/reset/61 726s ok 990 /checksum/SHA256/reset/62 726s ok 991 /checksum/SHA256/reset/63 726s ok 992 /checksum/SHA256/reset/64 726s ok 993 /checksum/SHA256/reset/65 726s ok 994 /checksum/SHA256/reset/66 726s ok 995 /checksum/SHA256/reset/67 726s ok 996 /checksum/SHA256/reset/68 726s ok 997 /checksum/SHA256/reset/69 726s ok 998 /checksum/SHA256/reset/70 726s ok 999 /checksum/SHA256/reset/71 726s ok 1000 /checksum/SHA256/reset/72 726s ok 1001 /checksum/SHA256/reset/73 726s ok 1002 /checksum/SHA256/reset/74 726s ok 1003 /checksum/SHA256/reset/75 726s ok 1004 /checksum/SHA256/reset/76 726s ok 1005 /checksum/SHA256/reset/77 726s ok 1006 /checksum/SHA256/reset/78 726s ok 1007 /checksum/SHA256/reset/79 726s ok 1008 /checksum/SHA256/reset/80 726s ok 1009 /checksum/SHA256/reset/81 726s ok 1010 /checksum/SHA256/reset/82 726s ok 1011 /checksum/SHA256/reset/83 726s ok 1012 /checksum/SHA256/reset/84 726s ok 1013 /checksum/SHA256/reset/85 726s ok 1014 /checksum/SHA256/reset/86 726s ok 1015 /checksum/SHA256/reset/87 726s ok 1016 /checksum/SHA256/reset/88 726s ok 1017 /checksum/SHA256/reset/89 726s ok 1018 /checksum/SHA256/reset/90 726s ok 1019 /checksum/SHA256/reset/91 726s ok 1020 /checksum/SHA256/reset/92 726s ok 1021 /checksum/SHA256/reset/93 726s ok 1022 /checksum/SHA256/reset/94 726s ok 1023 /checksum/SHA256/reset/95 726s ok 1024 /checksum/SHA256/reset/96 726s ok 1025 /checksum/SHA256/reset/97 726s ok 1026 /checksum/SHA256/reset/98 726s ok 1027 /checksum/SHA256/reset/99 726s ok 1028 /checksum/SHA256/reset/100 726s ok 1029 /checksum/SHA256/reset/101 726s ok 1030 /checksum/SHA256/reset/102 726s ok 1031 /checksum/SHA256/reset/103 726s ok 1032 /checksum/SHA256/reset/104 726s ok 1033 /checksum/SHA256/reset/105 726s ok 1034 /checksum/SHA256/reset/106 726s ok 1035 /checksum/SHA256/reset/107 726s ok 1036 /checksum/SHA256/reset/108 726s ok 1037 /checksum/SHA256/reset/109 726s ok 1038 /checksum/SHA256/reset/110 726s ok 1039 /checksum/SHA256/reset/111 726s ok 1040 /checksum/SHA256/reset/112 726s ok 1041 /checksum/SHA256/reset/113 726s ok 1042 /checksum/SHA256/reset/114 726s ok 1043 /checksum/SHA256/reset/115 726s ok 1044 /checksum/SHA256/reset/116 726s ok 1045 /checksum/SHA256/reset/117 726s ok 1046 /checksum/SHA256/reset/118 726s ok 1047 /checksum/SHA256/reset/119 726s ok 1048 /checksum/SHA256/reset/120 726s ok 1049 /checksum/SHA256/reset/121 726s ok 1050 /checksum/SHA256/reset/122 726s ok 1051 /checksum/SHA256/reset/123 726s ok 1052 /checksum/SHA256/reset/124 726s ok 1053 /checksum/SHA256/reset/125 726s ok 1054 /checksum/SHA256/reset/126 726s ok 1055 /checksum/SHA256/reset/127 726s ok 1056 /checksum/SHA256/reset/128 726s ok 1057 /checksum/SHA256/reset/129 726s ok 1058 /checksum/SHA256/reset/130 726s ok 1059 /checksum/SHA256/reset/131 726s ok 1060 /checksum/SHA256/reset/132 726s ok 1061 /checksum/SHA256/reset/133 726s ok 1062 /checksum/SHA256/reset/134 726s ok 1063 /checksum/SHA256/reset/135 726s ok 1064 /checksum/SHA256/reset/136 726s ok 1065 /checksum/SHA256/reset/137 726s ok 1066 /checksum/SHA256/reset/138 726s ok 1067 /checksum/SHA256/reset/139 726s ok 1068 /checksum/SHA256/reset/140 726s ok 1069 /checksum/SHA256/reset/141 726s ok 1070 /checksum/SHA256/reset/142 726s ok 1071 /checksum/SHA256/reset/143 726s ok 1072 /checksum/SHA256/reset/144 726s ok 1073 /checksum/SHA256/reset/145 726s ok 1074 /checksum/SHA256/reset/146 726s ok 1075 /checksum/SHA256/reset/147 726s ok 1076 /checksum/SHA256/reset/148 726s ok 1077 /checksum/SHA256/reset/149 726s ok 1078 /checksum/SHA256/reset/150 726s ok 1079 /checksum/SHA256/reset/151 726s ok 1080 /checksum/SHA256/reset/152 726s ok 1081 /checksum/SHA256/reset/153 726s ok 1082 /checksum/SHA256/reset/154 726s ok 1083 /checksum/SHA256/reset/155 726s ok 1084 /checksum/SHA256/reset/156 726s ok 1085 /checksum/SHA256/reset/157 726s ok 1086 /checksum/SHA256/reset/158 726s ok 1087 /checksum/SHA256/reset/159 726s ok 1088 /checksum/SHA256/reset/160 726s ok 1089 /checksum/SHA256/reset/161 726s ok 1090 /checksum/SHA256/reset/162 726s ok 1091 /checksum/SHA256/reset/163 726s ok 1092 /checksum/SHA256/reset/164 726s ok 1093 /checksum/SHA256/reset/165 726s ok 1094 /checksum/SHA256/reset/166 726s ok 1095 /checksum/SHA256/reset/167 726s ok 1096 /checksum/SHA256/reset/168 726s ok 1097 /checksum/SHA256/reset/169 726s ok 1098 /checksum/SHA256/reset/170 726s ok 1099 /checksum/SHA256/reset/171 726s ok 1100 /checksum/SHA256/reset/172 726s ok 1101 /checksum/SHA256/reset/173 726s ok 1102 /checksum/SHA256/reset/174 726s ok 1103 /checksum/SHA256/reset/175 726s ok 1104 /checksum/SHA256/reset/176 726s ok 1105 /checksum/SHA256/reset/177 726s ok 1106 /checksum/SHA256/reset/178 726s ok 1107 /checksum/SHA256/reset/179 726s ok 1108 /checksum/SHA256/reset/180 726s ok 1109 /checksum/SHA256/reset/181 726s ok 1110 /checksum/SHA256/reset/182 726s ok 1111 /checksum/SHA256/reset/183 726s # End of reset tests 726s # End of SHA256 tests 726s # Start of SHA384 tests 726s ok 1112 /checksum/SHA384/0 726s ok 1113 /checksum/SHA384/1 726s ok 1114 /checksum/SHA384/2 726s ok 1115 /checksum/SHA384/3 726s ok 1116 /checksum/SHA384/4 726s ok 1117 /checksum/SHA384/5 726s ok 1118 /checksum/SHA384/6 726s ok 1119 /checksum/SHA384/7 726s ok 1120 /checksum/SHA384/8 726s ok 1121 /checksum/SHA384/9 726s ok 1122 /checksum/SHA384/10 726s ok 1123 /checksum/SHA384/11 726s ok 1124 /checksum/SHA384/12 726s ok 1125 /checksum/SHA384/13 726s ok 1126 /checksum/SHA384/14 726s ok 1127 /checksum/SHA384/15 726s ok 1128 /checksum/SHA384/16 726s ok 1129 /checksum/SHA384/17 726s ok 1130 /checksum/SHA384/18 726s ok 1131 /checksum/SHA384/19 726s ok 1132 /checksum/SHA384/20 726s ok 1133 /checksum/SHA384/21 726s ok 1134 /checksum/SHA384/22 726s ok 1135 /checksum/SHA384/23 726s ok 1136 /checksum/SHA384/24 726s ok 1137 /checksum/SHA384/25 726s ok 1138 /checksum/SHA384/26 726s ok 1139 /checksum/SHA384/27 726s ok 1140 /checksum/SHA384/28 726s ok 1141 /checksum/SHA384/29 726s ok 1142 /checksum/SHA384/30 726s ok 1143 /checksum/SHA384/31 726s ok 1144 /checksum/SHA384/32 726s ok 1145 /checksum/SHA384/33 726s ok 1146 /checksum/SHA384/34 726s ok 1147 /checksum/SHA384/35 726s ok 1148 /checksum/SHA384/36 726s ok 1149 /checksum/SHA384/37 726s ok 1150 /checksum/SHA384/38 726s ok 1151 /checksum/SHA384/39 726s ok 1152 /checksum/SHA384/40 726s ok 1153 /checksum/SHA384/41 726s ok 1154 /checksum/SHA384/42 726s ok 1155 /checksum/SHA384/43 726s ok 1156 /checksum/SHA384/44 726s ok 1157 /checksum/SHA384/45 726s ok 1158 /checksum/SHA384/46 726s ok 1159 /checksum/SHA384/47 726s ok 1160 /checksum/SHA384/48 726s ok 1161 /checksum/SHA384/49 726s ok 1162 /checksum/SHA384/50 726s ok 1163 /checksum/SHA384/51 726s ok 1164 /checksum/SHA384/52 726s ok 1165 /checksum/SHA384/53 726s ok 1166 /checksum/SHA384/54 726s ok 1167 /checksum/SHA384/55 726s ok 1168 /checksum/SHA384/56 726s ok 1169 /checksum/SHA384/57 726s ok 1170 /checksum/SHA384/58 726s ok 1171 /checksum/SHA384/59 726s ok 1172 /checksum/SHA384/60 726s ok 1173 /checksum/SHA384/61 726s ok 1174 /checksum/SHA384/62 726s ok 1175 /checksum/SHA384/63 726s ok 1176 /checksum/SHA384/64 726s ok 1177 /checksum/SHA384/65 726s ok 1178 /checksum/SHA384/66 726s ok 1179 /checksum/SHA384/67 726s ok 1180 /checksum/SHA384/68 726s ok 1181 /checksum/SHA384/69 726s ok 1182 /checksum/SHA384/70 726s ok 1183 /checksum/SHA384/71 726s ok 1184 /checksum/SHA384/72 726s ok 1185 /checksum/SHA384/73 726s ok 1186 /checksum/SHA384/74 726s ok 1187 /checksum/SHA384/75 726s ok 1188 /checksum/SHA384/76 726s ok 1189 /checksum/SHA384/77 726s ok 1190 /checksum/SHA384/78 726s ok 1191 /checksum/SHA384/79 726s ok 1192 /checksum/SHA384/80 726s ok 1193 /checksum/SHA384/81 726s ok 1194 /checksum/SHA384/82 726s ok 1195 /checksum/SHA384/83 726s ok 1196 /checksum/SHA384/84 726s ok 1197 /checksum/SHA384/85 726s ok 1198 /checksum/SHA384/86 726s ok 1199 /checksum/SHA384/87 726s ok 1200 /checksum/SHA384/88 726s ok 1201 /checksum/SHA384/89 726s ok 1202 /checksum/SHA384/90 726s ok 1203 /checksum/SHA384/91 726s ok 1204 /checksum/SHA384/92 726s ok 1205 /checksum/SHA384/93 726s ok 1206 /checksum/SHA384/94 726s ok 1207 /checksum/SHA384/95 726s ok 1208 /checksum/SHA384/96 726s ok 1209 /checksum/SHA384/97 726s ok 1210 /checksum/SHA384/98 726s ok 1211 /checksum/SHA384/99 726s ok 1212 /checksum/SHA384/100 726s ok 1213 /checksum/SHA384/101 726s ok 1214 /checksum/SHA384/102 726s ok 1215 /checksum/SHA384/103 726s ok 1216 /checksum/SHA384/104 726s ok 1217 /checksum/SHA384/105 726s ok 1218 /checksum/SHA384/106 726s ok 1219 /checksum/SHA384/107 726s ok 1220 /checksum/SHA384/108 726s ok 1221 /checksum/SHA384/109 726s ok 1222 /checksum/SHA384/110 726s ok 1223 /checksum/SHA384/111 726s ok 1224 /checksum/SHA384/112 726s ok 1225 /checksum/SHA384/113 726s ok 1226 /checksum/SHA384/114 726s ok 1227 /checksum/SHA384/115 726s ok 1228 /checksum/SHA384/116 726s ok 1229 /checksum/SHA384/117 726s ok 1230 /checksum/SHA384/118 726s ok 1231 /checksum/SHA384/119 726s ok 1232 /checksum/SHA384/120 726s ok 1233 /checksum/SHA384/121 726s ok 1234 /checksum/SHA384/122 726s ok 1235 /checksum/SHA384/123 726s ok 1236 /checksum/SHA384/124 726s ok 1237 /checksum/SHA384/125 726s ok 1238 /checksum/SHA384/126 726s ok 1239 /checksum/SHA384/127 726s ok 1240 /checksum/SHA384/128 726s ok 1241 /checksum/SHA384/129 726s ok 1242 /checksum/SHA384/130 726s ok 1243 /checksum/SHA384/131 726s ok 1244 /checksum/SHA384/132 726s ok 1245 /checksum/SHA384/133 726s ok 1246 /checksum/SHA384/134 726s ok 1247 /checksum/SHA384/135 726s ok 1248 /checksum/SHA384/136 726s ok 1249 /checksum/SHA384/137 726s ok 1250 /checksum/SHA384/138 726s ok 1251 /checksum/SHA384/139 726s ok 1252 /checksum/SHA384/140 726s ok 1253 /checksum/SHA384/141 726s ok 1254 /checksum/SHA384/142 726s ok 1255 /checksum/SHA384/143 726s ok 1256 /checksum/SHA384/144 726s ok 1257 /checksum/SHA384/145 726s ok 1258 /checksum/SHA384/146 726s ok 1259 /checksum/SHA384/147 726s ok 1260 /checksum/SHA384/148 726s ok 1261 /checksum/SHA384/149 726s ok 1262 /checksum/SHA384/150 726s ok 1263 /checksum/SHA384/151 726s ok 1264 /checksum/SHA384/152 726s ok 1265 /checksum/SHA384/153 726s ok 1266 /checksum/SHA384/154 726s ok 1267 /checksum/SHA384/155 726s ok 1268 /checksum/SHA384/156 726s ok 1269 /checksum/SHA384/157 726s ok 1270 /checksum/SHA384/158 726s ok 1271 /checksum/SHA384/159 726s ok 1272 /checksum/SHA384/160 726s ok 1273 /checksum/SHA384/161 726s ok 1274 /checksum/SHA384/162 726s ok 1275 /checksum/SHA384/163 726s ok 1276 /checksum/SHA384/164 726s ok 1277 /checksum/SHA384/165 726s ok 1278 /checksum/SHA384/166 726s ok 1279 /checksum/SHA384/167 726s ok 1280 /checksum/SHA384/168 726s ok 1281 /checksum/SHA384/169 726s ok 1282 /checksum/SHA384/170 726s ok 1283 /checksum/SHA384/171 726s ok 1284 /checksum/SHA384/172 726s ok 1285 /checksum/SHA384/173 726s ok 1286 /checksum/SHA384/174 726s ok 1287 /checksum/SHA384/175 726s ok 1288 /checksum/SHA384/176 726s ok 1289 /checksum/SHA384/177 726s ok 1290 /checksum/SHA384/178 726s ok 1291 /checksum/SHA384/179 726s ok 1292 /checksum/SHA384/180 726s ok 1293 /checksum/SHA384/181 726s ok 1294 /checksum/SHA384/182 726s ok 1295 /checksum/SHA384/183 726s ok 1296 /checksum/SHA384/string 726s ok 1297 /checksum/SHA384/bytes 726s # Start of reset tests 726s ok 1298 /checksum/SHA384/reset/0 726s ok 1299 /checksum/SHA384/reset/1 726s ok 1300 /checksum/SHA384/reset/2 726s ok 1301 /checksum/SHA384/reset/3 726s ok 1302 /checksum/SHA384/reset/4 726s ok 1303 /checksum/SHA384/reset/5 726s ok 1304 /checksum/SHA384/reset/6 726s ok 1305 /checksum/SHA384/reset/7 726s ok 1306 /checksum/SHA384/reset/8 726s ok 1307 /checksum/SHA384/reset/9 726s ok 1308 /checksum/SHA384/reset/10 726s ok 1309 /checksum/SHA384/reset/11 726s ok 1310 /checksum/SHA384/reset/12 726s ok 1311 /checksum/SHA384/reset/13 726s ok 1312 /checksum/SHA384/reset/14 726s ok 1313 /checksum/SHA384/reset/15 726s ok 1314 /checksum/SHA384/reset/16 726s ok 1315 /checksum/SHA384/reset/17 726s ok 1316 /checksum/SHA384/reset/18 726s ok 1317 /checksum/SHA384/reset/19 726s ok 1318 /checksum/SHA384/reset/20 726s ok 1319 /checksum/SHA384/reset/21 726s ok 1320 /checksum/SHA384/reset/22 726s ok 1321 /checksum/SHA384/reset/23 726s ok 1322 /checksum/SHA384/reset/24 726s ok 1323 /checksum/SHA384/reset/25 726s ok 1324 /checksum/SHA384/reset/26 726s ok 1325 /checksum/SHA384/reset/27 726s ok 1326 /checksum/SHA384/reset/28 726s ok 1327 /checksum/SHA384/reset/29 726s ok 1328 /checksum/SHA384/reset/30 726s ok 1329 /checksum/SHA384/reset/31 726s ok 1330 /checksum/SHA384/reset/32 726s ok 1331 /checksum/SHA384/reset/33 726s ok 1332 /checksum/SHA384/reset/34 726s ok 1333 /checksum/SHA384/reset/35 726s ok 1334 /checksum/SHA384/reset/36 726s ok 1335 /checksum/SHA384/reset/37 726s ok 1336 /checksum/SHA384/reset/38 726s ok 1337 /checksum/SHA384/reset/39 726s ok 1338 /checksum/SHA384/reset/40 726s ok 1339 /checksum/SHA384/reset/41 726s ok 1340 /checksum/SHA384/reset/42 726s ok 1341 /checksum/SHA384/reset/43 726s ok 1342 /checksum/SHA384/reset/44 726s ok 1343 /checksum/SHA384/reset/45 726s ok 1344 /checksum/SHA384/reset/46 726s ok 1345 /checksum/SHA384/reset/47 726s ok 1346 /checksum/SHA384/reset/48 726s ok 1347 /checksum/SHA384/reset/49 726s ok 1348 /checksum/SHA384/reset/50 726s ok 1349 /checksum/SHA384/reset/51 726s ok 1350 /checksum/SHA384/reset/52 726s ok 1351 /checksum/SHA384/reset/53 726s ok 1352 /checksum/SHA384/reset/54 726s ok 1353 /checksum/SHA384/reset/55 726s ok 1354 /checksum/SHA384/reset/56 726s ok 1355 /checksum/SHA384/reset/57 726s ok 1356 /checksum/SHA384/reset/58 726s ok 1357 /checksum/SHA384/reset/59 726s ok 1358 /checksum/SHA384/reset/60 726s ok 1359 /checksum/SHA384/reset/61 726s ok 1360 /checksum/SHA384/reset/62 726s ok 1361 /checksum/SHA384/reset/63 726s ok 1362 /checksum/SHA384/reset/64 726s ok 1363 /checksum/SHA384/reset/65 726s ok 1364 /checksum/SHA384/reset/66 726s ok 1365 /checksum/SHA384/reset/67 726s ok 1366 /checksum/SHA384/reset/68 726s ok 1367 /checksum/SHA384/reset/69 726s ok 1368 /checksum/SHA384/reset/70 726s ok 1369 /checksum/SHA384/reset/71 726s ok 1370 /checksum/SHA384/reset/72 726s ok 1371 /checksum/SHA384/reset/73 726s ok 1372 /checksum/SHA384/reset/74 726s ok 1373 /checksum/SHA384/reset/75 726s ok 1374 /checksum/SHA384/reset/76 726s ok 1375 /checksum/SHA384/reset/77 726s ok 1376 /checksum/SHA384/reset/78 726s ok 1377 /checksum/SHA384/reset/79 726s ok 1378 /checksum/SHA384/reset/80 726s ok 1379 /checksum/SHA384/reset/81 726s ok 1380 /checksum/SHA384/reset/82 726s ok 1381 /checksum/SHA384/reset/83 726s ok 1382 /checksum/SHA384/reset/84 726s ok 1383 /checksum/SHA384/reset/85 726s ok 1384 /checksum/SHA384/reset/86 726s ok 1385 /checksum/SHA384/reset/87 726s ok 1386 /checksum/SHA384/reset/88 726s ok 1387 /checksum/SHA384/reset/89 726s ok 1388 /checksum/SHA384/reset/90 726s ok 1389 /checksum/SHA384/reset/91 726s ok 1390 /checksum/SHA384/reset/92 726s ok 1391 /checksum/SHA384/reset/93 726s ok 1392 /checksum/SHA384/reset/94 726s ok 1393 /checksum/SHA384/reset/95 726s ok 1394 /checksum/SHA384/reset/96 726s ok 1395 /checksum/SHA384/reset/97 726s ok 1396 /checksum/SHA384/reset/98 726s ok 1397 /checksum/SHA384/reset/99 726s ok 1398 /checksum/SHA384/reset/100 726s ok 1399 /checksum/SHA384/reset/101 726s ok 1400 /checksum/SHA384/reset/102 726s ok 1401 /checksum/SHA384/reset/103 726s ok 1402 /checksum/SHA384/reset/104 726s ok 1403 /checksum/SHA384/reset/105 726s ok 1404 /checksum/SHA384/reset/106 726s ok 1405 /checksum/SHA384/reset/107 726s ok 1406 /checksum/SHA384/reset/108 726s ok 1407 /checksum/SHA384/reset/109 726s ok 1408 /checksum/SHA384/reset/110 726s ok 1409 /checksum/SHA384/reset/111 726s ok 1410 /checksum/SHA384/reset/112 726s ok 1411 /checksum/SHA384/reset/113 726s ok 1412 /checksum/SHA384/reset/114 726s ok 1413 /checksum/SHA384/reset/115 726s ok 1414 /checksum/SHA384/reset/116 726s ok 1415 /checksum/SHA384/reset/117 726s ok 1416 /checksum/SHA384/reset/118 726s ok 1417 /checksum/SHA384/reset/119 726s ok 1418 /checksum/SHA384/reset/120 726s ok 1419 /checksum/SHA384/reset/121 726s ok 1420 /checksum/SHA384/reset/122 726s ok 1421 /checksum/SHA384/reset/123 726s ok 1422 /checksum/SHA384/reset/124 726s ok 1423 /checksum/SHA384/reset/125 726s ok 1424 /checksum/SHA384/reset/126 726s ok 1425 /checksum/SHA384/reset/127 726s ok 1426 /checksum/SHA384/reset/128 726s ok 1427 /checksum/SHA384/reset/129 726s ok 1428 /checksum/SHA384/reset/130 726s ok 1429 /checksum/SHA384/reset/131 726s ok 1430 /checksum/SHA384/reset/132 726s ok 1431 /checksum/SHA384/reset/133 726s ok 1432 /checksum/SHA384/reset/134 726s ok 1433 /checksum/SHA384/reset/135 726s ok 1434 /checksum/SHA384/reset/136 726s ok 1435 /checksum/SHA384/reset/137 726s ok 1436 /checksum/SHA384/reset/138 726s ok 1437 /checksum/SHA384/reset/139 726s ok 1438 /checksum/SHA384/reset/140 726s ok 1439 /checksum/SHA384/reset/141 726s ok 1440 /checksum/SHA384/reset/142 726s ok 1441 /checksum/SHA384/reset/143 726s ok 1442 /checksum/SHA384/reset/144 726s ok 1443 /checksum/SHA384/reset/145 726s ok 1444 /checksum/SHA384/reset/146 726s ok 1445 /checksum/SHA384/reset/147 726s ok 1446 /checksum/SHA384/reset/148 726s ok 1447 /checksum/SHA384/reset/149 726s ok 1448 /checksum/SHA384/reset/150 726s ok 1449 /checksum/SHA384/reset/151 726s ok 1450 /checksum/SHA384/reset/152 726s ok 1451 /checksum/SHA384/reset/153 726s ok 1452 /checksum/SHA384/reset/154 726s ok 1453 /checksum/SHA384/reset/155 726s ok 1454 /checksum/SHA384/reset/156 726s ok 1455 /checksum/SHA384/reset/157 726s ok 1456 /checksum/SHA384/reset/158 726s ok 1457 /checksum/SHA384/reset/159 726s ok 1458 /checksum/SHA384/reset/160 726s ok 1459 /checksum/SHA384/reset/161 726s ok 1460 /checksum/SHA384/reset/162 726s ok 1461 /checksum/SHA384/reset/163 726s ok 1462 /checksum/SHA384/reset/164 726s ok 1463 /checksum/SHA384/reset/165 726s ok 1464 /checksum/SHA384/reset/166 726s ok 1465 /checksum/SHA384/reset/167 726s ok 1466 /checksum/SHA384/reset/168 726s ok 1467 /checksum/SHA384/reset/169 726s ok 1468 /checksum/SHA384/reset/170 726s ok 1469 /checksum/SHA384/reset/171 726s ok 1470 /checksum/SHA384/reset/172 726s ok 1471 /checksum/SHA384/reset/173 726s ok 1472 /checksum/SHA384/reset/174 726s ok 1473 /checksum/SHA384/reset/175 726s ok 1474 /checksum/SHA384/reset/176 726s ok 1475 /checksum/SHA384/reset/177 726s ok 1476 /checksum/SHA384/reset/178 726s ok 1477 /checksum/SHA384/reset/179 726s ok 1478 /checksum/SHA384/reset/180 726s ok 1479 /checksum/SHA384/reset/181 726s ok 1480 /checksum/SHA384/reset/182 726s ok 1481 /checksum/SHA384/reset/183 726s # End of reset tests 726s # End of SHA384 tests 726s # Start of SHA512 tests 726s ok 1482 /checksum/SHA512/0 726s ok 1483 /checksum/SHA512/1 726s ok 1484 /checksum/SHA512/2 726s ok 1485 /checksum/SHA512/3 726s ok 1486 /checksum/SHA512/4 726s ok 1487 /checksum/SHA512/5 726s ok 1488 /checksum/SHA512/6 726s ok 1489 /checksum/SHA512/7 726s ok 1490 /checksum/SHA512/8 726s ok 1491 /checksum/SHA512/9 726s ok 1492 /checksum/SHA512/10 726s ok 1493 /checksum/SHA512/11 726s ok 1494 /checksum/SHA512/12 726s ok 1495 /checksum/SHA512/13 726s ok 1496 /checksum/SHA512/14 726s ok 1497 /checksum/SHA512/15 726s ok 1498 /checksum/SHA512/16 726s ok 1499 /checksum/SHA512/17 726s ok 1500 /checksum/SHA512/18 726s ok 1501 /checksum/SHA512/19 726s ok 1502 /checksum/SHA512/20 726s ok 1503 /checksum/SHA512/21 726s ok 1504 /checksum/SHA512/22 726s ok 1505 /checksum/SHA512/23 726s ok 1506 /checksum/SHA512/24 726s ok 1507 /checksum/SHA512/25 726s ok 1508 /checksum/SHA512/26 726s ok 1509 /checksum/SHA512/27 726s ok 1510 /checksum/SHA512/28 726s ok 1511 /checksum/SHA512/29 726s ok 1512 /checksum/SHA512/30 726s ok 1513 /checksum/SHA512/31 726s ok 1514 /checksum/SHA512/32 726s ok 1515 /checksum/SHA512/33 726s ok 1516 /checksum/SHA512/34 726s ok 1517 /checksum/SHA512/35 726s ok 1518 /checksum/SHA512/36 726s ok 1519 /checksum/SHA512/37 726s ok 1520 /checksum/SHA512/38 726s ok 1521 /checksum/SHA512/39 726s ok 1522 /checksum/SHA512/40 726s ok 1523 /checksum/SHA512/41 726s ok 1524 /checksum/SHA512/42 726s ok 1525 /checksum/SHA512/43 726s ok 1526 /checksum/SHA512/44 726s ok 1527 /checksum/SHA512/45 726s ok 1528 /checksum/SHA512/46 726s ok 1529 /checksum/SHA512/47 726s ok 1530 /checksum/SHA512/48 726s ok 1531 /checksum/SHA512/49 726s ok 1532 /checksum/SHA512/50 726s ok 1533 /checksum/SHA512/51 726s ok 1534 /checksum/SHA512/52 726s ok 1535 /checksum/SHA512/53 726s ok 1536 /checksum/SHA512/54 726s ok 1537 /checksum/SHA512/55 726s ok 1538 /checksum/SHA512/56 726s ok 1539 /checksum/SHA512/57 726s ok 1540 /checksum/SHA512/58 726s ok 1541 /checksum/SHA512/59 726s ok 1542 /checksum/SHA512/60 726s ok 1543 /checksum/SHA512/61 726s ok 1544 /checksum/SHA512/62 726s ok 1545 /checksum/SHA512/63 726s ok 1546 /checksum/SHA512/64 726s ok 1547 /checksum/SHA512/65 726s ok 1548 /checksum/SHA512/66 726s ok 1549 /checksum/SHA512/67 726s ok 1550 /checksum/SHA512/68 726s ok 1551 /checksum/SHA512/69 726s ok 1552 /checksum/SHA512/70 726s ok 1553 /checksum/SHA512/71 726s ok 1554 /checksum/SHA512/72 726s ok 1555 /checksum/SHA512/73 726s ok 1556 /checksum/SHA512/74 726s ok 1557 /checksum/SHA512/75 726s ok 1558 /checksum/SHA512/76 726s ok 1559 /checksum/SHA512/77 726s ok 1560 /checksum/SHA512/78 726s ok 1561 /checksum/SHA512/79 726s ok 1562 /checksum/SHA512/80 726s ok 1563 /checksum/SHA512/81 726s ok 1564 /checksum/SHA512/82 726s ok 1565 /checksum/SHA512/83 726s ok 1566 /checksum/SHA512/84 726s ok 1567 /checksum/SHA512/85 726s ok 1568 /checksum/SHA512/86 726s ok 1569 /checksum/SHA512/87 726s ok 1570 /checksum/SHA512/88 726s ok 1571 /checksum/SHA512/89 726s ok 1572 /checksum/SHA512/90 726s ok 1573 /checksum/SHA512/91 726s ok 1574 /checksum/SHA512/92 726s ok 1575 /checksum/SHA512/93 726s ok 1576 /checksum/SHA512/94 726s ok 1577 /checksum/SHA512/95 726s ok 1578 /checksum/SHA512/96 726s ok 1579 /checksum/SHA512/97 726s ok 1580 /checksum/SHA512/98 726s ok 1581 /checksum/SHA512/99 726s ok 1582 /checksum/SHA512/100 726s ok 1583 /checksum/SHA512/101 726s ok 1584 /checksum/SHA512/102 726s ok 1585 /checksum/SHA512/103 726s ok 1586 /checksum/SHA512/104 726s ok 1587 /checksum/SHA512/105 726s ok 1588 /checksum/SHA512/106 726s ok 1589 /checksum/SHA512/107 726s ok 1590 /checksum/SHA512/108 726s ok 1591 /checksum/SHA512/109 726s ok 1592 /checksum/SHA512/110 726s ok 1593 /checksum/SHA512/111 726s ok 1594 /checksum/SHA512/112 726s ok 1595 /checksum/SHA512/113 726s ok 1596 /checksum/SHA512/114 726s ok 1597 /checksum/SHA512/115 726s ok 1598 /checksum/SHA512/116 726s ok 1599 /checksum/SHA512/117 726s ok 1600 /checksum/SHA512/118 726s ok 1601 /checksum/SHA512/119 726s ok 1602 /checksum/SHA512/120 726s ok 1603 /checksum/SHA512/121 726s ok 1604 /checksum/SHA512/122 726s ok 1605 /checksum/SHA512/123 726s ok 1606 /checksum/SHA512/124 726s ok 1607 /checksum/SHA512/125 726s ok 1608 /checksum/SHA512/126 726s ok 1609 /checksum/SHA512/127 726s ok 1610 /checksum/SHA512/128 726s ok 1611 /checksum/SHA512/129 726s ok 1612 /checksum/SHA512/130 726s ok 1613 /checksum/SHA512/131 726s ok 1614 /checksum/SHA512/132 726s ok 1615 /checksum/SHA512/133 726s ok 1616 /checksum/SHA512/134 726s ok 1617 /checksum/SHA512/135 726s ok 1618 /checksum/SHA512/136 726s ok 1619 /checksum/SHA512/137 726s ok 1620 /checksum/SHA512/138 726s ok 1621 /checksum/SHA512/139 726s ok 1622 /checksum/SHA512/140 726s ok 1623 /checksum/SHA512/141 726s ok 1624 /checksum/SHA512/142 726s ok 1625 /checksum/SHA512/143 726s ok 1626 /checksum/SHA512/144 726s ok 1627 /checksum/SHA512/145 726s ok 1628 /checksum/SHA512/146 726s ok 1629 /checksum/SHA512/147 726s ok 1630 /checksum/SHA512/148 726s ok 1631 /checksum/SHA512/149 726s ok 1632 /checksum/SHA512/150 726s ok 1633 /checksum/SHA512/151 726s ok 1634 /checksum/SHA512/152 726s ok 1635 /checksum/SHA512/153 726s ok 1636 /checksum/SHA512/154 726s ok 1637 /checksum/SHA512/155 726s ok 1638 /checksum/SHA512/156 726s ok 1639 /checksum/SHA512/157 726s ok 1640 /checksum/SHA512/158 726s ok 1641 /checksum/SHA512/159 726s ok 1642 /checksum/SHA512/160 726s ok 1643 /checksum/SHA512/161 726s ok 1644 /checksum/SHA512/162 726s ok 1645 /checksum/SHA512/163 726s ok 1646 /checksum/SHA512/164 726s ok 1647 /checksum/SHA512/165 726s ok 1648 /checksum/SHA512/166 726s ok 1649 /checksum/SHA512/167 726s ok 1650 /checksum/SHA512/168 726s ok 1651 /checksum/SHA512/169 726s ok 1652 /checksum/SHA512/170 726s ok 1653 /checksum/SHA512/171 726s ok 1654 /checksum/SHA512/172 726s ok 1655 /checksum/SHA512/173 726s ok 1656 /checksum/SHA512/174 726s ok 1657 /checksum/SHA512/175 726s ok 1658 /checksum/SHA512/176 726s ok 1659 /checksum/SHA512/177 726s ok 1660 /checksum/SHA512/178 726s ok 1661 /checksum/SHA512/179 726s ok 1662 /checksum/SHA512/180 726s ok 1663 /checksum/SHA512/181 726s ok 1664 /checksum/SHA512/182 726s ok 1665 /checksum/SHA512/183 726s ok 1666 /checksum/SHA512/string 726s ok 1667 /checksum/SHA512/bytes 726s # Start of reset tests 726s ok 1668 /checksum/SHA512/reset/0 726s ok 1669 /checksum/SHA512/reset/1 726s ok 1670 /checksum/SHA512/reset/2 726s ok 1671 /checksum/SHA512/reset/3 726s ok 1672 /checksum/SHA512/reset/4 726s ok 1673 /checksum/SHA512/reset/5 726s ok 1674 /checksum/SHA512/reset/6 726s ok 1675 /checksum/SHA512/reset/7 726s ok 1676 /checksum/SHA512/reset/8 726s ok 1677 /checksum/SHA512/reset/9 726s ok 1678 /checksum/SHA512/reset/10 726s ok 1679 /checksum/SHA512/reset/11 726s ok 1680 /checksum/SHA512/reset/12 726s ok 1681 /checksum/SHA512/reset/13 726s ok 1682 /checksum/SHA512/reset/14 726s ok 1683 /checksum/SHA512/reset/15 726s ok 1684 /checksum/SHA512/reset/16 726s ok 1685 /checksum/SHA512/reset/17 726s ok 1686 /checksum/SHA512/reset/18 726s ok 1687 /checksum/SHA512/reset/19 726s ok 1688 /checksum/SHA512/reset/20 726s ok 1689 /checksum/SHA512/reset/21 726s ok 1690 /checksum/SHA512/reset/22 726s ok 1691 /checksum/SHA512/reset/23 726s ok 1692 /checksum/SHA512/reset/24 726s ok 1693 /checksum/SHA512/reset/25 726s ok 1694 /checksum/SHA512/reset/26 726s ok 1695 /checksum/SHA512/reset/27 726s ok 1696 /checksum/SHA512/reset/28 726s ok 1697 /checksum/SHA512/reset/29 726s ok 1698 /checksum/SHA512/reset/30 726s ok 1699 /checksum/SHA512/reset/31 726s ok 1700 /checksum/SHA512/reset/32 726s ok 1701 /checksum/SHA512/reset/33 726s ok 1702 /checksum/SHA512/reset/34 726s ok 1703 /checksum/SHA512/reset/35 726s ok 1704 /checksum/SHA512/reset/36 726s ok 1705 /checksum/SHA512/reset/37 726s ok 1706 /checksum/SHA512/reset/38 726s ok 1707 /checksum/SHA512/reset/39 726s ok 1708 /checksum/SHA512/reset/40 726s ok 1709 /checksum/SHA512/reset/41 726s ok 1710 /checksum/SHA512/reset/42 726s ok 1711 /checksum/SHA512/reset/43 726s ok 1712 /checksum/SHA512/reset/44 726s ok 1713 /checksum/SHA512/reset/45 726s ok 1714 /checksum/SHA512/reset/46 726s ok 1715 /checksum/SHA512/reset/47 726s ok 1716 /checksum/SHA512/reset/48 726s ok 1717 /checksum/SHA512/reset/49 726s ok 1718 /checksum/SHA512/reset/50 726s ok 1719 /checksum/SHA512/reset/51 726s ok 1720 /checksum/SHA512/reset/52 726s ok 1721 /checksum/SHA512/reset/53 726s ok 1722 /checksum/SHA512/reset/54 726s ok 1723 /checksum/SHA512/reset/55 726s ok 1724 /checksum/SHA512/reset/56 726s ok 1725 /checksum/SHA512/reset/57 726s ok 1726 /checksum/SHA512/reset/58 726s ok 1727 /checksum/SHA512/reset/59 726s ok 1728 /checksum/SHA512/reset/60 726s ok 1729 /checksum/SHA512/reset/61 726s ok 1730 /checksum/SHA512/reset/62 726s ok 1731 /checksum/SHA512/reset/63 726s ok 1732 /checksum/SHA512/reset/64 726s ok 1733 /checksum/SHA512/reset/65 726s ok 1734 /checksum/SHA512/reset/66 726s ok 1735 /checksum/SHA512/reset/67 726s ok 1736 /checksum/SHA512/reset/68 726s ok 1737 /checksum/SHA512/reset/69 726s ok 1738 /checksum/SHA512/reset/70 726s ok 1739 /checksum/SHA512/reset/71 726s ok 1740 /checksum/SHA512/reset/72 726s ok 1741 /checksum/SHA512/reset/73 726s ok 1742 /checksum/SHA512/reset/74 726s ok 1743 /checksum/SHA512/reset/75 726s ok 1744 /checksum/SHA512/reset/76 726s ok 1745 /checksum/SHA512/reset/77 726s ok 1746 /checksum/SHA512/reset/78 726s ok 1747 /checksum/SHA512/reset/79 726s ok 1748 /checksum/SHA512/reset/80 726s ok 1749 /checksum/SHA512/reset/81 726s ok 1750 /checksum/SHA512/reset/82 726s ok 1751 /checksum/SHA512/reset/83 726s ok 1752 /checksum/SHA512/reset/84 726s ok 1753 /checksum/SHA512/reset/85 726s ok 1754 /checksum/SHA512/reset/86 726s ok 1755 /checksum/SHA512/reset/87 726s ok 1756 /checksum/SHA512/reset/88 726s ok 1757 /checksum/SHA512/reset/89 726s ok 1758 /checksum/SHA512/reset/90 726s ok 1759 /checksum/SHA512/reset/91 726s ok 1760 /checksum/SHA512/reset/92 726s ok 1761 /checksum/SHA512/reset/93 726s ok 1762 /checksum/SHA512/reset/94 726s ok 1763 /checksum/SHA512/reset/95 726s ok 1764 /checksum/SHA512/reset/96 726s ok 1765 /checksum/SHA512/reset/97 726s ok 1766 /checksum/SHA512/reset/98 726s ok 1767 /checksum/SHA512/reset/99 726s ok 1768 /checksum/SHA512/reset/100 726s ok 1769 /checksum/SHA512/reset/101 726s ok 1770 /checksum/SHA512/reset/102 726s ok 1771 /checksum/SHA512/reset/103 726s ok 1772 /checksum/SHA512/reset/104 726s ok 1773 /checksum/SHA512/reset/105 726s ok 1774 /checksum/SHA512/reset/106 726s ok 1775 /checksum/SHA512/reset/107 726s ok 1776 /checksum/SHA512/reset/108 726s ok 1777 /checksum/SHA512/reset/109 726s ok 1778 /checksum/SHA512/reset/110 726s ok 1779 /checksum/SHA512/reset/111 726s ok 1780 /checksum/SHA512/reset/112 726s ok 1781 /checksum/SHA512/reset/113 726s ok 1782 /checksum/SHA512/reset/114 726s ok 1783 /checksum/SHA512/reset/115 726s ok 1784 /checksum/SHA512/reset/116 726s ok 1785 /checksum/SHA512/reset/117 726s ok 1786 /checksum/SHA512/reset/118 726s ok 1787 /checksum/SHA512/reset/119 726s ok 1788 /checksum/SHA512/reset/120 726s ok 1789 /checksum/SHA512/reset/121 726s ok 1790 /checksum/SHA512/reset/122 726s ok 1791 /checksum/SHA512/reset/123 726s ok 1792 /checksum/SHA512/reset/124 726s ok 1793 /checksum/SHA512/reset/125 726s ok 1794 /checksum/SHA512/reset/126 726s ok 1795 /checksum/SHA512/reset/127 726s ok 1796 /checksum/SHA512/reset/128 726s ok 1797 /checksum/SHA512/reset/129 726s ok 1798 /checksum/SHA512/reset/130 726s ok 1799 /checksum/SHA512/reset/131 726s ok 1800 /checksum/SHA512/reset/132 726s ok 1801 /checksum/SHA512/reset/133 726s ok 1802 /checksum/SHA512/reset/134 726s ok 1803 /checksum/SHA512/reset/135 726s ok 1804 /checksum/SHA512/reset/136 726s ok 1805 /checksum/SHA512/reset/137 726s ok 1806 /checksum/SHA512/reset/138 726s ok 1807 /checksum/SHA512/reset/139 726s ok 1808 /checksum/SHA512/reset/140 726s ok 1809 /checksum/SHA512/reset/141 726s ok 1810 /checksum/SHA512/reset/142 726s ok 1811 /checksum/SHA512/reset/143 726s ok 1812 /checksum/SHA512/reset/144 726s ok 1813 /checksum/SHA512/reset/145 726s ok 1814 /checksum/SHA512/reset/146 726s ok 1815 /checksum/SHA512/reset/147 726s ok 1816 /checksum/SHA512/reset/148 726s ok 1817 /checksum/SHA512/reset/149 726s ok 1818 /checksum/SHA512/reset/150 726s ok 1819 /checksum/SHA512/reset/151 726s ok 1820 /checksum/SHA512/reset/152 726s ok 1821 /checksum/SHA512/reset/153 726s ok 1822 /checksum/SHA512/reset/154 726s ok 1823 /checksum/SHA512/reset/155 726s ok 1824 /checksum/SHA512/reset/156 726s ok 1825 /checksum/SHA512/reset/157 726s ok 1826 /checksum/SHA512/reset/158 726s ok 1827 /checksum/SHA512/reset/159 726s ok 1828 /checksum/SHA512/reset/160 726s ok 1829 /checksum/SHA512/reset/161 726s ok 1830 /checksum/SHA512/reset/162 726s ok 1831 /checksum/SHA512/reset/163 726s ok 1832 /checksum/SHA512/reset/164 726s ok 1833 /checksum/SHA512/reset/165 726s ok 1834 /checksum/SHA512/reset/166 726s ok 1835 /checksum/SHA512/reset/167 726s ok 1836 /checksum/SHA512/reset/168 726s ok 1837 /checksum/SHA512/reset/169 726s ok 1838 /checksum/SHA512/reset/170 726s ok 1839 /checksum/SHA512/reset/171 726s ok 1840 /checksum/SHA512/reset/172 726s ok 1841 /checksum/SHA512/reset/173 726s ok - glib/checksum.test 726s # Running test: glib/file.test 726s ok 1842 /checksum/SHA512/reset/174 726s ok 1843 /checksum/SHA512/reset/175 726s ok 1844 /checksum/SHA512/reset/176 726s ok 1845 /checksum/SHA512/reset/177 726s ok 1846 /checksum/SHA512/reset/178 726s ok 1847 /checksum/SHA512/reset/179 726s ok 1848 /checksum/SHA512/reset/180 726s ok 1849 /checksum/SHA512/reset/181 726s ok 1850 /checksum/SHA512/reset/182 726s ok 1851 /checksum/SHA512/reset/183 726s # End of reset tests 726s # End of SHA512 tests 726s # End of checksum tests 726s TAP version 14 726s # random seed: R02Sfdf57279b6af4f5b74e81680c27cee4e 726s 1..55 726s # Start of file tests 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/basic/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/basic/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/basic/.dirs/system-config1:/tmp/test_file_WXX352/file/basic/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/basic/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/basic/.dirs/system-data1:/tmp/test_file_WXX352/file/basic/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/basic/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/basic/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/basic/.dirs/runtime 726s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 726s ok 1 /file/basic 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/build-filename/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/build-filename/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/build-filename/.dirs/system-config1:/tmp/test_file_WXX352/file/build-filename/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/build-filename/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/build-filename/.dirs/system-data1:/tmp/test_file_WXX352/file/build-filename/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/build-filename/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/build-filename/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/build-filename/.dirs/runtime 726s ok 2 /file/build-filename 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/build-filenamev/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/build-filenamev/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/build-filenamev/.dirs/system-config1:/tmp/test_file_WXX352/file/build-filenamev/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/build-filenamev/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/build-filenamev/.dirs/system-data1:/tmp/test_file_WXX352/file/build-filenamev/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/build-filenamev/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/build-filenamev/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/build-filenamev/.dirs/runtime 726s ok 3 /file/build-filenamev 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/parent/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/parent/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/parent/.dirs/system-config1:/tmp/test_file_WXX352/file/parent/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/parent/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/parent/.dirs/system-data1:/tmp/test_file_WXX352/file/parent/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/parent/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/parent/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/parent/.dirs/runtime 726s ok 4 /file/parent 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/child/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/child/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/child/.dirs/system-config1:/tmp/test_file_WXX352/file/child/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/child/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/child/.dirs/system-data1:/tmp/test_file_WXX352/file/child/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/child/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/child/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/child/.dirs/runtime 726s ok 5 /file/child 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/empty-path/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/empty-path/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/empty-path/.dirs/system-config1:/tmp/test_file_WXX352/file/empty-path/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/empty-path/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/empty-path/.dirs/system-data1:/tmp/test_file_WXX352/file/empty-path/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/empty-path/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/empty-path/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/empty-path/.dirs/runtime 726s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 726s # /file/empty-path summary: Check that creating a file with an empty path results in errors 726s ok 6 /file/empty-path 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/type/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/type/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/type/.dirs/system-config1:/tmp/test_file_WXX352/file/type/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/type/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/type/.dirs/system-data1:/tmp/test_file_WXX352/file/type/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/type/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/type/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/type/.dirs/runtime 726s ok 7 /file/type 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/parse-name/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/parse-name/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/parse-name/.dirs/system-config1:/tmp/test_file_WXX352/file/parse-name/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/parse-name/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/parse-name/.dirs/system-data1:/tmp/test_file_WXX352/file/parse-name/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/parse-name/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/parse-name/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/parse-name/.dirs/runtime 726s ok 8 /file/parse-name 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/replace-load/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/replace-load/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/replace-load/.dirs/system-config1:/tmp/test_file_WXX352/file/replace-load/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/replace-load/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/replace-load/.dirs/system-data1:/tmp/test_file_WXX352/file/replace-load/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/replace-load/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/replace-load/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/replace-load/.dirs/runtime 726s ok 9 /file/replace-load 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/replace-cancel/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/replace-cancel/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/replace-cancel/.dirs/system-config1:/tmp/test_file_WXX352/file/replace-cancel/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/replace-cancel/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/replace-cancel/.dirs/system-data1:/tmp/test_file_WXX352/file/replace-cancel/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/replace-cancel/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/replace-cancel/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/replace-cancel/.dirs/runtime 726s # Bug Reference: https://bugzilla.gnome.org/629301 726s ok 10 /file/replace-cancel 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/replace-symlink/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/replace-symlink/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/replace-symlink/.dirs/system-config1:/tmp/test_file_WXX352/file/replace-symlink/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/replace-symlink/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/replace-symlink/.dirs/system-data1:/tmp/test_file_WXX352/file/replace-symlink/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/replace-symlink/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/replace-symlink/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/replace-symlink/.dirs/runtime 726s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 726s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 726s # Using temporary directory /tmp/test_file_WXX352/g_file_replace_symlink_HLNA62 726s ok 11 /file/replace-symlink 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/async-new-tmp/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/async-new-tmp/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_WXX352/file/async-new-tmp/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/async-new-tmp/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_WXX352/file/async-new-tmp/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/async-new-tmp/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/async-new-tmp/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/async-new-tmp/.dirs/runtime 726s ok 12 /file/async-new-tmp 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/async-new-tmp-dir/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/async-new-tmp-dir/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_WXX352/file/async-new-tmp-dir/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/async-new-tmp-dir/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_WXX352/file/async-new-tmp-dir/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/async-new-tmp-dir/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/async-new-tmp-dir/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/async-new-tmp-dir/.dirs/runtime 726s ok 13 /file/async-new-tmp-dir 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/async-delete/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/async-delete/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/async-delete/.dirs/system-config1:/tmp/test_file_WXX352/file/async-delete/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/async-delete/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/async-delete/.dirs/system-data1:/tmp/test_file_WXX352/file/async-delete/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/async-delete/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/async-delete/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/async-delete/.dirs/runtime 726s ok 14 /file/async-delete 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/async-make-symlink/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/async-make-symlink/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_WXX352/file/async-make-symlink/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/async-make-symlink/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_WXX352/file/async-make-symlink/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/async-make-symlink/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/async-make-symlink/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/async-make-symlink/.dirs/runtime 726s ok 15 /file/async-make-symlink 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/copy-preserve-mode/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/copy-preserve-mode/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_WXX352/file/copy-preserve-mode/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/copy-preserve-mode/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_WXX352/file/copy-preserve-mode/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/copy-preserve-mode/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/copy-preserve-mode/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/copy-preserve-mode/.dirs/runtime 726s # Current umask: 2 726s # Vector 0 726s # Vector 1 726s # Vector 2 726s # Vector 3 726s # Vector 4 726s # Vector 5 726s # Vector 6 726s # Vector 7 726s # Vector 8 726s # Vector 9 726s # Vector 10 726s ok 16 /file/copy-preserve-mode 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/copy-async-with-closures/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/copy-async-with-closures/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_WXX352/file/copy-async-with-closures/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/copy-async-with-closures/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_WXX352/file/copy-async-with-closures/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/copy-async-with-closures/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/copy-async-with-closures/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/copy-async-with-closures/.dirs/runtime 726s ok 17 /file/copy-async-with-closures 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/measure/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/measure/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/measure/.dirs/system-config1:/tmp/test_file_WXX352/file/measure/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/measure/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/measure/.dirs/system-data1:/tmp/test_file_WXX352/file/measure/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/measure/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/measure/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/measure/.dirs/runtime 726s ok 18 /file/measure 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/measure-async/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/measure-async/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/measure-async/.dirs/system-config1:/tmp/test_file_WXX352/file/measure-async/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/measure-async/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/measure-async/.dirs/system-data1:/tmp/test_file_WXX352/file/measure-async/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/measure-async/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/measure-async/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/measure-async/.dirs/runtime 726s ok 19 /file/measure-async 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/load-bytes/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/load-bytes/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/load-bytes/.dirs/system-config1:/tmp/test_file_WXX352/file/load-bytes/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/load-bytes/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/load-bytes/.dirs/system-data1:/tmp/test_file_WXX352/file/load-bytes/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/load-bytes/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/load-bytes/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/load-bytes/.dirs/runtime 726s ok 20 /file/load-bytes 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/load-bytes-async/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/load-bytes-async/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_WXX352/file/load-bytes-async/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/load-bytes-async/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_WXX352/file/load-bytes-async/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/load-bytes-async/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/load-bytes-async/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/load-bytes-async/.dirs/runtime 726s ok 21 /file/load-bytes-async 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/load-bytes-4gb/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/load-bytes-4gb/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_WXX352/file/load-bytes-4gb/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/load-bytes-4gb/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_WXX352/file/load-bytes-4gb/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/load-bytes-4gb/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/load-bytes-4gb/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/load-bytes-4gb/.dirs/runtime 726s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/load-contents-4gb/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/load-contents-4gb/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_WXX352/file/load-contents-4gb/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/load-contents-4gb/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_WXX352/file/load-contents-4gb/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/load-contents-4gb/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/load-contents-4gb/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/load-contents-4gb/.dirs/runtime 726s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/load-contents-4gb-async/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/load-contents-4gb-async/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_WXX352/file/load-contents-4gb-async/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/load-contents-4gb-async/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_WXX352/file/load-contents-4gb-async/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/load-contents-4gb-async/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/load-contents-4gb-async/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/load-contents-4gb-async/.dirs/runtime 726s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/writev/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/writev/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/writev/.dirs/system-config1:/tmp/test_file_WXX352/file/writev/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/writev/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/writev/.dirs/system-data1:/tmp/test_file_WXX352/file/writev/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/writev/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/writev/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/writev/.dirs/runtime 726s ok 25 /file/writev 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/build-attribute-list-for-copy/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/build-attribute-list-for-copy/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_WXX352/file/build-attribute-list-for-copy/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/build-attribute-list-for-copy/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_WXX352/file/build-attribute-list-for-copy/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/build-attribute-list-for-copy/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/build-attribute-list-for-copy/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/build-attribute-list-for-copy/.dirs/runtime 726s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 726s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 726s # 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::* 726s # 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::* 726s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 726s # Attributes for copy: standard::size,xattr::* 726s # Attributes for copy: standard::size,unix::mode,xattr::* 726s ok 26 /file/build-attribute-list-for-copy 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/move_async/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/move_async/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/move_async/.dirs/system-config1:/tmp/test_file_WXX352/file/move_async/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/move_async/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/move_async/.dirs/system-data1:/tmp/test_file_WXX352/file/move_async/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/move_async/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/move_async/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/move_async/.dirs/runtime 726s ok 27 /file/move_async 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/move-async-with-closures/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/move-async-with-closures/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_WXX352/file/move-async-with-closures/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/move-async-with-closures/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_WXX352/file/move-async-with-closures/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/move-async-with-closures/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/move-async-with-closures/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/move-async-with-closures/.dirs/runtime 726s ok 28 /file/move-async-with-closures 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/query-zero-length-content-type/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/query-zero-length-content-type/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_WXX352/file/query-zero-length-content-type/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/query-zero-length-content-type/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_WXX352/file/query-zero-length-content-type/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/query-zero-length-content-type/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/query-zero-length-content-type/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/query-zero-length-content-type/.dirs/runtime 726s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 726s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 726s ok 29 /file/query-zero-length-content-type 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/query-default-handler-file/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/query-default-handler-file/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_WXX352/file/query-default-handler-file/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/query-default-handler-file/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_WXX352/file/query-default-handler-file/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/query-default-handler-file/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/query-default-handler-file/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/query-default-handler-file/.dirs/runtime 726s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WXX352/file/query-default-handler-file/.dirs/data/applications 726s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WXX352/file/query-default-handler-file/.dirs/config 726s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WXX352/file/query-default-handler-file/.dirs/config 726s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WXX352/file/query-default-handler-file/.dirs/config 726s ok 30 /file/query-default-handler-file 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/query-default-handler-file-async/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/query-default-handler-file-async/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_WXX352/file/query-default-handler-file-async/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/query-default-handler-file-async/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_WXX352/file/query-default-handler-file-async/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/query-default-handler-file-async/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/query-default-handler-file-async/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/query-default-handler-file-async/.dirs/runtime 726s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WXX352/file/query-default-handler-file-async/.dirs/data/applications 726s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WXX352/file/query-default-handler-file-async/.dirs/config 726s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_WXX352/file/query-default-handler-file/.dirs/config to /tmp/test_file_WXX352/file/query-default-handler-file-async/.dirs/config 726s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WXX352/file/query-default-handler-file-async/.dirs/config 726s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WXX352/file/query-default-handler-file-async/.dirs/config 726s ok 31 /file/query-default-handler-file-async 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/query-default-handler-uri/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/query-default-handler-uri/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_WXX352/file/query-default-handler-uri/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/query-default-handler-uri/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_WXX352/file/query-default-handler-uri/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/query-default-handler-uri/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/query-default-handler-uri/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/query-default-handler-uri/.dirs/runtime 726s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WXX352/file/query-default-handler-uri/.dirs/data/applications 726s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WXX352/file/query-default-handler-uri/.dirs/config 726s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_WXX352/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_WXX352/file/query-default-handler-uri/.dirs/config 726s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WXX352/file/query-default-handler-uri/.dirs/config 726s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WXX352/file/query-default-handler-uri/.dirs/config 726s ok 32 /file/query-default-handler-uri 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/query-default-handler-uri-async/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/query-default-handler-uri-async/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_WXX352/file/query-default-handler-uri-async/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/query-default-handler-uri-async/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_WXX352/file/query-default-handler-uri-async/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/query-default-handler-uri-async/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/query-default-handler-uri-async/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/query-default-handler-uri-async/.dirs/runtime 726s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WXX352/file/query-default-handler-uri-async/.dirs/data/applications 726s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WXX352/file/query-default-handler-uri-async/.dirs/config 726s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_WXX352/file/query-default-handler-uri/.dirs/config to /tmp/test_file_WXX352/file/query-default-handler-uri-async/.dirs/config 726s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WXX352/file/query-default-handler-uri-async/.dirs/config 726s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WXX352/file/query-default-handler-uri-async/.dirs/config 726s ok 33 /file/query-default-handler-uri-async 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/enumerator-cancellation/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/enumerator-cancellation/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_WXX352/file/enumerator-cancellation/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/enumerator-cancellation/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_WXX352/file/enumerator-cancellation/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/enumerator-cancellation/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/enumerator-cancellation/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/enumerator-cancellation/.dirs/runtime 726s ok 34 /file/enumerator-cancellation 726s # Start of async-create-delete tests 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/async-create-delete/0/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/async-create-delete/0/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_WXX352/file/async-create-delete/0/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/async-create-delete/0/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_WXX352/file/async-create-delete/0/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/async-create-delete/0/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/async-create-delete/0/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/async-create-delete/0/.dirs/runtime 726s ok 35 /file/async-create-delete/0 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/async-create-delete/1/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/async-create-delete/1/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_WXX352/file/async-create-delete/1/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/async-create-delete/1/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_WXX352/file/async-create-delete/1/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/async-create-delete/1/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/async-create-delete/1/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/async-create-delete/1/.dirs/runtime 726s ok 36 /file/async-create-delete/1 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/async-create-delete/10/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/async-create-delete/10/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_WXX352/file/async-create-delete/10/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/async-create-delete/10/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_WXX352/file/async-create-delete/10/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/async-create-delete/10/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/async-create-delete/10/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/async-create-delete/10/.dirs/runtime 726s ok 37 /file/async-create-delete/10 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/async-create-delete/25/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/async-create-delete/25/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_WXX352/file/async-create-delete/25/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/async-create-delete/25/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_WXX352/file/async-create-delete/25/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/async-create-delete/25/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/async-create-delete/25/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/async-create-delete/25/.dirs/runtime 726s ok 38 /file/async-create-delete/25 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/async-create-delete/4096/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/async-create-delete/4096/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_WXX352/file/async-create-delete/4096/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/async-create-delete/4096/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_WXX352/file/async-create-delete/4096/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/async-create-delete/4096/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/async-create-delete/4096/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/async-create-delete/4096/.dirs/runtime 726s ok 39 /file/async-create-delete/4096 726s # End of async-create-delete tests 726s # Start of replace-symlink tests 726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/replace-symlink/using-etag/.dirs/home 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/replace-symlink/using-etag/.dirs/cache 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_WXX352/file/replace-symlink/using-etag/.dirs/system-config2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/replace-symlink/using-etag/.dirs/config 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_WXX352/file/replace-symlink/using-etag/.dirs/system-data2 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/replace-symlink/using-etag/.dirs/data 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/replace-symlink/using-etag/.dirs/state 726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/replace-symlink/using-etag/.dirs/runtime 726s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 726s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 726s # Using temporary directory /tmp/test_file_WXX352/g_file_replace_symlink_using_etag_RVHT52 728s ok 40 /file/replace-symlink/using-etag 728s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 728s # End of replace-symlink tests 728s # Start of replace tests 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/replace/write-only/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/replace/write-only/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/replace/write-only/.dirs/system-config1:/tmp/test_file_WXX352/file/replace/write-only/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/replace/write-only/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/replace/write-only/.dirs/system-data1:/tmp/test_file_WXX352/file/replace/write-only/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/replace/write-only/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/replace/write-only/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/replace/write-only/.dirs/runtime 728s # /file/replace/write-only summary: Test various situations for g_file_replace() 728s # Current umask: 2 728s # Test 0, using temporary directory /tmp/test_file_WXX352/g_file_replace_IHFT52 728s # Test 1, using temporary directory /tmp/test_file_WXX352/g_file_replace_O8ET52 728s # Test 2, using temporary directory /tmp/test_file_WXX352/g_file_replace_QWNT52 728s # Test 3, using temporary directory /tmp/test_file_WXX352/g_file_replace_6TMT52 728s # Test 4, using temporary directory /tmp/test_file_WXX352/g_file_replace_M4MT52 728s # Test 5, using temporary directory /tmp/test_file_WXX352/g_file_replace_AHKT52 728s # Test 6, using temporary directory /tmp/test_file_WXX352/g_file_replace_WLJT52 728s # Test 7, using temporary directory /tmp/test_file_WXX352/g_file_replace_GJHU52 728s # Test 8, using temporary directory /tmp/test_file_WXX352/g_file_replace_QYHU52 728s # Test 9, using temporary directory /tmp/test_file_WXX352/g_file_replace_0MIU52 728s # Test 10, using temporary directory /tmp/test_file_WXX352/g_file_replace_OGGU52 728s # Test 11, using temporary directory /tmp/test_file_WXX352/g_file_replace_EYQU52 728s # Test 12, using temporary directory /tmp/test_file_WXX352/g_file_replace_Z6NU52 728s # Test 13, using temporary directory /tmp/test_file_WXX352/g_file_replace_XGOU52 728s # Test 14, using temporary directory /tmp/test_file_WXX352/g_file_replace_S6MU52 728s # Test 15, using temporary directory /tmp/test_file_WXX352/g_file_replace_KK6T52 728s # Test 16, using temporary directory /tmp/test_file_WXX352/g_file_replace_7D5T52 728s # Test 17, using temporary directory /tmp/test_file_WXX352/g_file_replace_CI4T52 728s # Test 18, using temporary directory /tmp/test_file_WXX352/g_file_replace_YHDU52 728s # Test 19, using temporary directory /tmp/test_file_WXX352/g_file_replace_UQCU52 728s # Test 20, using temporary directory /tmp/test_file_WXX352/g_file_replace_1KAU52 728s # Test 21, using temporary directory /tmp/test_file_WXX352/g_file_replace_EM8U52 728s # Test 22, using temporary directory /tmp/test_file_WXX352/g_file_replace_IV7U52 728s # Test 23, using temporary directory /tmp/test_file_WXX352/g_file_replace_FO7U52 728s # Test 24, using temporary directory /tmp/test_file_WXX352/g_file_replace_5N3U52 728s # Test 25, using temporary directory /tmp/test_file_WXX352/g_file_replace_E5FV52 728s # Test 26, using temporary directory /tmp/test_file_WXX352/g_file_replace_F1FV52 728s # Test 27, using temporary directory /tmp/test_file_WXX352/g_file_replace_7EDV52 728s # Test 28, using temporary directory /tmp/test_file_WXX352/g_file_replace_R0BV52 728s # Test 29, using temporary directory /tmp/test_file_WXX352/g_file_replace_52AV52 728s # Test 30, using temporary directory /tmp/test_file_WXX352/g_file_replace_LFBV52 728s # Test 31, using temporary directory /tmp/test_file_WXX352/g_file_replace_5GBV52 728s # Test 32, using temporary directory /tmp/test_file_WXX352/g_file_replace_19UU52 728s # Test 33, using temporary directory /tmp/test_file_WXX352/g_file_replace_G1SU52 728s # Test 34, using temporary directory /tmp/test_file_WXX352/g_file_replace_NMTU52 728s # Test 35, using temporary directory /tmp/test_file_WXX352/g_file_replace_AKTU52 728s # Test 36, using temporary directory /tmp/test_file_WXX352/g_file_replace_M9RU52 728s # Test 37, using temporary directory /tmp/test_file_WXX352/g_file_replace_9M0U52 728s # Test 38, using temporary directory /tmp/test_file_WXX352/g_file_replace_CYZU52 728s # Test 39, using temporary directory /tmp/test_file_WXX352/g_file_replace_7QXV52 728s # Test 40, using temporary directory /tmp/test_file_WXX352/g_file_replace_VNWV52 728s # Test 41, using temporary directory /tmp/test_file_WXX352/g_file_replace_H0VV52 728s # Test 42, using temporary directory /tmp/test_file_WXX352/g_file_replace_N6TV52 728s # Test 43, using temporary directory /tmp/test_file_WXX352/g_file_replace_HD5V52 728s # Test 44, using temporary directory /tmp/test_file_WXX352/g_file_replace_2C3V52 728s # Test 45, using temporary directory /tmp/test_file_WXX352/g_file_replace_ZZ3V52 728s # Test 46, using temporary directory /tmp/test_file_WXX352/g_file_replace_GLZV52 728s # Test 47, using temporary directory /tmp/test_file_WXX352/g_file_replace_DGZV52 728s # Test 48, using temporary directory /tmp/test_file_WXX352/g_file_replace_85LV52 728s # We do not have CAP_DAC_OVERRIDE or equivalent 728s ok 41 /file/replace/write-only 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/replace/read-write/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/replace/read-write/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/replace/read-write/.dirs/system-config1:/tmp/test_file_WXX352/file/replace/read-write/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/replace/read-write/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/replace/read-write/.dirs/system-data1:/tmp/test_file_WXX352/file/replace/read-write/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/replace/read-write/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/replace/read-write/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/replace/read-write/.dirs/runtime 728s # /file/replace/read-write summary: Test various situations for g_file_replace() 728s # Current umask: 2 728s # Test 0, using temporary directory /tmp/test_file_WXX352/g_file_replace_SPJV52 728s # Test 1, using temporary directory /tmp/test_file_WXX352/g_file_replace_2IJV52 728s # Test 2, using temporary directory /tmp/test_file_WXX352/g_file_replace_6CIV52 728s # Test 3, using temporary directory /tmp/test_file_WXX352/g_file_replace_W9GV52 728s # Test 4, using temporary directory /tmp/test_file_WXX352/g_file_replace_2UHV52 728s # Test 5, using temporary directory /tmp/test_file_WXX352/g_file_replace_2MHV52 728s # Test 6, using temporary directory /tmp/test_file_WXX352/g_file_replace_9VPV52 728s # Test 7, using temporary directory /tmp/test_file_WXX352/g_file_replace_2MOV52 728s # Test 8, using temporary directory /tmp/test_file_WXX352/g_file_replace_ZDPV52 728s # Test 9, using temporary directory /tmp/test_file_WXX352/g_file_replace_S1OV52 728s # Test 10, using temporary directory /tmp/test_file_WXX352/g_file_replace_W00Q52 728s # Test 11, using temporary directory /tmp/test_file_WXX352/g_file_replace_A8YQ52 728s # Test 12, using temporary directory /tmp/test_file_WXX352/g_file_replace_BXZQ52 728s # Test 13, using temporary directory /tmp/test_file_WXX352/g_file_replace_HOZQ52 728s # Test 14, using temporary directory /tmp/test_file_WXX352/g_file_replace_9EYQ52 728s # Test 15, using temporary directory /tmp/test_file_WXX352/g_file_replace_51WQ52 728s # Test 16, using temporary directory /tmp/test_file_WXX352/g_file_replace_9J8Q52 728s # Test 17, using temporary directory /tmp/test_file_WXX352/g_file_replace_A93Q52 728s # Test 18, using temporary directory /tmp/test_file_WXX352/g_file_replace_PROQ52 728s # Test 19, using temporary directory /tmp/test_file_WXX352/g_file_replace_QJNQ52 728s # Test 20, using temporary directory /tmp/test_file_WXX352/g_file_replace_4CMQ52 728s # Test 21, using temporary directory /tmp/test_file_WXX352/g_file_replace_BZUQ52 728s # Test 22, using temporary directory /tmp/test_file_WXX352/g_file_replace_9DUQ52 728s # Test 23, using temporary directory /tmp/test_file_WXX352/g_file_replace_F6TQ52 728s # Test 24, using temporary directory /tmp/test_file_WXX352/g_file_replace_XRSQ52 728s # Test 25, using temporary directory /tmp/test_file_WXX352/g_file_replace_HZQQ52 728s # Test 26, using temporary directory /tmp/test_file_WXX352/g_file_replace_1FQR52 728s # Test 27, using temporary directory /tmp/test_file_WXX352/g_file_replace_48PR52 728s # Test 28, using temporary directory /tmp/test_file_WXX352/g_file_replace_T1OR52 728s # Test 29, using temporary directory /tmp/test_file_WXX352/g_file_replace_XRNR52 728s # Test 30, using temporary directory /tmp/test_file_WXX352/g_file_replace_NHOR52 728s # Test 31, using temporary directory /tmp/test_file_WXX352/g_file_replace_CAOR52 728s # Test 32, using temporary directory /tmp/test_file_WXX352/g_file_replace_CGWR52 728s # Test 33, using temporary directory /tmp/test_file_WXX352/g_file_replace_NAVR52 728s # Test 34, using temporary directory /tmp/test_file_WXX352/g_file_replace_MUVR52 728s # Test 35, using temporary directory /tmp/test_file_WXX352/g_file_replace_VSVR52 728s # Test 36, using temporary directory /tmp/test_file_WXX352/g_file_replace_P0RR52 728s # Test 37, using temporary directory /tmp/test_file_WXX352/g_file_replace_FHER52 728s # Test 38, using temporary directory /tmp/test_file_WXX352/g_file_replace_W1BR52 728s # Test 39, using temporary directory /tmp/test_file_WXX352/g_file_replace_RWAR52 728s # Test 40, using temporary directory /tmp/test_file_WXX352/g_file_replace_Y68Q52 728s # Test 41, using temporary directory /tmp/test_file_WXX352/g_file_replace_WBKR52 728s # Test 42, using temporary directory /tmp/test_file_WXX352/g_file_replace_26IR52 728s # Test 43, using temporary directory /tmp/test_file_WXX352/g_file_replace_U6ER52 728s # Test 44, using temporary directory /tmp/test_file_WXX352/g_file_replace_AWFS52 728s # Test 45, using temporary directory /tmp/test_file_WXX352/g_file_replace_J9FS52 728s # Test 46, using temporary directory /tmp/test_file_WXX352/g_file_replace_WAFS52 728s # Test 47, using temporary directory /tmp/test_file_WXX352/g_file_replace_63ES52 728s # Test 48, using temporary directory /tmp/test_file_WXX352/g_file_replace_TNAS52 728s # We do not have CAP_DAC_OVERRIDE or equivalent 728s ok 42 /file/replace/read-write 728s # End of replace tests 728s # Start of copy tests 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/copy/progress/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/copy/progress/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/copy/progress/.dirs/system-config1:/tmp/test_file_WXX352/file/copy/progress/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/copy/progress/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/copy/progress/.dirs/system-data1:/tmp/test_file_WXX352/file/copy/progress/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/copy/progress/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/copy/progress/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/copy/progress/.dirs/runtime 728s ok 43 /file/copy/progress 728s # End of copy tests 728s # Start of writev tests 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/writev/no-bytes-written/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/writev/no-bytes-written/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_WXX352/file/writev/no-bytes-written/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/writev/no-bytes-written/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_WXX352/file/writev/no-bytes-written/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/writev/no-bytes-written/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/writev/no-bytes-written/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/writev/no-bytes-written/.dirs/runtime 728s ok 44 /file/writev/no-bytes-written 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/writev/no-vectors/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/writev/no-vectors/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_WXX352/file/writev/no-vectors/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/writev/no-vectors/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_WXX352/file/writev/no-vectors/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/writev/no-vectors/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/writev/no-vectors/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/writev/no-vectors/.dirs/runtime 728s ok 45 /file/writev/no-vectors 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/writev/empty-vectors/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/writev/empty-vectors/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_WXX352/file/writev/empty-vectors/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/writev/empty-vectors/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_WXX352/file/writev/empty-vectors/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/writev/empty-vectors/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/writev/empty-vectors/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/writev/empty-vectors/.dirs/runtime 728s ok 46 /file/writev/empty-vectors 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/writev/too-big-vectors/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/writev/too-big-vectors/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_WXX352/file/writev/too-big-vectors/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/writev/too-big-vectors/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_WXX352/file/writev/too-big-vectors/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/writev/too-big-vectors/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/writev/too-big-vectors/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/writev/too-big-vectors/.dirs/runtime 728s ok 47 /file/writev/too-big-vectors 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/writev/async/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/writev/async/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/writev/async/.dirs/system-config1:/tmp/test_file_WXX352/file/writev/async/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/writev/async/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/writev/async/.dirs/system-data1:/tmp/test_file_WXX352/file/writev/async/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/writev/async/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/writev/async/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/writev/async/.dirs/runtime 728s ok 48 /file/writev/async 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/writev/async_all/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/writev/async_all/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/writev/async_all/.dirs/system-config1:/tmp/test_file_WXX352/file/writev/async_all/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/writev/async_all/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/writev/async_all/.dirs/system-data1:/tmp/test_file_WXX352/file/writev/async_all/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/writev/async_all/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/writev/async_all/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/writev/async_all/.dirs/runtime 728s ok 49 /file/writev/async_all 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/writev/async_all-empty-vectors/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/writev/async_all-empty-vectors/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_WXX352/file/writev/async_all-empty-vectors/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/writev/async_all-empty-vectors/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_WXX352/file/writev/async_all-empty-vectors/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/writev/async_all-empty-vectors/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/writev/async_all-empty-vectors/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/writev/async_all-empty-vectors/.dirs/runtime 728s ok 50 /file/writev/async_all-empty-vectors 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/writev/async_all-no-vectors/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/writev/async_all-no-vectors/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_WXX352/file/writev/async_all-no-vectors/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/writev/async_all-no-vectors/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_WXX352/file/writev/async_all-no-vectors/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/writev/async_all-no-vectors/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/writev/async_all-no-vectors/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/writev/async_all-no-vectors/.dirs/runtime 728s ok 51 /file/writev/async_all-no-vectors 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/writev/async_all-to-big-vectors/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/writev/async_all-to-big-vectors/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_WXX352/file/writev/async_all-to-big-vectors/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/writev/async_all-to-big-vectors/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_WXX352/file/writev/async_all-to-big-vectors/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/writev/async_all-to-big-vectors/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/writev/async_all-to-big-vectors/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/writev/async_all-to-big-vectors/.dirs/runtime 728s ok 52 /file/writev/async_all-to-big-vectors 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/writev/async_all-cancellation/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/writev/async_all-cancellation/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_WXX352/file/writev/async_all-cancellation/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/writev/async_all-cancellation/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_WXX352/file/writev/async_all-cancellation/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/writev/async_all-cancellation/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/writev/async_all-cancellation/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/writev/async_all-cancellation/.dirs/runtime 728s ok 53 /file/writev/async_all-cancellation 728s # End of writev tests 728s # Start of from-uri tests 728s ok - glib/file.test 728s # Running test: glib/module-test-plugin.test 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/from-uri/ignores-query-string/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/from-uri/ignores-query-string/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_WXX352/file/from-uri/ignores-query-string/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/from-uri/ignores-query-string/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_WXX352/file/from-uri/ignores-query-string/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/from-uri/ignores-query-string/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/from-uri/ignores-query-string/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/from-uri/ignores-query-string/.dirs/runtime 728s ok 54 /file/from-uri/ignores-query-string 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WXX352/file/from-uri/ignores-fragment/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WXX352/file/from-uri/ignores-fragment/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WXX352/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_WXX352/file/from-uri/ignores-fragment/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WXX352/file/from-uri/ignores-fragment/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WXX352/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_WXX352/file/from-uri/ignores-fragment/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WXX352/file/from-uri/ignores-fragment/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WXX352/file/from-uri/ignores-fragment/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WXX352/file/from-uri/ignores-fragment/.dirs/runtime 728s ok 55 /file/from-uri/ignores-fragment 728s # End of from-uri tests 728s # End of file tests 728s TAP version 14 728s # random seed: R02S880a40065159c05092705955ca62cb6b 728s 1..3 728s # Start of module tests 728s ok 1 /module/basics 728s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 728s ok 2 /module/invalid-libtool-archive 728s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 728s ok 3 /module/local-binding 728s # End of module tests 728s ok - glib/module-test-plugin.test 728s # Running test: glib/portal-support-flatpak-network-only.test 728s TAP version 14 728s # random seed: R02S5bb0ced59d88906a23c8cb4ed119cec1 728s 1..1 728s # Start of portal-support tests 728s # Start of flatpak tests 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_0C5R52/portal-support/flatpak/network/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_0C5R52/portal-support/flatpak/network/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_0C5R52/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_0C5R52/portal-support/flatpak/network/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_0C5R52/portal-support/flatpak/network/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_0C5R52/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_0C5R52/portal-support/flatpak/network/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_0C5R52/portal-support/flatpak/network/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_0C5R52/portal-support/flatpak/network/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_0C5R52/portal-support/flatpak/network/.dirs/runtime 728s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_0C5R52/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 728s ok 1 /portal-support/flatpak/network 728s # End of flatpak tests 728s # End of portal-support tests 728s ok - glib/portal-support-flatpak-network-only.test 728s # Running test: glib/guuid.test 728s TAP version 14 728s # random seed: R02S8a5fbd76387619eb41934f88a771bb8b 728s 1..2 728s # Start of uuid tests 728s ok 1 /uuid/string 728s ok 2 /uuid/random 728s # End of uuid tests 728s ok - glib/guuid.test 728s # Running test: glib/mapping.test 728s TAP version 14 728s # random seed: R02S10ff235a9158d9bcc2590256a5ccaf8f 728s 1..3 728s # Start of mapping tests 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_2L7S52/mapping/flags/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_2L7S52/mapping/flags/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_2L7S52/mapping/flags/.dirs/system-config1:/tmp/test_mapping_2L7S52/mapping/flags/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_2L7S52/mapping/flags/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_2L7S52/mapping/flags/.dirs/system-data1:/tmp/test_mapping_2L7S52/mapping/flags/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_2L7S52/mapping/flags/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_2L7S52/mapping/flags/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_2L7S52/mapping/flags/.dirs/runtime 728s # test_mapping: ok 728s ok 1 /mapping/flags 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_2L7S52/mapping/private/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_2L7S52/mapping/private/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_2L7S52/mapping/private/.dirs/system-config1:/tmp/test_mapping_2L7S52/mapping/private/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_2L7S52/mapping/private/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_2L7S52/mapping/private/.dirs/system-data1:/tmp/test_mapping_2L7S52/mapping/private/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_2L7S52/mapping/private/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_2L7S52/mapping/private/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_2L7S52/mapping/private/.dirs/runtime 728s ok 2 /mapping/private 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_2L7S52/mapping/private-child/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_2L7S52/mapping/private-child/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_2L7S52/mapping/private-child/.dirs/system-config1:/tmp/test_mapping_2L7S52/mapping/private-child/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_2L7S52/mapping/private-child/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_2L7S52/mapping/private-child/.dirs/system-data1:/tmp/test_mapping_2L7S52/mapping/private-child/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_2L7S52/mapping/private-child/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_2L7S52/mapping/private-child/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_2L7S52/mapping/private-child/.dirs/runtime 728s # test_child_private: child spawned 728s # Subtest: /usr/libexec/installed-tests/glib/mapping 728s # random seed: R02S7551cf4a35131f59e8271bb6f4fe6d1e 728s # test_child_private: received first child signal 728s # test_child_private: received parent signal 728s # Child exited with status 0 728s # test_child_private: received second child signal 728s ok 3 /mapping/private-child 728s # End of mapping tests 728s ok - glib/mapping.test 728s # Running test: glib/base64.test 728s TAP version 14 728s # random seed: R02S19ae0389544e3571848fdf95cb7b18ab 728s 1..28 728s # Start of base64 tests 728s ok 1 /base64/encode 728s ok 2 /base64/decode 728s ok 3 /base64/decode-inplace 728s ok 4 /base64/encode-decode 728s # Start of full tests 728s ok 5 /base64/full/1 728s ok 6 /base64/full/2 728s ok 7 /base64/full/3 728s ok 8 /base64/full/4 728s # End of full tests 728s # Start of encode tests 728s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 728s ok 9 /base64/encode/empty 728s ok - glib/base64.test 728s # Start of incremental tests 728s # Start of small-block tests 728s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 728s ok 10 /base64/encode/incremental/small-block/1 728s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 728s ok 11 /base64/encode/incremental/small-block/2 728s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 728s ok 12 /base64/encode/incremental/small-block/3 728s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 728s ok 13 /base64/encode/incremental/small-block/4 728s # End of small-block tests 728s # End of incremental tests 728s # End of encode tests 728s # Start of incremental tests 728s # Start of nobreak tests 728s ok 14 /base64/incremental/nobreak/1 728s ok 15 /base64/incremental/nobreak/2 728s ok 16 /base64/incremental/nobreak/3 728s ok 17 /base64/incremental/nobreak/4-a 728s ok 18 /base64/incremental/nobreak/4-b 728s ok 19 /base64/incremental/nobreak/4-c 728s # End of nobreak tests 728s # Start of break tests 728s ok 20 /base64/incremental/break/1 728s ok 21 /base64/incremental/break/2 728s ok 22 /base64/incremental/break/3 728s # End of break tests 728s # Start of smallblock tests 728s ok 23 /base64/incremental/smallblock/1 728s ok 24 /base64/incremental/smallblock/2 728s ok 25 /base64/incremental/smallblock/3 728s ok 26 /base64/incremental/smallblock/4 728s # End of smallblock tests 728s # End of incremental tests 728s # Start of decode tests 728s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 728s ok 27 /base64/decode/empty 728s # End of decode tests 728s # Start of encode-decode tests 728s # Vector 0: 728s # Vector 1: f 728s # Vector 2: fo 728s # Vector 3: foo 728s # Vector 4: foob 728s # Vector 5: fooba 728s # Vector 6: foobar 728s ok 28 /base64/encode-decode/rfc4648 728s # End of encode-decode tests 728s # End of base64 tests 728s # Running test: glib/gdbus-peer.test 728s TAP version 14 728s # random seed: R02S4efa5ae6e3fb5fc45f52244f9eb95642 728s 1..12 728s # Start of gdbus tests 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/.dirs/runtime 728s # Testing with unix:dir address 728s # Testing with unix:tmpdir address 728s # Testing with unix:path address 728s ok 1 /gdbus/peer-to-peer 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/delayed-message-processing/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/delayed-message-processing/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_1OTS52/gdbus/delayed-message-processing/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/delayed-message-processing/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_1OTS52/gdbus/delayed-message-processing/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/delayed-message-processing/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/delayed-message-processing/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_1OTS52/gdbus/delayed-message-processing/.dirs/runtime 728s # Testing with unix:dir address 729s ok 2 /gdbus/delayed-message-processing 729s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/nonce-tcp/.dirs/home 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/nonce-tcp/.dirs/cache 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_1OTS52/gdbus/nonce-tcp/.dirs/system-config2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/nonce-tcp/.dirs/config 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_1OTS52/gdbus/nonce-tcp/.dirs/system-data2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/nonce-tcp/.dirs/data 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/nonce-tcp/.dirs/state 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_1OTS52/gdbus/nonce-tcp/.dirs/runtime 729s ok 3 /gdbus/nonce-tcp 729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/tcp-anonymous/.dirs/home 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/tcp-anonymous/.dirs/cache 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_1OTS52/gdbus/tcp-anonymous/.dirs/system-config2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/tcp-anonymous/.dirs/config 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_1OTS52/gdbus/tcp-anonymous/.dirs/system-data2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/tcp-anonymous/.dirs/data 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/tcp-anonymous/.dirs/state 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_1OTS52/gdbus/tcp-anonymous/.dirs/runtime 729s ok 4 /gdbus/tcp-anonymous 729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/credentials/.dirs/home 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/credentials/.dirs/cache 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_1OTS52/gdbus/credentials/.dirs/system-config2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/credentials/.dirs/config 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_1OTS52/gdbus/credentials/.dirs/system-data2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/credentials/.dirs/data 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/credentials/.dirs/state 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_1OTS52/gdbus/credentials/.dirs/runtime 729s ok 5 /gdbus/credentials 729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/codegen-peer-to-peer/.dirs/home 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/codegen-peer-to-peer/.dirs/cache 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_1OTS52/gdbus/codegen-peer-to-peer/.dirs/system-config2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/codegen-peer-to-peer/.dirs/config 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_1OTS52/gdbus/codegen-peer-to-peer/.dirs/system-data2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/codegen-peer-to-peer/.dirs/data 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/codegen-peer-to-peer/.dirs/state 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_1OTS52/gdbus/codegen-peer-to-peer/.dirs/runtime 729s # Testing with unix:dir address 729s # Machine ID: f979576c7da54c0aa4d009524999f9d3 729s # Executing: glib/gdbus-peer.test 730s ok 6 /gdbus/codegen-peer-to-peer 730s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 730s # Start of peer-to-peer tests 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/signals/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/signals/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/signals/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/signals/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/signals/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/signals/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/signals/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/signals/.dirs/runtime 730s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 730s # Testing with unix:dir address 730s ok 7 /gdbus/peer-to-peer/signals 730s # Start of invalid tests 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/server/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/server/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/server/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/server/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/server/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/server/.dirs/runtime 730s ok 8 /gdbus/peer-to-peer/invalid/server 730s # Start of conn tests 730s # Start of stream tests 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 730s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 730s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 730s # End of stream tests 730s # Start of addr tests 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 730s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_1OTS52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 730s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 730s # End of addr tests 730s # End of conn tests 730s # End of invalid tests 730s # End of peer-to-peer tests 730s # End of gdbus tests 730s ok - glib/gdbus-peer.test 730s # Running test: glib/gio-tool.py.test 730s TAP version 13 730s ok 1 __main__.TestGioTool.test_help 730s # gio: /usr/bin/gio 730s # tmpdir: /tmp/tmpbgjifnk4 730s # Running: ['/usr/bin/gio', '--help'] 730s # Return code: 0 730s # Output: 730s # Usage: 730s # gio COMMAND [ARGS…] 730s # 730s # Commands: 730s # help Print help 730s # version Print version 730s # cat Concatenate files to standard output 730s # copy Copy one or more files 730s # info Show information about locations 730s # launch Launch an application from a desktop file 730s # list List the contents of locations 730s # mime Get or set the handler for a mimetype 730s # mkdir Create directories 730s # monitor Monitor files and directories for changes 730s # mount Mount or unmount the locations 730s # move Move one or more files 730s # open Open files with the default application 730s # rename Rename a file 730s # remove Delete one or more files 730s # save Read from standard input and save 730s # set Set a file attribute 730s # trash Move files or directories to the trash 730s # tree Lists the contents of locations in a tree 730s # 730s # Use “gio help COMMAND†to get detailed help. 730s # Error: 730s # 730s # Running: ['/usr/bin/gio', 'help'] 730s # Return code: 0 730s # Output: 730s # Usage: 730s # gio COMMAND [ARGS…] 730s # 730s # Commands: 730s # help Print help 730s # version Print version 730s # cat Concatenate files to standard output 730s # copy Copy one or more files 730s # info Show information about locations 730s # launch Launch an application from a desktop file 730s # list List the contents of locations 730s # mime Get or set the handler for a mimetype 730s # mkdir Create directories 730s # monitor Monitor files and directories for changes 730s # mount Mount or unmount the locations 730s # move Move one or more files 730s # open Open files with the default application 730s # rename Rename a file 730s # remove Delete one or more files 730s # save Read from standard input and save 730s # set Set a file attribute 730s # trash Move files or directories to the trash 730s # tree Lists the contents of locations in a tree 730s # 730s # Use “gio help COMMAND†to get detailed help. 730s # Error: 730s ok 2 __main__.TestGioTool.test_info_non_default_attributes 730s # gio: /usr/bin/gio 730s # tmpdir: /tmp/tmpvma1uo8f 730s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpvma1uo8f/tmpujofasm7'] 730s # Return code: 0 730s # Output: 730s # uri: file:///tmp/tmpvma1uo8f/tmpujofasm7 730s # local path: /tmp/tmpvma1uo8f/tmpujofasm7 730s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 730s # attributes: 730s # standard::content-type: application/x-zerosize 730s # Error: 730s ok 3 __main__.TestGioTool.test_no_args 730s # gio: /usr/bin/gio 730s # tmpdir: /tmp/tmp_gi40u1l 730s # Running: ['/usr/bin/gio'] 730s # Return code: 1 730s # Output: 730s # 730s # Error: 730s # Usage: 730s # gio COMMAND [ARGS…] 730s # 730s # Commands: 730s # help Print help 730s # version Print version 730s # cat Concatenate files to standard output 730s # copy Copy one or more files 730s # info Show information about locations 730s # launch Launch an application from a desktop file 730s # list List the contents of locations 730s # mime Get or set the handler for a mimetype 730s # mkdir Create directories 730s # monitor Monitor files and directories for changes 730s # mount Mount or unmount the locations 730s # move Move one or more files 730s # open Open files with the default application 730s # rename Rename a file 730s # remove Delete one or more files 730s # save Read from standard input and save 730s # set Set a file attribute 730s # trash Move files or directories to the trash 730s # tree Lists the contents of locations in a tree 730s # 730s # Use “gio help COMMAND†to get detailed help. 730s 1..3 730s ok - glib/gio-tool.py.test 730s # Running test: glib/utf8-pointer.test 730s TAP version 14 730s # random seed: R02S60a1500e83f0ab52af840467a6f6a90f 730s 1..3 730s # Start of utf8 tests 731s ok 1 /utf8/offsets 731s # slow test /utf8/offsets executed in 0.95 secs 731s ok 2 /utf8/lengths 731s ok 3 /utf8/find 731s # End of utf8 tests 731s ok - glib/utf8-pointer.test 731s # Running test: glib/inet-address.test 731s TAP version 14 731s # random seed: R02Sb33cbe2cb06a40b565e206e78e0a58d6 731s 1..11 731s # Start of inet-address tests 731s ok 1 /inet-address/parse 731s ok 2 /inet-address/any 731s ok 3 /inet-address/loopback 731s ok 4 /inet-address/bytes 731s ok 5 /inet-address/property 731s # End of inet-address tests 731s # Start of socket-address tests 731s ok 6 /socket-address/basic 731s ok 7 /socket-address/to-string 731s # End of socket-address tests 731s # Start of address-mask tests 731s ok 8 /address-mask/parse 731s ok 9 /address-mask/property 731s ok 10 /address-mask/equal 731s ok 11 /address-mask/match 731s # End of address-mask tests 731s ok - glib/inet-address.test 731s # Running test: glib/macros-c-11.test 731s ok - glib/macros-c-11.test 731s # Running test: glib/network-monitor.test 731s ok - glib/network-monitor.test 731s # Running test: glib/null-settings-backend.test 731s ok - glib/null-settings-backend.test 731s # Running test: glib/mem-overflow.test 731s TAP version 14 731s # random seed: R02S399e61aa5fc8387e73a41ea5692b3100 731s 1..4 731s # Start of C tests 731s ok 1 /C/standard-11 731s # End of C tests 731s # Start of alignof tests 731s ok 2 /alignof/fallback 731s # End of alignof tests 731s # Start of assert tests 731s ok 3 /assert/static 731s # End of assert tests 731s # Start of struct tests 731s ok 4 /struct/sizeof_member 731s # End of struct tests 731s TAP version 14 731s # random seed: R02S4f68237090fd8b3c4b3017f01f184b80 731s 1..4 731s # Start of network-monitor tests 731s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 731s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 731s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 731s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 731s ok 1 /network-monitor/default 731s ok 2 /network-monitor/remove_default 731s ok 3 /network-monitor/add_networks 731s ok 4 /network-monitor/remove_networks 731s # End of network-monitor tests 731s TAP version 14 731s # random seed: R02S20d5e2e191d57da3d9e2a46f393fbf85 731s 1..1 731s # Start of null-settings-backend tests 731s ok 1 /null-settings-backend/extension-point-registered 731s # End of null-settings-backend tests 731s TAP version 14 731s # random seed: R02Sd8956e729cf0d4a9c71e68de0ee48cdc 731s 1..2 731s # Start of mem tests 731s ok 1 /mem/overflow 731s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 731s ok 2 /mem/empty-alloc 731s # Start of overflow tests 731s # Start of subprocess tests 731s # End of subprocess tests 731s # End of overflow tests 731s # Start of empty-alloc tests 731s # End of empty-alloc tests 731s # End of mem tests 731s ok - glib/mem-overflow.test 731s # Running test: glib/static-link.test 731s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 731s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 731s and make sure you have glib build dependencies installed, including 731s meson. 731s ok # SKIP - glib/static-link.test 731s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 731s TAP version 14 731s # random seed: R02Sb2a852b8809e6e5ca3172c01cd7bd74e 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-min-required-2-64_1HLR52/gdbus/codegen/annotations/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/annotations/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/annotations/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/annotations/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/annotations/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/annotations/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/annotations/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/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-min-required-2-64_1HLR52/gdbus/codegen/interface_stability/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/interface_stability/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/interface_stability/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/interface_stability/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/interface_stability/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/interface_stability/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/interface_stability/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/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-min-required-2-64_1HLR52/gdbus/codegen/object-manager/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/object-manager/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/object-manager/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/object-manager/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/object-manager/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/object-manager/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/object-manager/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/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-min-required-2-64_1HLR52/gdbus/codegen/property-naming/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/property-naming/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/property-naming/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/property-naming/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/property-naming/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/property-naming/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/property-naming/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/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-min-required-2-64_1HLR52/gdbus/codegen/autocleanups/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/autocleanups/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/autocleanups/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/autocleanups/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/autocleanups/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/autocleanups/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/autocleanups/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/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-min-required-2-64_1HLR52/gdbus/codegen/deprecations/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/deprecations/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/deprecations/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/deprecations/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/deprecations/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/deprecations/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/deprecations/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/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-min-required-2-64_1HLR52/gdbus/codegen/standalone-interface-info/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/standalone-interface-info/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/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-min-required-2-64_1HLR52/gdbus/codegen/standalone-interface-info/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/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-min-required-2-64_1HLR52/gdbus/codegen/standalone-interface-info/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/standalone-interface-info/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/standalone-interface-info/.dirs/runtime 731s ok 7 /gdbus/codegen/standalone-interface-info 731s ok - glib/gdbus-test-codegen-min-required-2-64.test 731s # Running test: glib/contenttype.test 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/unix-fd-list/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/unix-fd-list/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/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-min-required-2-64_1HLR52/gdbus/codegen/unix-fd-list/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/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-min-required-2-64_1HLR52/gdbus/codegen/unix-fd-list/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/gdbus/codegen/unix-fd-list/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1HLR52/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: R02S0ea4604c6ad58c2575ff45a742a45a91 731s 1..14 731s # Start of contenttype tests 731s ok 1 /contenttype/guess 731s ok 2 /contenttype/guess_svg_from_data 731s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX 731s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 731s ok 5 /contenttype/unknown 731s ok 6 /contenttype/subtype 731s ok 7 /contenttype/list 731s ok 8 /contenttype/executable 731s ok 9 /contenttype/description 731s ok 10 /contenttype/icon 731s ok 11 /contenttype/symbolic-icon 731s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 731s ok 12 /contenttype/tree 731s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 731s ok 13 /contenttype/tree_invalid_encoding 731s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 731s ok 14 /contenttype/test_type_is_a_special_case 731s # End of contenttype tests 731s ok - glib/contenttype.test 731s # Running test: glib/socket-address.test 731s TAP version 14 731s # random seed: R02S5cba74f053972860f9c936421223515c 731s 1..2 731s # Start of socket tests 731s # Start of address tests 731s # Start of unix tests 731s ok 1 /socket/address/unix/construct 731s ok 2 /socket/address/unix/to-string 731s # End of unix tests 731s # End of address tests 731s # End of socket tests 731s ok - glib/socket-address.test 731s # Running test: glib/converter-stream.test 731s TAP version 14 731s # random seed: R02S5ebdd7aa30298cf5de51b5bda9a22143 731s 1..17 731s # Start of converter tests 731s ok 1 /converter/basics 731s # End of converter tests 731s # Start of converter-input-stream tests 731s ok 2 /converter-input-stream/expander 731s ok 3 /converter-input-stream/compressor 731s # Start of truncation tests 732s ok 4 /converter-input-stream/truncation/zlib 732s ok 5 /converter-input-stream/truncation/gzip 732s ok 6 /converter-input-stream/truncation/raw 732s # End of truncation tests 732s # Start of charset tests 732s ok 7 /converter-input-stream/charset/utf8->latin1 732s ok 8 /converter-input-stream/charset/latin1->utf8 732s ok 9 /converter-input-stream/charset/fallbacks 732s # End of charset tests 732s # End of converter-input-stream tests 732s # Start of converter-output-stream tests 732s # Start of roundtrip tests 732s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 732s ok 10 /converter-output-stream/roundtrip/zlib-0 732s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 732s ok 11 /converter-output-stream/roundtrip/zlib-9 732s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 732s ok 12 /converter-output-stream/roundtrip/gzip-0 732s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 732s ok 13 /converter-output-stream/roundtrip/gzip-9 732s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 732s ok 14 /converter-output-stream/roundtrip/raw-0 732s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 732s ok 15 /converter-output-stream/roundtrip/raw-9 732s # End of roundtrip tests 732s # End of converter-output-stream tests 732s # Start of converter-stream tests 732s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 732s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x585817e6a870 and GSocketClientAsyncConnectData 0x585817e676b0 732s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 732s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 732s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x585817e70b40 for GSocketClientAsyncConnectData 0x585817e676b0 732s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 732s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 732s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 732s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 732s ok 16 /converter-stream/pollable 732s ok 17 /converter-stream/leftover 732s # End of converter-stream tests 732s ok - glib/converter-stream.test 732s # Running test: glib/basics-gobject.test 732s TAP version 14 732s # random seed: R02S203d48c4c12b087cb47dfffb5b9b4d46 732s 1..1 732s # Start of gobject tests 732s # private data during initialization: 54321 == 54321 732s # MAIN: emit test-signal: 732s # ::test_signal default_handler called 732s # ::test_signal default_handler called 732s # ::test_signal default_handler called 732s # signal return: "" 732s # MAIN: call iface print-string on test and derived object: 732s # Iface-FOO: "iface-string-from-test-type" from 0x576a5b605260 732s # Iface-BAR: "iface-string-from-derived-type" from 0x576a5b5fa820 732s # chaining: 732s # Iface-FOO: "iface-string-from-derived-type" from 0x576a5b5fa820 732s # private data after initialization: 54321 == 54321 732s ok 1 /gobject/basics 732s # End of gobject tests 732s ok - glib/basics-gobject.test 732s # Running test: glib/repository-search-paths.test 732s TAP version 14 732s # random seed: R02S25602d7e3864fa81dad5e87f2ee8d568 732s 1..4 732s # Start of repository tests 732s # Start of search-paths tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_IHLW52/repository/search-paths/default/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_IHLW52/repository/search-paths/default/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_IHLW52/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_IHLW52/repository/search-paths/default/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_IHLW52/repository/search-paths/default/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_IHLW52/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_IHLW52/repository/search-paths/default/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_IHLW52/repository/search-paths/default/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_IHLW52/repository/search-paths/default/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_IHLW52/repository/search-paths/default/.dirs/runtime 732s ok 1 /repository/search-paths/default 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_IHLW52/repository/search-paths/prepend/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_IHLW52/repository/search-paths/prepend/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_IHLW52/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_IHLW52/repository/search-paths/prepend/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_IHLW52/repository/search-paths/prepend/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_IHLW52/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_IHLW52/repository/search-paths/prepend/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_IHLW52/repository/search-paths/prepend/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_IHLW52/repository/search-paths/prepend/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_IHLW52/repository/search-paths/prepend/.dirs/runtime 732s ok 2 /repository/search-paths/prepend 732s # End of search-paths tests 732s # Start of library-paths tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_IHLW52/repository/library-paths/default/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_IHLW52/repository/library-paths/default/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_IHLW52/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_IHLW52/repository/library-paths/default/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_IHLW52/repository/library-paths/default/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_IHLW52/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_IHLW52/repository/library-paths/default/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_IHLW52/repository/library-paths/default/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_IHLW52/repository/library-paths/default/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_IHLW52/repository/library-paths/default/.dirs/runtime 732s ok 3 /repository/library-paths/default 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_IHLW52/repository/library-paths/prepend/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_IHLW52/repository/library-paths/prepend/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_IHLW52/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_IHLW52/repository/library-paths/prepend/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_IHLW52/repository/library-paths/prepend/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_IHLW52/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_IHLW52/repository/library-paths/prepend/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_IHLW52/repository/library-paths/prepend/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_IHLW52/repository/library-paths/prepend/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_IHLW52/repository/library-paths/prepend/.dirs/runtime 732s ok 4 /repository/library-paths/prepend 732s # End of library-paths tests 732s # End of repository tests 732s ok - glib/repository-search-paths.test 732s # Running test: glib/timer.test 732s TAP version 14 732s # random seed: R02Sa3171127f4c4eb16493f002d23dec186 732s 1..10 732s # Start of timer tests 732s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 732s ok 2 /timer/stop 732s ok 3 /timer/continue 732s ok 4 /timer/reset 732s ok 5 /timer/is_active 732s # End of timer tests 732s # Start of timeval tests 732s ok 6 /timeval/add 732s ok 7 /timeval/from-iso8601 732s ok 8 /timeval/to-iso8601 732s # Start of to-iso8601 tests 732s ok 9 /timeval/to-iso8601/overflow 732s # End of to-iso8601 tests 732s # End of timeval tests 732s # Start of usleep tests 732s ok 10 /usleep/with-zero-wait 732s # End of usleep tests 732s ok - glib/timer.test 732s # Running test: glib/cancellable.test 732s TAP version 14 732s # random seed: R02Sfbdd0ac2ada0e1cb78d6f39662d4aa2a 732s 1..18 732s # Start of cancellable tests 732s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 732s ok 2 /cancellable/null 732s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose 732s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 732s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 732s ok 4 /cancellable/connect-to-disposing-callback 732s ok 5 /cancellable/connect-cancelled-data-is-destroyed 732s # Toggle reference callback for GCancellable (0x587a9e148cd0), last: 1 732s # Toggle reference callback for GCancellable (0x587a9e148cd0), last: 0 732s # Toggle reference callback for GCancellable (0x587a9e148cd0), last: 1 732s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference 732s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 732s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 732s ok 7 /cancellable/connect-cancelled-to-disposing-callback 732s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable 732s # Toggle reference callback for GCancellable (0x587a9e148cd0), last: 1 732s # Toggle reference callback for GCancellable (0x587a9e148cd0), last: 0 732s # Toggle reference callback for GCancellable (0x587a9e148cd0), last: 1 732s # Toggle reference callback for GCancellable (0x587a9e148cd0), last: 0 732s # Toggle reference callback for GCancellable (0x587a9e148cd0), last: 1 732s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference 732s # /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 733s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs 733s # /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 733s ok 11 /cancellable/resets-on-cancel-callback-hangs 733s ok 12 /cancellable/poll-fd 733s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 733s ok 13 /cancellable/poll-fd-cancelled 733s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 733s ok 14 /cancellable/poll-fd-cancelled-threaded 733s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 733s ok 15 /cancellable/cancel-reset-races 733s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 733s not ok 16 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly 733s # End of cancellable tests 733s # Start of cancellable-source tests 733s # /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) 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 733s ok 17 /cancellable-source/threaded-dispose 733s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774 733s ok 18 /cancellable-source/can-be-fired-multiple-times 733s # End of cancellable-source tests 733s ok - glib/cancellable.test 733s # Running test: glib/gdbus-proxy-threads.test 733s TAP version 14 733s # random seed: R02Sa1814699c42eb143a985f4b9292fe8f5 733s 1..1 733s # Start of gdbus tests 733s # Start of proxy tests 733s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_ZZES52/gdbus/proxy/vs-threads/.dirs/home 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_ZZES52/gdbus/proxy/vs-threads/.dirs/cache 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_ZZES52/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_ZZES52/gdbus/proxy/vs-threads/.dirs/system-config2 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_ZZES52/gdbus/proxy/vs-threads/.dirs/config 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_ZZES52/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_ZZES52/gdbus/proxy/vs-threads/.dirs/system-data2 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_ZZES52/gdbus/proxy/vs-threads/.dirs/data 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_ZZES52/gdbus/proxy/vs-threads/.dirs/state 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_ZZES52/gdbus/proxy/vs-threads/.dirs/runtime 734s ok - glib/gdbus-proxy-threads.test 734s ok 1 /gdbus/proxy/vs-threads 734s # slow test /gdbus/proxy/vs-threads executed in 0.51 secs 734s # End of proxy tests 734s # End of gdbus tests 734s cleaning up pid 8081 734s # Running test: glib/charset.test 734s TAP version 14 734s # random seed: R02S08192851a13cdaa1a5f0a81d032e6932 734s 1..2 734s # Start of charset tests 734s # Test 0 734s # Test 1 734s # Test 2 734s # Test 3 734s ok 1 /charset/language_names_with_category 734s ok 2 /charset/language_names_with_category_async 734s # End of charset tests 734s ok - glib/charset.test 734s # Running test: glib/application-command-line.test 734s TAP version 14 734s # random seed: R02S44c4ee67a2901bd247c10f0a3431cfce 734s 1..1 734s # Start of application-command-line tests 734s ok 1 /application-command-line/basic-properties 734s # End of application-command-line tests 734s ok - glib/application-command-line.test 734s # Running test: glib/private.test 734s TAP version 14 734s # random seed: R02S6b423323db0ff56c0eefab80c2953519 734s 1..8 734s # Start of thread tests 734s ok 1 /thread/private1 734s # Executing: glib/private.test 735s ok 2 /thread/private2 735s # slow test /thread/private2 executed in 1.10 secs 735s ok 3 /thread/private3 735s ok 4 /thread/staticprivate1 735s ok 5 /thread/staticprivate2 735s ok 6 /thread/staticprivate3 736s ok - glib/private.test 736s ok 7 /thread/staticprivate4 736s # slow test /thread/staticprivate4 executed in 1.11 secs 736s ok 8 /thread/staticprivate5 736s # End of thread tests 736s # Running test: glib/unicode-encoding.test 736s TAP version 14 736s # random seed: R02Sc0d640e056b91f54269af94f126bf71f 736s 1..1 736s # Start of unicode tests 736s ok 1 /unicode/encoding 736s # End of unicode tests 736s ok - glib/unicode-encoding.test 736s # Running test: glib/gdbus-subscribe.test 736s TAP version 14 736s # random seed: R02S15bdf3ab141a098300eef41b4eea8f61 736s 1..24 736s # Start of gdbus tests 736s # Start of subscribe tests 736s # Start of conn tests 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/simple/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/simple/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/simple/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/simple/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/simple/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/simple/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/simple/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/simple/.dirs/runtime 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 736s # Step 0: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 1: adding subscription 736s # Sender: (any) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Waiting for AddMatch to be processed 736s # Step 2: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 2 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 736s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 1 /gdbus/subscribe/conn/simple 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 736s # Step 0: adding subscription 736s # Sender: (any) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Waiting for AddMatch to be processed 736s # Step 1: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 2: emitting signal 736s # Sender: service 2 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 3: emitting signal 736s # Sender: service 736s # Destination: subscriber :1.0 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 4: emitting signal 736s # Sender: service 2 736s # Destination: subscriber :1.0 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 1 736s # Signal received from service 2 :1.2 736s # Signal received from service 2 :1.2 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 2 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 3 736s # Signal received from service 2 :1.2 736s # Signal received from service 2 :1.2 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 4 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 736s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 736s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 736s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/match_twice/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/match_twice/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/match_twice/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/match_twice/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/match_twice/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/match_twice/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/match_twice/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/match_twice/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 736s # Step 0: adding subscription 736s # Sender: service :1.1 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Waiting for AddMatch to be processed 736s # Step 1: adding subscription 736s # Sender: (any) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: (any) 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Waiting for AddMatch to be processed 736s # Step 2: adding subscription 736s # Sender: (any) 736s # Path: (any) 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Waiting for AddMatch to be processed 736s # Step 3: adding subscription 736s # Sender: service :1.1 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Waiting for AddMatch to be processed 736s # Step 4: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 4 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 4 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 4 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 4 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 3 /gdbus/subscribe/conn/match_twice 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 736s # Step 0: adding subscription 736s # Sender: service :1.1 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Waiting for AddMatch to be processed 736s # Step 1: emitting signal 736s # Sender: attacker 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 2: emitting signal 736s # Sender: attacker 736s # Destination: subscriber :1.0 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 3: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 3 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 736s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 736s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 736s # Step 0: adding subscription 736s # Sender: :0.this.had.better.not.exist 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Waiting for AddMatch to be processed 736s # Step 1: emitting signal 736s # Sender: attacker 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 2: emitting signal 736s # Sender: attacker 736s # Destination: subscriber :1.0 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 736s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /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 736s # Step 0: claiming bus name 736s # Name: org.gtk.Test.AlreadyOwned 736s # Owner: service 736s # Step 1: adding subscription 736s # Sender: org.gtk.Test.AlreadyOwned 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Waiting for AddMatch to be processed 736s # Step 2: adding subscription 736s # Sender: org.gtk.Test.OwnedLater 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Waiting for AddMatch to be processed 736s # Step 3: emitting signal 736s # Sender: attacker 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 4: emitting signal 736s # Sender: attacker 736s # Destination: subscriber :1.0 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 5: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 6: claiming bus name 736s # Name: org.gtk.Test.OwnedLater 736s # Owner: service 736s # Step 7: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 5 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 7 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 7 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 736s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 736s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 736s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 736s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 736s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 736s # Step 0: adding subscription 736s # Sender: org.freedesktop.DBus 736s # Path: /org/freedesktop/DBus 736s # Interface: org.freedesktop.DBus 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Waiting for AddMatch to be processed 736s # Step 1: emitting signal 736s # Sender: attacker 736s # Destination: (broadcast) 736s # Path: /org/freedesktop/DBus 736s # Interface: org.freedesktop.DBus 736s # Member: NameOwnerChanged 736s # String argument 0: would I lie to you? 736s # Waiting for signal to reach message bus 736s # Step 2: emitting signal 736s # Sender: attacker 736s # Destination: subscriber :1.0 736s # Path: /org/freedesktop/DBus 736s # Interface: org.freedesktop.DBus 736s # Member: NameOwnerChanged 736s # Waiting for signal to reach message bus 736s # Step 3: claiming bus name 736s # Name: org.gtk.Test.OwnedLater 736s # Owner: service 736s # Signal received from message bus org.freedesktop.DBus 736s # Signal received from (unused) org.freedesktop.DBus via connection 736s # Path: /org/freedesktop/DBus 736s # Interface: org.freedesktop.DBus 736s # Member: NameOwnerChanged 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 736s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 736s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 736s # Step 0: claiming bus name 736s # Name: org.gtk.Test.AlreadyOwned 736s # Owner: service 736s # Step 1: adding subscription 736s # Sender: org.gtk.Test.AlreadyOwned 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Immediately unsubscribing 736s # Waiting for AddMatch to be processed 736s # Step 2: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 736s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 736s # End of conn tests 736s # Start of proxy tests 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/simple/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/simple/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/simple/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/simple/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/simple/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/simple/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/simple/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/simple/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 736s # Step 0: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 1: adding subscription 736s # Sender: (any) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Cannot subscribe via proxy: no bus name 736s # Waiting for AddMatch to be processed 736s # Step 2: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 9 /gdbus/subscribe/proxy/simple 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 736s # Step 0: adding subscription 736s # Sender: (any) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Cannot subscribe via proxy: no bus name 736s # Waiting for AddMatch to be processed 736s # Step 1: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 2: emitting signal 736s # Sender: service 2 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 3: emitting signal 736s # Sender: service 736s # Destination: subscriber :1.0 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 4: emitting signal 736s # Sender: service 2 736s # Destination: subscriber :1.0 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/match_twice/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/match_twice/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/match_twice/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/match_twice/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/match_twice/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/match_twice/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 736s # Step 0: adding subscription 736s # Sender: service :1.1 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via proxy 736s # Waiting for AddMatch to be processed 736s # Step 1: adding subscription 736s # Sender: (any) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: (any) 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Cannot subscribe via proxy: no bus name 736s # Waiting for AddMatch to be processed 736s # Step 2: adding subscription 736s # Sender: (any) 736s # Path: (any) 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Cannot subscribe via proxy: no bus name 736s # Waiting for AddMatch to be processed 736s # Step 3: adding subscription 736s # Sender: service :1.1 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via proxy 736s # Waiting for AddMatch to be processed 736s # Step 4: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via proxy 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 4 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via proxy 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 4 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 11 /gdbus/subscribe/proxy/match_twice 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 736s # Step 0: adding subscription 736s # Sender: service :1.1 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via proxy 736s # Waiting for AddMatch to be processed 736s # Step 1: emitting signal 736s # Sender: attacker 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 2: emitting signal 736s # Sender: attacker 736s # Destination: subscriber :1.0 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 3: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via proxy 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 3 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 736s # Step 0: adding subscription 736s # Sender: :0.this.had.better.not.exist 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via proxy 736s # Waiting for AddMatch to be processed 736s # Step 1: emitting signal 736s # Sender: attacker 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 2: emitting signal 736s # Sender: attacker 736s # Destination: subscriber :1.0 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /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 736s # Step 0: claiming bus name 736s # Name: org.gtk.Test.AlreadyOwned 736s # Owner: service 736s # Step 1: adding subscription 736s # Sender: org.gtk.Test.AlreadyOwned 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via proxy 736s # Waiting for AddMatch to be processed 736s # Step 2: adding subscription 736s # Sender: org.gtk.Test.OwnedLater 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via proxy 736s # Waiting for AddMatch to be processed 736s # Step 3: emitting signal 736s # Sender: attacker 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 4: emitting signal 736s # Sender: attacker 736s # Destination: subscriber :1.0 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 5: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 6: claiming bus name 736s # Name: org.gtk.Test.OwnedLater 736s # Owner: service 736s # Step 7: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via proxy 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 5 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via proxy 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 7 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via proxy 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 7 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 736s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 736s # Step 0: adding subscription 736s # Sender: org.freedesktop.DBus 736s # Path: /org/freedesktop/DBus 736s # Interface: org.freedesktop.DBus 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via proxy 736s # Waiting for AddMatch to be processed 736s # Step 1: emitting signal 736s # Sender: attacker 736s # Destination: (broadcast) 736s # Path: /org/freedesktop/DBus 736s # Interface: org.freedesktop.DBus 736s # Member: NameOwnerChanged 736s # String argument 0: would I lie to you? 736s # Waiting for signal to reach message bus 736s # Step 2: emitting signal 736s # Sender: attacker 736s # Destination: subscriber :1.0 736s # Path: /org/freedesktop/DBus 736s # Interface: org.freedesktop.DBus 736s # Member: NameOwnerChanged 736s # Waiting for signal to reach message bus 736s # Step 3: claiming bus name 736s # Name: org.gtk.Test.OwnedLater 736s # Owner: service 736s # Signal received from message bus org.freedesktop.DBus 736s # Signal received from (unused) org.freedesktop.DBus via proxy 736s # Path: /org/freedesktop/DBus 736s # Interface: org.freedesktop.DBus 736s # Member: NameOwnerChanged 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 736s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 736s # Step 0: claiming bus name 736s # Name: org.gtk.Test.AlreadyOwned 736s # Owner: service 736s # Step 1: adding subscription 736s # Sender: org.gtk.Test.AlreadyOwned 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via proxy 736s # Waiting for AddMatch to be processed 736s # Step 2: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via proxy 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 2 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 736s # End of proxy tests 736s # Start of parallel tests 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/simple/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/simple/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/simple/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/simple/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/simple/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/simple/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/simple/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/simple/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 736s # Step 0: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 1: adding subscription 736s # Sender: (any) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Cannot subscribe via proxy: no bus name 736s # Waiting for AddMatch to be processed 736s # Step 2: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 2 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 736s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 736s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 17 /gdbus/subscribe/parallel/simple 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 736s # Step 0: adding subscription 736s # Sender: (any) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Cannot subscribe via proxy: no bus name 736s # Waiting for AddMatch to be processed 736s # Step 1: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 2: emitting signal 736s # Sender: service 2 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 3: emitting signal 736s # Sender: service 736s # Destination: subscriber :1.0 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 4: emitting signal 736s # Sender: service 2 736s # Destination: subscriber :1.0 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 1 736s # Signal received from service 2 :1.2 736s # Signal received from service 2 :1.2 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 2 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 3 736s # Signal received from service 2 :1.2 736s # Signal received from service 2 :1.2 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 4 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 736s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 736s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 736s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 736s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/match_twice/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/match_twice/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/match_twice/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/match_twice/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/match_twice/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/match_twice/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 736s # Step 0: adding subscription 736s # Sender: service :1.1 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Subscribing via proxy 736s # Waiting for AddMatch to be processed 736s # Step 1: adding subscription 736s # Sender: (any) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: (any) 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Cannot subscribe via proxy: no bus name 736s # Waiting for AddMatch to be processed 736s # Step 2: adding subscription 736s # Sender: (any) 736s # Path: (any) 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Cannot subscribe via proxy: no bus name 736s # Waiting for AddMatch to be processed 736s # Step 3: adding subscription 736s # Sender: service :1.1 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Subscribing via proxy 736s # Waiting for AddMatch to be processed 736s # Step 4: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 4 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via proxy 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 4 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 4 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via proxy 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 4 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 4 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 4 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 736s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 19 /gdbus/subscribe/parallel/match_twice 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 736s # Step 0: adding subscription 736s # Sender: service :1.1 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Subscribing via proxy 736s # Waiting for AddMatch to be processed 736s # Step 1: emitting signal 736s # Sender: attacker 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 2: emitting signal 736s # Sender: attacker 736s # Destination: subscriber :1.0 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 3: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 3 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via proxy 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 3 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 736s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 736s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 736s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 736s # Step 0: adding subscription 736s # Sender: :0.this.had.better.not.exist 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Subscribing via proxy 736s # Waiting for AddMatch to be processed 736s # Step 1: emitting signal 736s # Sender: attacker 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 2: emitting signal 736s # Sender: attacker 736s # Destination: subscriber :1.0 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 736s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 736s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /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 736s # Step 0: claiming bus name 736s # Name: org.gtk.Test.AlreadyOwned 736s # Owner: service 736s # Step 1: adding subscription 736s # Sender: org.gtk.Test.AlreadyOwned 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Subscribing via proxy 736s # Waiting for AddMatch to be processed 736s # Step 2: adding subscription 736s # Sender: org.gtk.Test.OwnedLater 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Subscribing via proxy 736s # Waiting for AddMatch to be processed 736s # Step 3: emitting signal 736s # Sender: attacker 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 4: emitting signal 736s # Sender: attacker 736s # Destination: subscriber :1.0 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 5: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Step 6: claiming bus name 736s # Name: org.gtk.Test.OwnedLater 736s # Owner: service 736s # Step 7: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 5 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via proxy 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 5 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 7 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via proxy 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 7 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via connection 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 7 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via proxy 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 7 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 736s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 736s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 736s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 736s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 736s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 736s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 736s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 736s # Step 0: adding subscription 736s # Sender: org.freedesktop.DBus 736s # Path: /org/freedesktop/DBus 736s # Interface: org.freedesktop.DBus 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Subscribing via proxy 736s # Waiting for AddMatch to be processed 736s # Step 1: emitting signal 736s # Sender: attacker 736s # Destination: (broadcast) 736s # Path: /org/freedesktop/DBus 736s # Interface: org.freedesktop.DBus 736s # Member: NameOwnerChanged 736s # String argument 0: would I lie to you? 736s # Waiting for signal to reach message bus 736s # Step 2: emitting signal 736s # Sender: attacker 736s # Destination: subscriber :1.0 736s # Path: /org/freedesktop/DBus 736s # Interface: org.freedesktop.DBus 736s # Member: NameOwnerChanged 736s # Waiting for signal to reach message bus 736s # Step 3: claiming bus name 736s # Name: org.gtk.Test.OwnedLater 736s # Owner: service 736s # Signal received from message bus org.freedesktop.DBus 736s # Signal received from (unused) org.freedesktop.DBus via connection 736s # Path: /org/freedesktop/DBus 736s # Interface: org.freedesktop.DBus 736s # Member: NameOwnerChanged 736s # Signal received from message bus org.freedesktop.DBus 736s # Signal received from (unused) org.freedesktop.DBus via proxy 736s # Path: /org/freedesktop/DBus 736s # Interface: org.freedesktop.DBus 736s # Member: NameOwnerChanged 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 736s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 736s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 736s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 736s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_K83852/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # subscriber is :1.0 736s # service is :1.1 736s # service 2 is :1.2 736s # attacker is :1.3 736s # Waiting for AddMatch to be processed 736s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 736s # Step 0: claiming bus name 736s # Name: org.gtk.Test.AlreadyOwned 736s # Owner: service 736s # Step 1: adding subscription 736s # Sender: org.gtk.Test.AlreadyOwned 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: (any) 736s # String argument 0: (any) 736s # Flags: 0 736s # Subscribing via connection 736s # Immediately unsubscribing 736s # Subscribing via proxy 736s # Waiting for AddMatch to be processed 736s # Step 2: emitting signal 736s # Sender: service 736s # Destination: (broadcast) 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Waiting for signal to reach message bus 736s # Signal received from service :1.1 736s # Signal received from service :1.1 via proxy 736s # Path: /org/gtk/GDBus/ExampleInterface 736s # Interface: org.gtk.GDBus.ExampleInterface 736s # Member: Foo 736s # Argument 0: (not a string) 736s # Sent in step: 2 736s # Received Finished signal from subscriber :1.0 736s # Received Finished signal from service :1.1 736s # Received Finished signal from service 2 :1.2 736s # Received Finished signal from attacker :1.3 736s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 736s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 736s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 736s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 736s # End of parallel tests 736s # End of subscribe tests 736s # End of gdbus tests 736s TAP version 14 736s # random seed: R02S500fa52a65bd9cd72a74955e1649f47e 736s 1..8 736s # Start of monitor tests 736s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 736s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 736s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 736s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 736s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 736s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 736s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 736s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 736s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 736s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 736s # Start of file tests 736s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 736s # End of file tests 736s # End of monitor tests 736s TAP version 14 736s # random seed: R02S6b8228d66f913c6a27114617415f6c28 736s 1..8 736s # Start of gdbus tests 736s # Start of codegen tests 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/annotations/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/annotations/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/annotations/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/annotations/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/annotations/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/annotations/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/annotations/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/annotations/.dirs/runtime 736s ok 1 /gdbus/codegen/annotations 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/interface_stability/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/interface_stability/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/interface_stability/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/interface_stability/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/interface_stability/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/interface_stability/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/interface_stability/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/interface_stability/.dirs/runtime 736s ok 2 /gdbus/codegen/interface_stability 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/object-manager/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/object-manager/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/object-manager/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/object-manager/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/object-manager/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/object-manager/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/object-manager/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/object-manager/.dirs/runtime 736s ok - glib/gdbus-subscribe.test 736s # Running test: glib/testfilemonitor.test 736s ok - glib/testfilemonitor.test 736s # Running test: glib/gdbus-test-codegen.test 736s ok 3 /gdbus/codegen/object-manager 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/property-naming/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/property-naming/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/property-naming/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/property-naming/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/property-naming/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/property-naming/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/property-naming/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/property-naming/.dirs/runtime 736s ok 4 /gdbus/codegen/property-naming 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/autocleanups/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/autocleanups/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/autocleanups/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/autocleanups/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/autocleanups/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/autocleanups/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/autocleanups/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/autocleanups/.dirs/runtime 736s ok 5 /gdbus/codegen/autocleanups 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/deprecations/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/deprecations/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/deprecations/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/deprecations/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/deprecations/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/deprecations/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/deprecations/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/deprecations/.dirs/runtime 736s ok 6 /gdbus/codegen/deprecations 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/standalone-interface-info/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/standalone-interface-info/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/standalone-interface-info/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/standalone-interface-info/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/standalone-interface-info/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/standalone-interface-info/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/standalone-interface-info/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/standalone-interface-info/.dirs/runtime 736s ok 7 /gdbus/codegen/standalone-interface-info 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/unix-fd-list/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/unix-fd-list/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/unix-fd-list/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/unix-fd-list/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/unix-fd-list/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/unix-fd-list/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/unix-fd-list/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HYES52/gdbus/codegen/unix-fd-list/.dirs/runtime 736s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 736s ok 8 /gdbus/codegen/unix-fd-list 736s # End of codegen tests 736s # End of gdbus tests 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok - glib/gdbus-test-codegen.test 736s # Running test: glib/memory-input-stream.test 736s TAP version 14 736s # random seed: R02S543935405d041c42f57306b884718e71 736s 1..6 736s # Start of memory-input-stream tests 736s ok 1 /memory-input-stream/read-chunks 736s ok 2 /memory-input-stream/async 736s ok 3 /memory-input-stream/seek 736s ok 4 /memory-input-stream/truncate 736s ok 5 /memory-input-stream/read-bytes 736s ok 6 /memory-input-stream/from-bytes 736s # End of memory-input-stream tests 736s ok - glib/memory-input-stream.test 736s # Running test: glib/option-context.test 736s TAP version 14 736s # random seed: R02S4a963b5d2e7a7a4174d0d32f9f8236f1 736s 1..58 736s # Start of option tests 736s ok 1 /option/basic 736s ok 2 /option/translate 736s ok 3 /option/strict-posix 736s # Start of help tests 736s ok 4 /option/help/options 736s ok 5 /option/help/no-options 736s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 736s ok 6 /option/help/no-help-options 736s # Usage: 736s # /usr/libexec/installed-tests/glib/option-context [OPTION?] blabla 736s # 736s # Summary 736s # 736s # Help Options: 736s # -h, --help Show help options 736s # 736s # Application Options: 736s # -t, --test=Argument to use in test (deprecated) Test tests 736s # --test2 Tests also 736s # 736s # Description 736s # 736s ok 7 /option/help/deprecated 736s # End of help tests 736s # Start of group tests 736s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 736s ok 8 /option/group/captions 736s ok 9 /option/group/main 736s ok 10 /option/group/error-hook 736s ok 11 /option/group/parse 736s # Start of captions tests 736s # Start of subprocess tests 736s # End of subprocess tests 736s # End of captions tests 736s # End of group tests 736s # Start of restoration tests 736s ok 12 /option/restoration/int 736s ok 13 /option/restoration/string 736s ok 14 /option/restoration/boolean 736s # End of restoration tests 736s # Start of arg tests 736s ok 15 /option/arg/reverse-string 736s ok 16 /option/arg/optional-int 736s # Start of repetition tests 736s ok 17 /option/arg/repetition/int 736s ok 18 /option/arg/repetition/string 736s ok 19 /option/arg/repetition/filename 736s ok 20 /option/arg/repetition/double 736s ok - glib/option-context.test 736s ok 21 /option/arg/repetition/locale 736s ok 22 /option/arg/repetition/int64 736s # End of repetition tests 736s # Start of array tests 736s ok 23 /option/arg/array/string 736s # End of array tests 736s # Start of callback tests 736s ok 24 /option/arg/callback/string 736s ok 25 /option/arg/callback/count 736s ok 26 /option/arg/callback/optional1 736s ok 27 /option/arg/callback/optional2 736s ok 28 /option/arg/callback/optional3 736s ok 29 /option/arg/callback/optional4 736s ok 30 /option/arg/callback/optional5 736s ok 31 /option/arg/callback/optional6 736s ok 32 /option/arg/callback/optional7 736s ok 33 /option/arg/callback/optional8 736s # End of callback tests 736s # Start of remaining tests 736s ok 34 /option/arg/remaining/callback 736s ok 35 /option/arg/remaining/callback-false 736s ok 36 /option/arg/remaining/non-option 736s ok 37 /option/arg/remaining/separator 736s ok 38 /option/arg/remaining/array 736s # End of remaining tests 736s # Start of ignore tests 736s ok 39 /option/arg/ignore/long 736s ok 40 /option/arg/ignore/short 736s ok 41 /option/arg/ignore/arg 736s # End of ignore tests 736s # Start of rest tests 736s ok 42 /option/arg/rest/non-option 736s ok 43 /option/arg/rest/separator1 736s ok 44 /option/arg/rest/separator2 736s ok 45 /option/arg/rest/separator3 736s ok 46 /option/arg/rest/separator4 736s ok 47 /option/arg/rest/separator5 736s # End of rest tests 736s # End of arg tests 736s # Start of context tests 736s ok 48 /option/context/add 736s ok 49 /option/context/empty2 736s ok 50 /option/context/empty3 736s # End of context tests 736s # Start of bug tests 736s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 736s ok 51 /option/bug/unknown-short 736s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 736s ok 52 /option/bug/lonely-dash 736s ok 53 /option/bug/triple-dash 736s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 736s ok 54 /option/bug/missing-arg 736s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 736s ok 55 /option/bug/dash-arg 736s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 736s ok 56 /option/bug/short-remaining 736s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 736s ok 57 /option/bug/double-free 736s ok 58 /option/bug/double-zero 736s # End of bug tests 736s # End of option tests 736s # Running test: glib/sleepy-stream.test 736s TAP version 14 736s # random seed: R02S4848504fbc3ba09cbd4ef9431819f9b8 736s 1..2 736s # Start of filter-stream tests 736s ok 1 /filter-stream/input 736s ok 2 /filter-stream/async 736s # End of filter-stream tests 736s ok - glib/sleepy-stream.test 736s # Running test: glib/dynamictype.test 736s TAP version 14 736s # random seed: R02S99bd04822789acd3c286a1dee1511e47 736s 1..2 736s # Start of gobject tests 736s ok 1 /gobject/dynamic-type 736s # Start of dynamic-type tests 736s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 736s ok 2 /gobject/dynamic-type/query 736s # End of dynamic-type tests 736s # End of gobject tests 736s ok - glib/dynamictype.test 736s # Running test: glib/hmac.test 736s TAP version 14 736s # random seed: R02S6e9c4c5188a6aca6dd707d05bafa5500 736s 1..37 736s # Start of hmac tests 736s ok 1 /hmac/sha1-1 736s ok 2 /hmac/sha1-2 736s ok 3 /hmac/sha1-3 736s ok 4 /hmac/sha1-4 736s ok 5 /hmac/sha1-5 736s ok 6 /hmac/sha1-6 736s ok 7 /hmac/sha1-7 736s ok 8 /hmac/sha256-1 736s ok 9 /hmac/sha256-2 736s ok 10 /hmac/sha256-3 736s ok 11 /hmac/sha256-4 736s ok 12 /hmac/sha256-5 736s ok 13 /hmac/sha256-6 736s ok 14 /hmac/sha384-1 736s ok 15 /hmac/sha384-2 736s ok 16 /hmac/sha384-3 736s ok 17 /hmac/sha384-4 736s ok 18 /hmac/sha384-5 736s ok 19 /hmac/sha384-6 736s ok 20 /hmac/sha512-1 736s ok 21 /hmac/sha512-2 736s ok 22 /hmac/sha512-3 736s ok 23 /hmac/sha512-4 736s ok 24 /hmac/sha512-5 736s ok 25 /hmac/sha512-6 736s ok 26 /hmac/md5-1 736s ok 27 /hmac/md5-2 736s ok 28 /hmac/md5-3 736s ok 29 /hmac/md5-4 736s ok 30 /hmac/md5-5 736s ok 31 /hmac/md5-6 736s ok 32 /hmac/md5-7 736s ok 33 /hmac/ref-unref 736s ok 34 /hmac/copy 736s ok 35 /hmac/for-data 736s ok 36 /hmac/for-string 736s ok 37 /hmac/for-bytes 736s # End of hmac tests 736s ok - glib/hmac.test 736s # Running test: glib/rwlock.test 736s TAP version 14 736s # random seed: R02Sf9d8e4ad537bc0a181d982ce1329d93b 736s 1..8 736s # Start of thread tests 736s ok 1 /thread/rwlock1 736s ok 2 /thread/rwlock2 736s ok 3 /thread/rwlock3 736s ok 4 /thread/rwlock4 736s ok 5 /thread/rwlock5 736s ok 6 /thread/rwlock6 739s # Executing: glib/rwlock.test 743s ok 7 /thread/rwlock7 743s # slow test /thread/rwlock7 executed in 6.79 secs 743s ok 8 /thread/rwlock8 743s # End of thread tests 743s ok - glib/rwlock.test 743s # Running test: glib/spawn-multithreaded.test 743s TAP version 14 743s # random seed: R02Sf95e349a28037020f363bca75bd3d115 743s 1..4 743s # Start of gthread tests 744s # Child 8314 (ttl 1) exited, status 0 744s # Executing: glib/spawn-multithreaded.test 745s # Child 8315 (ttl 2) exited, status 0 745s ok 1 /gthread/spawn-childs 745s # slow test /gthread/spawn-childs executed in 2.00 secs 745s # Created pid: 8319 (ttl 1) 745s # Created pid: 8320 (ttl 2) 746s # Child 8319 (ttl 1) exited, status 0 747s # Child 8320 (ttl 2) exited, status 0 747s ok 2 /gthread/spawn-childs-threads 747s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 747s ok 3 /gthread/spawn-sync 747s ok 4 /gthread/spawn-async 747s # End of gthread tests 747s ok - glib/spawn-multithreaded.test 747s # Running test: glib/tls-interaction.test 747s TAP version 14 747s # random seed: R02S5acfd510291d4f34a522358e3cd6aea5 747s 1..42 747s # Start of tls-interaction tests 747s # Start of ask-password tests 747s # Start of invoke-with-loop tests 747s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 747s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 747s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 747s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 747s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 747s # End of invoke-with-loop tests 747s # Start of invoke-without-loop tests 747s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 747s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 747s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 747s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 747s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 747s # End of invoke-without-loop tests 747s # Start of invoke-in-loop tests 747s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 747s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 747s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 747s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 747s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 747s # End of invoke-in-loop tests 747s # Start of sync tests 747s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 747s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 747s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 747s # End of sync tests 747s # Start of async tests 747s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 747s ok 20 /tls-interaction/ask-password/async/async-implementation-success 747s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 747s # End of async tests 747s # End of ask-password tests 747s # Start of request-certificate tests 747s # Start of invoke-with-loop tests 747s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 747s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 747s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 747s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 747s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 747s # End of invoke-with-loop tests 747s # Start of invoke-without-loop tests 747s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 747s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 747s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 747s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 747s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 747s # End of invoke-without-loop tests 747s # Start of invoke-in-loop tests 747s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 747s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 747s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 747s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 747s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 747s # End of invoke-in-loop tests 747s # Start of sync tests 747s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 747s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 747s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 747s # End of sync tests 747s # Start of async tests 747s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 747s ok - glib/tls-interaction.test 747s # Running test: glib/defaultvalue.test 747s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 747s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 747s # End of async tests 747s # End of request-certificate tests 747s # End of tls-interaction tests 747s TAP version 14 747s # random seed: R02Sdb8c502c2c7876810e07ff8220b823d6 747s 1..84 747s # Start of Default Values tests 747s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 747s ok 2 /Default Values/GAppLaunchContext 747s ok 3 /Default Values/GApplicationCommandLine 747s # skipping GApplication:is-remote 747s ok 4 /Default Values/GApplication 747s ok 5 /Default Values/GBinding # SKIP mandatory construct params 747s ok 6 /Default Values/GBindingGroup 747s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 747s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 747s ok 9 /Default Values/GBytesIcon 747s ok 10 /Default Values/GCancellable 747s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 747s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 747s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 747s ok 14 /Default Values/GCredentials 747s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 747s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 747s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 747s ok 18 /Default Values/GDBusAuthObserver 747s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 747s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 747s ok 21 /Default Values/GDBusMessage 747s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 747s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 747s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 747s ok 25 /Default Values/GDBusObjectProxy 747s ok 26 /Default Values/GDBusObjectSkeleton 747s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 747s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 747s ok 29 /Default Values/GEmblem 747s ok 30 /Default Values/GEmblemedIcon 747s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 747s ok 32 /Default Values/GFileInfo 747s ok 33 /Default Values/GFileInputStream 747s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 747s ok 35 /Default Values/GFileOutputStream 747s ok 36 /Default Values/GFilenameCompleter 747s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 747s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 747s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 747s ok 40 /Default Values/GInitiallyUnowned 747s ok 41 /Default Values/GIOModule 747s ok 42 /Default Values/GListStore 747s ok 43 /Default Values/GMemoryInputStream 747s ok 44 /Default Values/GMemoryOutputStream 747s ok 45 /Default Values/GMenu 747s ok 46 /Default Values/GMenuItem 747s ok 47 /Default Values/GMountOperation 747s ok 48 /Default Values/GNativeSocketAddress 747s ok 49 /Default Values/GNetworkAddress 747s ok 50 /Default Values/GNetworkService 747s ok 51 /Default Values/GNotification 747s ok 52 /Default Values/GObject 747s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 747s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 747s # skipping GProxyAddressEnumerator:proxy-resolver 747s ok 54 /Default Values/GProxyAddressEnumerator 747s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 747s ok 56 /Default Values/GSettings # SKIP mandatory construct params 747s ok 57 /Default Values/GSignalGroup 747s ok 58 /Default Values/GSimpleAction 747s ok 59 /Default Values/GSimpleActionGroup 747s ok 60 /Default Values/GSimpleAsyncResult 747s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 747s ok 62 /Default Values/GSimplePermission 747s ok 63 /Default Values/GSimpleProxyResolver 747s # skipping GSocketClient:proxy-resolver 747s ok 64 /Default Values/GSocketClient 747s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 747s ok 66 /Default Values/GSocket # SKIP initialization failed 747s ok 67 /Default Values/GSocketListener 747s ok 68 /Default Values/GSocketService 747s ok 69 /Default Values/GSubprocess # SKIP initialization failed 747s ok 70 /Default Values/GSubprocessLauncher 747s # GLib-GIO-DEBUG: GTask 0x624ffaee8f30 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 747s ok 71 /Default Values/GTask 747s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 747s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 747s ok 74 /Default Values/GTestDBus 747s ok - glib/defaultvalue.test 747s # Running test: glib/portal-support-flatpak-none.test 747s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 747s ok 76 /Default Values/GThreadedSocketService 747s ok 77 /Default Values/GTlsInteraction 747s ok 78 /Default Values/GTlsPassword 747s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 747s ok 80 /Default Values/GUnixFDList 747s ok 81 /Default Values/GVfs 747s ok 82 /Default Values/GVolumeMonitor 747s ok 83 /Default Values/GZlibCompressor 747s ok 84 /Default Values/GZlibDecompressor 747s # End of Default Values tests 747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 747s ok - glib/portal-support-flatpak-none.test 747s # Running test: glib/atomic-c-99.test 747s TAP version 14 747s # random seed: R02Sc8ab7f6f04ac68e31e4b8cca71ee5e66 747s 1..1 747s # Start of portal-support tests 747s # Start of flatpak tests 747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_VRAS52/portal-support/flatpak/none/.dirs/home 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_VRAS52/portal-support/flatpak/none/.dirs/cache 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_VRAS52/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_VRAS52/portal-support/flatpak/none/.dirs/system-config2 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_VRAS52/portal-support/flatpak/none/.dirs/config 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_VRAS52/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_VRAS52/portal-support/flatpak/none/.dirs/system-data2 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_VRAS52/portal-support/flatpak/none/.dirs/data 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_VRAS52/portal-support/flatpak/none/.dirs/state 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_VRAS52/portal-support/flatpak/none/.dirs/runtime 747s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_VRAS52/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 747s ok 1 /portal-support/flatpak/none 747s # End of flatpak tests 747s # End of portal-support tests 747s TAP version 14 747s # random seed: R02S05be698d178894518471958aac4261b7 747s 1..2 747s # Start of atomic tests 747s ok 1 /atomic/types 747s ok 2 /atomic/threaded 747s # End of atomic tests 747s ok - glib/atomic-c-99.test 747s # Running test: glib/readwrite.test 747s TAP version 14 747s # random seed: R02S9afdd228b5e6407621b436a2509821af 747s 1..3 747s # Start of readwrite tests 747s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 747s ok 1 /readwrite/test_g_file_open_readwrite 747s ok 2 /readwrite/test_g_file_create_readwrite 747s ok 3 /readwrite/test_g_file_replace_readwrite 747s # End of readwrite tests 747s ok - glib/readwrite.test 747s # Running test: glib/tls-bindings.test 747s TAP version 14 747s # random seed: R02Sfc7fa7e2f814e664e7dcc5bce4dbe8e9 747s 1..2 747s # Start of tls-connection tests 747s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 747s ok 1 /tls-connection/get-tls-channel-binding 747s ok 2 /tls-connection/get-dtls-channel-binding 747s # End of tls-connection tests 747s ok - glib/tls-bindings.test 747s # Running test: glib/rec-mutex.test 747s TAP version 14 747s # random seed: R02S83d831deb6b6e8d9f77b8167b6ebcab9 747s 1..29 747s # Start of thread tests 747s ok 1 /thread/rec-mutex1 747s ok 2 /thread/rec-mutex2 747s ok 3 /thread/rec-mutex3 747s ok 4 /thread/rec-mutex4 747s # Start of rec-mutex tests 747s # Start of perf tests 747s # Start of uncontended tests 747s # max perf: 1.000000 mips 747s ok 5 /thread/rec-mutex/perf/uncontended/depth1 747s # max perf: inf mips 747s ok 6 /thread/rec-mutex/perf/uncontended/depth2 747s # max perf: inf mips 747s ok 7 /thread/rec-mutex/perf/uncontended/depth3 747s # max perf: inf mips 747s ok 8 /thread/rec-mutex/perf/uncontended/depth4 747s # max perf: inf mips 747s ok 9 /thread/rec-mutex/perf/uncontended/depth5 747s # End of uncontended tests 747s # Start of contended1 tests 747s # max perf: inf mips 747s ok 10 /thread/rec-mutex/perf/contended1/depth1 747s # max perf: inf mips 747s ok 11 /thread/rec-mutex/perf/contended1/depth2 747s # max perf: inf mips 747s ok 12 /thread/rec-mutex/perf/contended1/depth3 747s # max perf: 2.000000 mips 747s ok 13 /thread/rec-mutex/perf/contended1/depth4 747s # max perf: inf mips 747s ok 14 /thread/rec-mutex/perf/contended1/depth5 747s # End of contended1 tests 747s # Start of contended2 tests 747s # max perf: inf mips 747s ok 15 /thread/rec-mutex/perf/contended2/depth1 747s # max perf: 3.000000 mips 747s ok 16 /thread/rec-mutex/perf/contended2/depth2 747s # max perf: 3.000000 mips 747s ok 17 /thread/rec-mutex/perf/contended2/depth3 747s # max perf: inf mips 747s ok 18 /thread/rec-mutex/perf/contended2/depth4 747s # max perf: 3.000000 mips 747s ok 19 /thread/rec-mutex/perf/contended2/depth5 747s # End of contended2 tests 747s # Start of contended3 tests 747s # max perf: inf mips 747s ok 20 /thread/rec-mutex/perf/contended3/depth1 747s # max perf: 4.000000 mips 747s ok 21 /thread/rec-mutex/perf/contended3/depth2 747s # max perf: 4.000000 mips 747s ok 22 /thread/rec-mutex/perf/contended3/depth3 747s # max perf: inf mips 747s ok 23 /thread/rec-mutex/perf/contended3/depth4 747s # max perf: inf mips 747s ok 24 /thread/rec-mutex/perf/contended3/depth5 747s # End of contended3 tests 747s # Start of contended4 tests 747s # max perf: 2.500000 mips 747s ok 25 /thread/rec-mutex/perf/contended4/depth1 747s # max perf: 5.000000 mips 747s ok 26 /thread/rec-mutex/perf/contended4/depth2 747s # max perf: 5.000000 mips 747s ok 27 /thread/rec-mutex/perf/contended4/depth3 747s # max perf: inf mips 747s ok 28 /thread/rec-mutex/perf/contended4/depth4 747s # max perf: 5.000000 mips 747s ok 29 /thread/rec-mutex/perf/contended4/depth5 747s # End of contended4 tests 747s # End of perf tests 747s # End of rec-mutex tests 747s # End of thread tests 747s ok - glib/rec-mutex.test 747s # Running test: glib/gdbus-non-socket.test 747s TAP version 14 747s # random seed: R02S71f6497e84bda82694a665f302f749f9 747s 1..1 747s # Start of gdbus tests 747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_H3FX52/gdbus/non-socket/.dirs/home 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_H3FX52/gdbus/non-socket/.dirs/cache 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_H3FX52/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_H3FX52/gdbus/non-socket/.dirs/system-config2 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_H3FX52/gdbus/non-socket/.dirs/config 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_H3FX52/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_H3FX52/gdbus/non-socket/.dirs/system-data2 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_H3FX52/gdbus/non-socket/.dirs/data 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_H3FX52/gdbus/non-socket/.dirs/state 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_H3FX52/gdbus/non-socket/.dirs/runtime 747s ok - glib/gdbus-non-socket.test 747s ok 1 /gdbus/non-socket 747s # End of gdbus tests 747s # Running test: glib/cond.test 747s TAP version 14 747s # random seed: R02S9922e5994a813312e4188257e836597c 747s 1..4 747s # Start of thread tests 747s ok 1 /thread/cond1 748s ok 2 /thread/cond2 748s # Start of cond tests 749s ok 3 /thread/cond/wait-until 749s # slow test /thread/cond/wait-until executed in 1.02 secs 749s # Start of wait-until tests 749s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 749s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 749s # Executing: glib/cond.test 750s ok 4 /thread/cond/wait-until/contended-and-interrupted 750s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 750s # End of wait-until tests 750s # End of cond tests 750s # End of thread tests 750s ok - glib/cond.test 750s # Running test: glib/dir.test 750s ok - glib/dir.test 750s TAP version 14 750s # random seed: R02S013f8e770a232d66221c0133b5862b00 750s 1..3 750s # Start of dir tests 750s ok 1 /dir/read 750s ok 2 /dir/nonexisting 750s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 750s ok 3 /dir/refcounting 750s # End of dir tests 750s # Running test: glib/network-address.test 750s TAP version 14 750s # random seed: R02S5447c2dacff01359b9082d041b87fa4d 750s 1..72 750s # Start of network-address tests 750s ok 1 /network-address/basic 750s ok 2 /network-address/scope-id 750s ok 3 /network-address/uri-scope-id 750s ok 4 /network-address/to-string 750s # Start of parse-host tests 750s ok 5 /network-address/parse-host/0 750s ok 6 /network-address/parse-host/1 750s ok 7 /network-address/parse-host/2 750s ok 8 /network-address/parse-host/3 750s ok 9 /network-address/parse-host/4 750s ok 10 /network-address/parse-host/5 750s ok 11 /network-address/parse-host/6 750s ok 12 /network-address/parse-host/7 750s ok 13 /network-address/parse-host/8 750s ok 14 /network-address/parse-host/9 750s ok 15 /network-address/parse-host/10 750s ok 16 /network-address/parse-host/11 750s ok 17 /network-address/parse-host/12 750s ok 18 /network-address/parse-host/13 750s # End of parse-host tests 750s # Start of parse-uri tests 750s ok 19 /network-address/parse-uri/0 750s ok 20 /network-address/parse-uri/1 750s ok 21 /network-address/parse-uri/2 750s ok 22 /network-address/parse-uri/3 750s ok 23 /network-address/parse-uri/4 750s ok 24 /network-address/parse-uri/5 750s ok 25 /network-address/parse-uri/6 750s ok 26 /network-address/parse-uri/7 750s ok 27 /network-address/parse-uri/8 750s ok 28 /network-address/parse-uri/9 750s # End of parse-uri tests 750s # Start of resolve-address tests 750s # Input: 192.168.1.2 750s ok 29 /network-address/resolve-address/0 750s # Input: fe80::42 750s ok 30 /network-address/resolve-address/1 750s # Input: 192.168.1.2:80 750s ok 31 /network-address/resolve-address/2 750s # Input: [fe80::42] 750s ok 32 /network-address/resolve-address/3 750s # Input: [fe80::42]:80 750s ok 33 /network-address/resolve-address/4 750s # Input: 192.168.258 750s ok 34 /network-address/resolve-address/5 750s # Input: 192.11010306 750s ok 35 /network-address/resolve-address/6 750s # Input: 3232235778 750s ok 36 /network-address/resolve-address/7 750s # Input: 0300.0250.0001.0001 750s ok 37 /network-address/resolve-address/8 750s # Input: 0xC0.0xA8.0x01.0x02 750s ok 38 /network-address/resolve-address/9 750s # Input: 0xc0.0xa8.0x01.0x02 750s ok 39 /network-address/resolve-address/10 750s # Input: 0xc0a80102 750s ok 40 /network-address/resolve-address/11 750s # End of resolve-address tests 750s # Start of loopback tests 750s ok 41 /network-address/loopback/basic 750s ok 42 /network-address/loopback/sync 750s ok 43 /network-address/loopback/async 750s # End of loopback tests 750s # Start of localhost tests 750s ok 44 /network-address/localhost/async 750s ok 45 /network-address/localhost/sync 750s # End of localhost tests 750s # Start of happy-eyeballs tests 750s ok 46 /network-address/happy-eyeballs/basic 750s ok 47 /network-address/happy-eyeballs/parallel 750s ok 48 /network-address/happy-eyeballs/slow-ipv4 750s ok 49 /network-address/happy-eyeballs/slow-ipv6 750s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 751s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 751s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 751s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 751s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 751s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 751s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 751s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 751s # /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. 751s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 751s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 751s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 751s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 751s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 751s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 751s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 751s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 751s ok 57 /network-address/happy-eyeballs/both-error 751s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 751s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 751s ok 58 /network-address/happy-eyeballs/both-error-delays-1 751s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 751s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 751s ok 59 /network-address/happy-eyeballs/both-error-delays-2 751s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 751s ok 60 /network-address/happy-eyeballs/both-error-delays-3 751s # End of happy-eyeballs tests 751s # End of network-address tests 751s # Start of gresolver tests 751s # Start of resolve-address tests 751s # Input: 192.168.1.2 751s ok 61 /gresolver/resolve-address/0 751s # Input: fe80::42 751s ok 62 /gresolver/resolve-address/1 751s # Input: 192.168.1.2:80 751s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 751s ok 63 /gresolver/resolve-address/2 751s # Input: [fe80::42] 751s # Error: Error resolving ?[fe80::42]?: Name or service not known 751s ok 64 /gresolver/resolve-address/3 751s # Input: [fe80::42]:80 751s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 751s ok 65 /gresolver/resolve-address/4 751s # Input: 192.168.258 751s # Error: Error resolving ?192.168.258?: Name or service not known 751s ok 66 /gresolver/resolve-address/5 751s # Input: 192.11010306 751s # Error: Error resolving ?192.11010306?: Name or service not known 751s ok 67 /gresolver/resolve-address/6 751s # Input: 3232235778 751s # Error: Error resolving ?3232235778?: Name or service not known 751s ok 68 /gresolver/resolve-address/7 751s # Input: 0300.0250.0001.0001 751s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 751s ok 69 /gresolver/resolve-address/8 751s # Input: 0xC0.0xA8.0x01.0x02 751s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 751s ok 70 /gresolver/resolve-address/9 751s # Input: 0xc0.0xa8.0x01.0x02 751s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 751s ok 71 /gresolver/resolve-address/10 751s # Input: 0xc0a80102 751s # Error: Error resolving ?0xc0a80102?: Name or service not known 751s ok 72 /gresolver/resolve-address/11 751s # End of resolve-address tests 751s # End of gresolver tests 751s ok - glib/network-address.test 751s # Running test: glib/642026.test 751s TAP version 14 751s # random seed: R02S0d8686fb6f736254c101b82f96fced57 751s 1..1 751s # Start of glib tests 751s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 751s ok 1 /glib/642026 751s # End of glib tests 751s ok - glib/642026.test 751s # Running test: glib/codegen.py.test 751s TAP version 13 751s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 751s # gdbus-codegen: /usr/bin/gdbus-codegen 751s # tmpdir: /tmp/tmpj787lsfs 751s # /tmp/tmpj787lsfs/tmprnirvfav.xml: 751s # 751s # 751s # 751s # 751s # 751s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj787lsfs/tmprnirvfav.xml', '--output', '-', '--header'] 751s # Return code: 0 751s # Output: 751s # /* 751s # * This file is generated by gdbus-codegen, do not modify it. 751s # * 751s # * The license of this code is the same as for the D-Bus interface description 751s # * it was derived from. Note that it links to GLib, so must comply with the 751s # * LGPL linking clauses. 751s # */ 751s # 751s # #ifndef __STDOUT__ 751s # #define __STDOUT__ 751s # 751s # #include 751s # 751s # G_BEGIN_DECLS 751s # 751s # 751s # /* ------------------------------------------------------------------------ */ 751s # /* Declarations for org.project.UsefulInterface */ 751s # 751s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 751s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 751s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 751s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 751s # 751s # struct _OrgProjectUsefulInterface; 751s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 751s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 751s # 751s # struct _OrgProjectUsefulInterfaceIface 751s # { 751s # GTypeInterface parent_iface; 751s # 751s # gboolean (*handle_useful_method) ( 751s # OrgProjectUsefulInterface *object, 751s # GDBusMethodInvocation *invocation); 751s # 751s # }; 751s # 751s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 751s # 751s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 751s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 751s # 751s # 751s # /* D-Bus method call completion functions: */ 751s # void org_project_useful_interface_complete_useful_method ( 751s # OrgProjectUsefulInterface *object, 751s # GDBusMethodInvocation *invocation); 751s # 751s # 751s # 751s # /* D-Bus method calls: */ 751s # void org_project_useful_interface_call_useful_method ( 751s # OrgProjectUsefulInterface *proxy, 751s # GCancellable *cancellable, 751s # GAsyncReadyCallback callback, 751s # gpointer user_data); 751s # 751s # gboolean org_project_useful_interface_call_useful_method_finish ( 751s # OrgProjectUsefulInterface *proxy, 751s # GAsyncResult *res, 751s # GError **error); 751s # 751s # gboolean org_project_useful_interface_call_useful_method_sync ( 751s # OrgProjectUsefulInterface *proxy, 751s # GCancellable *cancellable, 751s # GError **error); 751s # 751s # 751s # 751s # /* ---- */ 751s # 751s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 751s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 751s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 751s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 751s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 751s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 751s # 751s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 751s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 751s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 751s # 751s # struct _OrgProjectUsefulInterfaceProxy 751s # { 751s # /*< private >*/ 751s # GDBusProxy parent_instance; 751s # OrgProjectUsefulInterfaceProxyPrivate *priv; 751s # }; 751s # 751s # struct _OrgProjectUsefulInterfaceProxyClass 751s # { 751s # GDBusProxyClass parent_class; 751s # }; 751s # 751s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 751s # 751s # #if GLIB_CHECK_VERSION(2, 44, 0) 751s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 751s # #endif 751s # 751s # void org_project_useful_interface_proxy_new ( 751s # GDBusConnection *connection, 751s # GDBusProxyFlags flags, 751s # const gchar *name, 751s # const gchar *object_path, 751s # GCancellable *cancellable, 751s # GAsyncReadyCallback callback, 751s # gpointer user_data); 751s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 751s # GAsyncResult *res, 751s # GError **error); 751s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 751s # GDBusConnection *connection, 751s # GDBusProxyFlags flags, 751s # const gchar *name, 751s # const gchar *object_path, 751s # GCancellable *cancellable, 751s # GError **error); 751s # 751s # void org_project_useful_interface_proxy_new_for_bus ( 751s # GBusType bus_type, 751s # GDBusProxyFlags flags, 751s # const gchar *name, 751s # const gchar *object_path, 751s # GCancellable *cancellable, 751s # GAsyncReadyCallback callback, 751s # gpointer user_data); 751s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 751s # GAsyncResult *res, 751s # GError **error); 751s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 751s # GBusType bus_type, 751s # GDBusProxyFlags flags, 751s # const gchar *name, 751s # const gchar *object_path, 751s # GCancellable *cancellable, 751s # GError **error); 751s # 751s # 751s # /* ---- */ 751s # 751s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 751s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 751s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 751s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 751s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 751s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 751s # 751s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 751s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 751s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 751s # 751s # struct _OrgProjectUsefulInterfaceSkeleton 751s # { 751s # /*< private >*/ 751s # GDBusInterfaceSkeleton parent_instance; 751s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 751s # }; 751s # 751s # struct _OrgProjectUsefulInterfaceSkeletonClass 751s # { 751s # GDBusInterfaceSkeletonClass parent_class; 751s # }; 751s # 751s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 751s # 751s # #if GLIB_CHECK_VERSION(2, 44, 0) 751s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 751s # #endif 751s # 751s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 751s # 751s # 751s # G_END_DECLS 751s # 751s # #endif /* __STDOUT__ */ 751s # Error: 751s # 751s # /tmp/tmpj787lsfs/tmpfoducjo2.xml: 751s # 751s # 751s # 751s # 751s # 751s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj787lsfs/tmpfoducjo2.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 751s # Return code: 0 751s # Output: 751s # /* 751s # * This file is generated by gdbus-codegen, do not modify it. 751s # * 751s # * The license of this code is the same as for the D-Bus interface description 751s # * it was derived from. Note that it links to GLib, so must comply with the 751s # * LGPL linking clauses. 751s # */ 751s # 751s # #ifndef __STDOUT__ 751s # #define __STDOUT__ 751s # 751s # #include 751s # 751s # G_BEGIN_DECLS 751s # 751s # 751s # /* ------------------------------------------------------------------------ */ 751s # /* Declarations for org.project.UsefulInterface */ 751s # 751s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 751s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 751s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 751s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 751s # 751s # struct _OrgProjectUsefulInterface; 751s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 751s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 751s # 751s # struct _OrgProjectUsefulInterfaceIface 751s # { 751s # GTypeInterface parent_iface; 751s # 751s # gboolean (*handle_useful_method) ( 751s # OrgProjectUsefulInterface *object, 751s # GDBusMethodInvocation *invocation); 751s # 751s # }; 751s # 751s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 751s # 751s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 751s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 751s # 751s # 751s # /* D-Bus method call completion functions: */ 751s # void org_project_useful_interface_complete_useful_method ( 751s # OrgProjectUsefulInterface *object, 751s # GDBusMethodInvocation *invocation); 751s # 751s # 751s # 751s # /* D-Bus method calls: */ 751s # void org_project_useful_interface_call_useful_method ( 751s # OrgProjectUsefulInterface *proxy, 751s # GCancellable *cancellable, 751s # GAsyncReadyCallback callback, 751s # gpointer user_data); 751s # 751s # gboolean org_project_useful_interface_call_useful_method_finish ( 751s # OrgProjectUsefulInterface *proxy, 751s # GAsyncResult *res, 751s # GError **error); 751s # 751s # gboolean org_project_useful_interface_call_useful_method_sync ( 751s # OrgProjectUsefulInterface *proxy, 751s # GCancellable *cancellable, 751s # GError **error); 751s # 751s # 751s # 751s # /* ---- */ 751s # 751s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 751s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 751s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 751s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 751s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 751s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 751s # 751s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 751s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 751s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 751s # 751s # struct _OrgProjectUsefulInterfaceProxy 751s # { 751s # /*< private >*/ 751s # GDBusProxy parent_instance; 751s # OrgProjectUsefulInterfaceProxyPrivate *priv; 751s # }; 751s # 751s # struct _OrgProjectUsefulInterfaceProxyClass 751s # { 751s # GDBusProxyClass parent_class; 751s # }; 751s # 751s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 751s # 751s # #if GLIB_CHECK_VERSION(2, 44, 0) 751s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 751s # #endif 751s # 751s # void org_project_useful_interface_proxy_new ( 751s # GDBusConnection *connection, 751s # GDBusProxyFlags flags, 751s # const gchar *name, 751s # const gchar *object_path, 751s # GCancellable *cancellable, 751s # GAsyncReadyCallback callback, 751s # gpointer user_data); 751s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 751s # GAsyncResult *res, 751s # GError **error); 751s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 751s # GDBusConnection *connection, 751s # GDBusProxyFlags flags, 751s # const gchar *name, 751s # const gchar *object_path, 751s # GCancellable *cancellable, 751s # GError **error); 751s # 751s # void org_project_useful_interface_proxy_new_for_bus ( 751s # GBusType bus_type, 751s # GDBusProxyFlags flags, 751s # const gchar *name, 751s # const gchar *object_path, 751s # GCancellable *cancellable, 751s # GAsyncReadyCallback callback, 751s # gpointer user_data); 751s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 751s # GAsyncResult *res, 751s # GError **error); 751s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 751s # GBusType bus_type, 751s # GDBusProxyFlags flags, 751s # const gchar *name, 751s # const gchar *object_path, 751s # GCancellable *cancellable, 751s # GError **error); 751s # 751s # 751s # /* ---- */ 751s # 751s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 751s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 751s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 751s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 751s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 751s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 751s # 751s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 751s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 751s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 751s # 751s # struct _OrgProjectUsefulInterfaceSkeleton 751s # { 751s # /*< private >*/ 751s # GDBusInterfaceSkeleton parent_instance; 751s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 751s # }; 751s # 751s # struct _OrgProjectUsefulInterfaceSkeletonClass 751s # { 751s # GDBusInterfaceSkeletonClass parent_class; 751s # }; 751s # 751s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 751s # 751s # #if GLIB_CHECK_VERSION(2, 44, 0) 751s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 751s # #endif 751s # 751s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 751s # 751s # 751s # G_END_DECLS 751s # 751s # #endif /* __STDOUT__ */ 751s # Error: 751s # 751s # /tmp/tmpj787lsfs/tmpm1e40xyr.xml: 751s # 751s # 751s # 751s # 751s # 751s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj787lsfs/tmpm1e40xyr.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 751s # Return code: 0 751s # Output: 751s # /* 751s # * This file is generated by gdbus-codegen, do not modify it. 751s # * 751s # * The license of this code is the same as for the D-Bus interface description 751s # * it was derived from. Note that it links to GLib, so must comply with the 752s # * LGPL linking clauses. 752s # */ 752s # 752s # #ifndef __STDOUT__ 752s # #define __STDOUT__ 752s # 752s # #include 752s # 752s # G_BEGIN_DECLS 752s # 752s # 752s # /* ------------------------------------------------------------------------ */ 752s # /* Declarations for org.project.UsefulInterface */ 752s # 752s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 752s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 752s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 752s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 752s # 752s # struct _OrgProjectUsefulInterface; 752s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 752s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 752s # 752s # struct _OrgProjectUsefulInterfaceIface 752s # { 752s # GTypeInterface parent_iface; 752s # 752s # gboolean (*handle_useful_method) ( 752s # OrgProjectUsefulInterface *object, 752s # GDBusMethodInvocation *invocation); 752s # 752s # }; 752s # 752s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 752s # 752s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 752s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 752s # 752s # 752s # /* D-Bus method call completion functions: */ 752s # void org_project_useful_interface_complete_useful_method ( 752s # OrgProjectUsefulInterface *object, 752s # GDBusMethodInvocation *invocation); 752s # 752s # 752s # 752s # /* D-Bus method calls: */ 752s # void org_project_useful_interface_call_useful_method ( 752s # OrgProjectUsefulInterface *proxy, 752s # GDBusCallFlags call_flags, 752s # gint timeout_msec, 752s # GCancellable *cancellable, 752s # GAsyncReadyCallback callback, 752s # gpointer user_data); 752s # 752s # gboolean org_project_useful_interface_call_useful_method_finish ( 752s # OrgProjectUsefulInterface *proxy, 752s # GAsyncResult *res, 752s # GError **error); 752s # 752s # gboolean org_project_useful_interface_call_useful_method_sync ( 752s # OrgProjectUsefulInterface *proxy, 752s # GDBusCallFlags call_flags, 752s # gint timeout_msec, 752s # GCancellable *cancellable, 752s # GError **error); 752s # 752s # 752s # 752s # /* ---- */ 752s # 752s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 752s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 752s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 752s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 752s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 752s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 752s # 752s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 752s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 752s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 752s # 752s # struct _OrgProjectUsefulInterfaceProxy 752s # { 752s # /*< private >*/ 752s # GDBusProxy parent_instance; 752s # OrgProjectUsefulInterfaceProxyPrivate *priv; 752s # }; 752s # 752s # struct _OrgProjectUsefulInterfaceProxyClass 752s # { 752s # GDBusProxyClass parent_class; 752s # }; 752s # 752s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 752s # 752s # #if GLIB_CHECK_VERSION(2, 44, 0) 752s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 752s # #endif 752s # 752s # void org_project_useful_interface_proxy_new ( 752s # GDBusConnection *connection, 752s # GDBusProxyFlags flags, 752s # const gchar *name, 752s # const gchar *object_path, 752s # GCancellable *cancellable, 752s # GAsyncReadyCallback callback, 752s # gpointer user_data); 752s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 752s # GAsyncResult *res, 752s # GError **error); 752s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 752s # GDBusConnection *connection, 752s # GDBusProxyFlags flags, 752s # const gchar *name, 752s # const gchar *object_path, 752s # GCancellable *cancellable, 752s # GError **error); 752s # 752s # void org_project_useful_interface_proxy_new_for_bus ( 752s # GBusType bus_type, 752s # GDBusProxyFlags flags, 752s # const gchar *name, 752s # const gchar *object_path, 752s # GCancellable *cancellable, 752s # GAsyncReadyCallback callback, 752s # gpointer user_data); 752s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 752s # GAsyncResult *res, 752s # GError **error); 752s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 752s # GBusType bus_type, 752s # GDBusProxyFlags flags, 752s # const gchar *name, 752s # const gchar *object_path, 752s # GCancellable *cancellable, 752s # GError **error); 752s # 752s # 752s # /* ---- */ 752s # 752s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 752s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 752s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 752s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 752s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 752s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 752s # 752s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 752s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 752s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 752s # 752s # struct _OrgProjectUsefulInterfaceSkeleton 752s # { 752s # /*< private >*/ 752s # GDBusInterfaceSkeleton parent_instance; 752s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 752s # }; 752s # 752s # struct _OrgProjectUsefulInterfaceSkeletonClass 752s # { 752s # GDBusInterfaceSkeletonClass parent_class; 752s # }; 752s # 752s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 752s # 752s # #if GLIB_CHECK_VERSION(2, 44, 0) 752s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 752s # #endif 752s # 752s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 752s # 752s # 752s # G_END_DECLS 752s # 752s # #endif /* __STDOUT__ */ 752s # Error: 752s ok 2 __main__.TestCodegen.test_dbus_types 752s # gdbus-codegen: /usr/bin/gdbus-codegen 752s # tmpdir: /tmp/tmpp81wbf_m 752s # /tmp/tmpp81wbf_m/tmp2f82si3u.xml: 752s # 752s # 752s # 752s # 752s # 752s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp81wbf_m/tmp2f82si3u.xml', '--output', '-', '--body'] 752s # Return code: 1 752s # Output: 752s # 752s # Error: 752s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1. 752s # /tmp/tmpp81wbf_m/tmprioap7ud.xml: 752s # 752s # 752s # 752s # 752s # 752s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp81wbf_m/tmprioap7ud.xml', '--output', '-', '--body'] 752s # Return code: 1 752s # Output: 752s # 752s # Error: 752s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6. 752s # /tmp/tmpp81wbf_m/tmpd1qplelp.xml: 752s # 752s # 752s # 752s # 752s # 752s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp81wbf_m/tmpd1qplelp.xml', '--output', '-', '--body'] 752s # Return code: 1 752s # Output: 752s # 752s # Error: 752s # ERROR: Bad signature "{s". Error parsing string or brackets not closed. 752s # /tmp/tmpp81wbf_m/tmpw2lv648_.xml: 752s # 752s # 752s # 752s # 752s # 752s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp81wbf_m/tmpw2lv648_.xml', '--output', '-', '--body'] 752s # Return code: 1 752s # Output: 752s # 752s # Error: 752s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5. 752s # /tmp/tmpp81wbf_m/tmpxuis9xl0.xml: 752s # 752s # 752s # 752s # 752s # 752s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp81wbf_m/tmpxuis9xl0.xml', '--output', '-', '--body'] 752s # Return code: 1 752s # Output: 752s # 752s # Error: 752s # ERROR: Bad signature "z". "z" is not a valid D-Bus type. 752s # /tmp/tmpp81wbf_m/tmpjldqcru7.xml: 752s # 752s # 752s # 752s # 752s # 752s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp81wbf_m/tmpjldqcru7.xml', '--output', '-', '--body'] 752s # Return code: 1 752s # Output: 752s # 752s # Error: 752s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type. 752s # /tmp/tmpp81wbf_m/tmpvu_7p6qs.xml: 752s # 752s # 752s # 752s # 752s # 752s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp81wbf_m/tmpvu_7p6qs.xml', '--output', '-', '--body'] 752s # Return code: 1 752s # Output: 752s # 752s # Error: 752s # ERROR: Bad signature "(". Error parsing string or brackets not closed. 752s # /tmp/tmpp81wbf_m/tmpl0hq1xci.xml: 752s # 752s # 752s # 752s # 752s # 752s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp81wbf_m/tmpl0hq1xci.xml', '--output', '-', '--body'] 752s # Return code: 1 752s # Output: 752s # 752s # Error: 752s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed. 752s # /tmp/tmpp81wbf_m/tmps54zbbfj.xml: 752s # 752s # 752s # 752s # 752s # 752s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp81wbf_m/tmps54zbbfj.xml', '--output', '-', '--body'] 752s # Return code: 1 752s # Output: 752s # 752s # Error: 752s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129. 752s # /tmp/tmpp81wbf_m/tmpq6g6sphn.xml: 752s # 752s # 752s # 752s # 752s # 752s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp81wbf_m/tmpq6g6sphn.xml', '--output', '-', '--body'] 752s # Return code: 1 752s # Output: 752s # 752s # Error: 752s # ERROR: D-Bus maximum signature length of 255 exceeded. 752s # /tmp/tmpp81wbf_m/tmplfm2pxso.xml: 752s # 752s # 752s # 752s # 752s # 752s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp81wbf_m/tmplfm2pxso.xml', '--output', '-', '--body'] 752s # Return code: 1 752s # Output: 752s # 752s # Error: 752s # ERROR: D-Bus maximum signature length of 255 exceeded. 752s # /tmp/tmpp81wbf_m/tmp5fd0fndu.xml: 752s # 752s # 752s # 752s # 752s # 752s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp81wbf_m/tmp5fd0fndu.xml', '--output', '-', '--body'] 752s # Return code: 1 752s # Output: 752s # 752s # Error: 752s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129. 752s # /tmp/tmpp81wbf_m/tmp_73ut74h.xml: 752s # 752s # 752s # 752s # 752s # 752s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp81wbf_m/tmp_73ut74h.xml', '--output', '-', '--body'] 752s # Return code: 1 752s # Output: 752s # 752s # Error: 752s # ERROR: D-Bus maximum signature length of 255 exceeded. 752s # /tmp/tmpp81wbf_m/tmppzka3cii.xml: 752s # 752s # 752s # 752s # 752s # 752s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp81wbf_m/tmppzka3cii.xml', '--output', '-', '--body'] 752s # Return code: 0 752s # Output: 752s # /* 752s # * This file is generated by gdbus-codegen, do not modify it. 752s # * 752s # * The license of this code is the same as for the D-Bus interface description 752s # * it was derived from. Note that it links to GLib, so must comply with the 752s # * LGPL linking clauses. 752s # */ 752s # 752s # #ifdef HAVE_CONFIG_H 752s # # include "config.h" 752s # #endif 752s # 752s # #include 752s # #ifdef G_OS_UNIX 752s # # include 752s # #endif 752s # 752s # #ifdef G_ENABLE_DEBUG 752s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 752s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 752s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 752s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 752s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 752s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 752s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 752s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 752s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 752s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 752s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 752s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 752s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 752s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 752s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 752s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 752s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 752s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 752s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 752s # #else /* !G_ENABLE_DEBUG */ 752s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 752s # * Do not access GValues directly in your code. Instead, use the 752s # * g_value_get_*() functions 752s # */ 752s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 752s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 752s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 752s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 752s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 752s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 752s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 752s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 752s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 752s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 752s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 752s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 752s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 752s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 752s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 752s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 752s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 752s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 752s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 752s # #endif /* !G_ENABLE_DEBUG */ 752s # 752s # typedef struct 752s # { 752s # GDBusArgInfo parent_struct; 752s # gboolean use_gvariant; 752s # } _ExtendedGDBusArgInfo; 752s # 752s # typedef struct 752s # { 752s # GDBusMethodInfo parent_struct; 752s # const gchar *signal_name; 752s # gboolean pass_fdlist; 752s # } _ExtendedGDBusMethodInfo; 752s # 752s # typedef struct 752s # { 752s # GDBusSignalInfo parent_struct; 752s # const gchar *signal_name; 752s # } _ExtendedGDBusSignalInfo; 752s # 752s # typedef struct 752s # { 752s # GDBusPropertyInfo parent_struct; 752s # const gchar *hyphen_name; 752s # guint use_gvariant : 1; 752s # guint emits_changed_signal : 1; 752s # } _ExtendedGDBusPropertyInfo; 752s # 752s # typedef struct 752s # { 752s # GDBusInterfaceInfo parent_struct; 752s # const gchar *hyphen_name; 752s # } _ExtendedGDBusInterfaceInfo; 752s # 752s # typedef struct 752s # { 752s # const _ExtendedGDBusPropertyInfo *info; 752s # guint prop_id; 752s # GValue orig_value; /* the value before the change */ 752s # } ChangedProperty; 752s # 752s # static void 752s # _changed_property_free (ChangedProperty *data) 752s # { 752s # g_value_unset (&data->orig_value); 752s # g_free (data); 752s # } 752s # 752s # static gboolean 752s # _g_strv_equal0 (gchar **a, gchar **b) 752s # { 752s # gboolean ret = FALSE; 752s # guint n; 752s # if (a == NULL && b == NULL) 752s # { 752s # ret = TRUE; 752s # goto out; 752s # } 752s # if (a == NULL || b == NULL) 752s # goto out; 752s # if (g_strv_length (a) != g_strv_length (b)) 752s # goto out; 752s # for (n = 0; a[n] != NULL; n++) 752s # if (g_strcmp0 (a[n], b[n]) != 0) 752s # goto out; 752s # ret = TRUE; 752s # out: 752s # return ret; 752s # } 752s # 752s # static gboolean 752s # _g_variant_equal0 (GVariant *a, GVariant *b) 752s # { 752s # gboolean ret = FALSE; 752s # if (a == NULL && b == NULL) 752s # { 752s # ret = TRUE; 752s # goto out; 752s # } 752s # if (a == NULL || b == NULL) 752s # goto out; 752s # ret = g_variant_equal (a, b); 752s # out: 752s # return ret; 752s # } 752s # 752s # G_GNUC_UNUSED static gboolean 752s # _g_value_equal (const GValue *a, const GValue *b) 752s # { 752s # gboolean ret = FALSE; 752s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 752s # switch (G_VALUE_TYPE (a)) 752s # { 752s # case G_TYPE_BOOLEAN: 752s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 752s # break; 752s # case G_TYPE_UCHAR: 752s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 752s # break; 752s # case G_TYPE_INT: 752s # ret = (g_value_get_int (a) == g_value_get_int (b)); 752s # break; 752s # case G_TYPE_UINT: 752s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 752s # break; 752s # case G_TYPE_INT64: 752s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 752s # break; 752s # case G_TYPE_UINT64: 752s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 752s # break; 752s # case G_TYPE_DOUBLE: 752s # { 752s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 752s # gdouble da = g_value_get_double (a); 752s # gdouble db = g_value_get_double (b); 752s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 752s # } 752s # break; 752s # case G_TYPE_STRING: 752s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 752s # break; 752s # case G_TYPE_VARIANT: 752s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 752s # break; 752s # default: 752s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 752s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 752s # else 752s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 752s # break; 752s # } 752s # return ret; 752s # } 752s # 752s # /* ------------------------------------------------------------------------ 752s # * Code for interface GoodTypes 752s # * ------------------------------------------------------------------------ 752s # */ 752s # 752s # /** 752s # * SECTION:GoodTypes 752s # * @title: GoodTypes 752s # * @short_description: Generated C code for the GoodTypes D-Bus interface 752s # * 752s # * This section contains code for working with the GoodTypes D-Bus interface in C. 752s # */ 752s # 752s # /* ---- Introspection data for GoodTypes ---- */ 752s # 752s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 752s # { 752s # { 752s # -1, 752s # (gchar *) "GoodPropertyType", 752s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 752s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 752s # NULL 752s # }, 752s # "good-property-type", 752s # FALSE, 752s # TRUE 752s # }; 752s # 752s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 752s # { 752s # &_good_types_property_info_good_property_type.parent_struct, 752s # NULL 752s # }; 752s # 752s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 752s # { 752s # { 752s # -1, 752s # (gchar *) "GoodTypes", 752s # NULL, 752s # NULL, 752s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 752s # NULL 752s # }, 752s # "good-types", 752s # }; 752s # 752s # 752s # /** 752s # * good_types_interface_info: 752s # * 752s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 752s # * 752s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 752s # */ 752s # GDBusInterfaceInfo * 752s # good_types_interface_info (void) 752s # { 752s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 752s # } 752s # 752s # /** 752s # * good_types_override_properties: 752s # * @klass: The class structure for a #GObject derived class. 752s # * @property_id_begin: The property id to assign to the first overridden property. 752s # * 752s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 752s # * The properties are overridden in the order they are defined. 752s # * 752s # * Returns: The last property id. 752s # */ 752s # guint 752s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 752s # { 752s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 752s # return property_id_begin - 1; 752s # } 752s # 752s # 752s # 752s # /** 752s # * GoodTypes: 752s # * 752s # * Abstract interface type for the D-Bus interface GoodTypes. 752s # */ 752s # 752s # /** 752s # * GoodTypesIface: 752s # * @parent_iface: The parent interface. 752s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 752s # * 752s # * Virtual table for the D-Bus interface GoodTypes. 752s # */ 752s # 752s # typedef GoodTypesIface GoodTypesInterface; 752s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 752s # 752s # static void 752s # good_types_default_init (GoodTypesIface *iface) 752s # { 752s # /* GObject properties for D-Bus properties: */ 752s # /** 752s # * GoodTypes:good-property-type: 752s # * 752s # * Represents the D-Bus property "GoodPropertyType". 752s # * 752s # * 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. 752s # */ 752s # g_object_interface_install_property (iface, 752s # 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)); 752s # } 752s # 752s # /** 752s # * good_types_get_good_property_type: (skip) 752s # * @object: A GoodTypes. 752s # * 752s # * Gets the value of the "GoodPropertyType" D-Bus property. 752s # * 752s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 752s # * 752s # * 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. 752s # * 752s # * 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. 752s # */ 752s # GVariant * 752s # good_types_get_good_property_type (GoodTypes *object) 752s # { 752s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 752s # 752s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 752s # } 752s # 752s # /** 752s # * good_types_dup_good_property_type: (skip) 752s # * @object: A GoodTypes. 752s # * 752s # * Gets a copy of the "GoodPropertyType" D-Bus property. 752s # * 752s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 752s # * 752s # * 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(). 752s # */ 752s # GVariant * 752s # good_types_dup_good_property_type (GoodTypes *object) 752s # { 752s # GVariant *value; 752s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 752s # return value; 752s # } 752s # 752s # /** 752s # * good_types_set_good_property_type: (skip) 752s # * @object: A GoodTypes. 752s # * @value: The value to set. 752s # * 752s # * Sets the "GoodPropertyType" D-Bus property to @value. 752s # * 752s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 752s # */ 752s # void 752s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 752s # { 752s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 752s # } 752s # 752s # /* ------------------------------------------------------------------------ */ 752s # 752s # /** 752s # * GoodTypesProxy: 752s # * 752s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 752s # */ 752s # 752s # /** 752s # * GoodTypesProxyClass: 752s # * @parent_class: The parent class. 752s # * 752s # * Class structure for GoodTypesProxy. 752s # */ 752s # 752s # struct _GoodTypesProxyPrivate 752s # { 752s # GData *qdata; 752s # }; 752s # 752s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 752s # 752s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 752s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 752s # G_ADD_PRIVATE (GoodTypesProxy) 752s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 752s # 752s # #else 752s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 752s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 752s # 752s # #endif 752s # static void 752s # good_types_proxy_finalize (GObject *object) 752s # { 752s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 752s # g_datalist_clear (&proxy->priv->qdata); 752s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 752s # } 752s # 752s # static void 752s # good_types_proxy_get_property (GObject *object, 752s # guint prop_id, 752s # GValue *value, 752s # GParamSpec *pspec G_GNUC_UNUSED) 752s # { 752s # const _ExtendedGDBusPropertyInfo *info; 752s # GVariant *variant; 752s # g_assert (prop_id != 0 && prop_id - 1 < 1); 752s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 752s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 752s # if (info->use_gvariant) 752s # { 752s # g_value_set_variant (value, variant); 752s # } 752s # else 752s # { 752s # if (variant != NULL) 752s # g_dbus_gvariant_to_gvalue (variant, value); 752s # } 752s # if (variant != NULL) 752s # g_variant_unref (variant); 752s # } 752s # 752s # static void 752s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 752s # GAsyncResult *res, 752s # gpointer user_data) 752s # { 752s # const _ExtendedGDBusPropertyInfo *info = user_data; 752s # GError *error; 752s # GVariant *_ret; 752s # error = NULL; 752s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 752s # if (!_ret) 752s # { 752s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 752s # info->parent_struct.name, 752s # error->message, g_quark_to_string (error->domain), error->code); 752s # g_error_free (error); 752s # } 752s # else 752s # { 752s # g_variant_unref (_ret); 752s # } 752s # } 752s # 752s # static void 752s # good_types_proxy_set_property (GObject *object, 752s # guint prop_id, 752s # const GValue *value, 752s # GParamSpec *pspec G_GNUC_UNUSED) 752s # { 752s # const _ExtendedGDBusPropertyInfo *info; 752s # GVariant *variant; 752s # g_assert (prop_id != 0 && prop_id - 1 < 1); 752s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 752s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 752s # g_dbus_proxy_call (G_DBUS_PROXY (object), 752s # "org.freedesktop.DBus.Properties.Set", 752s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 752s # G_DBUS_CALL_FLAGS_NONE, 752s # -1, 752s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 752s # g_variant_unref (variant); 752s # } 752s # 752s # static void 752s # good_types_proxy_g_signal (GDBusProxy *proxy, 752s # const gchar *sender_name G_GNUC_UNUSED, 752s # const gchar *signal_name, 752s # GVariant *parameters) 752s # { 752s # _ExtendedGDBusSignalInfo *info; 752s # GVariantIter iter; 752s # GVariant *child; 752s # GValue *paramv; 752s # gsize num_params; 752s # gsize n; 752s # guint signal_id; 752s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 752s # if (info == NULL) 752s # return; 752s # num_params = g_variant_n_children (parameters); 752s # paramv = g_new0 (GValue, num_params + 1); 752s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 752s # g_value_set_object (¶mv[0], proxy); 752s # g_variant_iter_init (&iter, parameters); 752s # n = 1; 752s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 752s # { 752s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 752s # if (arg_info->use_gvariant) 752s # { 752s # g_value_init (¶mv[n], G_TYPE_VARIANT); 752s # g_value_set_variant (¶mv[n], child); 752s # n++; 752s # } 752s # else 752s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 752s # g_variant_unref (child); 752s # } 752s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 752s # g_signal_emitv (paramv, signal_id, 0, NULL); 752s # for (n = 0; n < num_params + 1; n++) 752s # g_value_unset (¶mv[n]); 752s # g_free (paramv); 752s # } 752s # 752s # static void 752s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 752s # GVariant *changed_properties, 752s # const gchar *const *invalidated_properties) 752s # { 752s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 752s # guint n; 752s # const gchar *key; 752s # GVariantIter *iter; 752s # _ExtendedGDBusPropertyInfo *info; 752s # g_variant_get (changed_properties, "a{sv}", &iter); 752s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 752s # { 752s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 752s # g_datalist_remove_data (&proxy->priv->qdata, key); 752s # if (info != NULL) 752s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 752s # } 752s # g_variant_iter_free (iter); 752s # for (n = 0; invalidated_properties[n] != NULL; n++) 752s # { 752s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 752s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 752s # if (info != NULL) 752s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 752s # } 752s # } 752s # 752s # static GVariant * 752s # good_types_proxy_get_good_property_type (GoodTypes *object) 752s # { 752s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 752s # GVariant *variant; 752s # GVariant *value = NULL; 752s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 752s # value = variant; 752s # if (variant != NULL) 752s # g_variant_unref (variant); 752s # return value; 752s # } 752s # 752s # static void 752s # good_types_proxy_init (GoodTypesProxy *proxy) 752s # { 752s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 752s # proxy->priv = good_types_proxy_get_instance_private (proxy); 752s # #else 752s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 752s # #endif 752s # 752s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 752s # } 752s # 752s # static void 752s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 752s # { 752s # GObjectClass *gobject_class; 752s # GDBusProxyClass *proxy_class; 752s # 752s # gobject_class = G_OBJECT_CLASS (klass); 752s # gobject_class->finalize = good_types_proxy_finalize; 752s # gobject_class->get_property = good_types_proxy_get_property; 752s # gobject_class->set_property = good_types_proxy_set_property; 752s # 752s # proxy_class = G_DBUS_PROXY_CLASS (klass); 752s # proxy_class->g_signal = good_types_proxy_g_signal; 752s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 752s # 752s # good_types_override_properties (gobject_class, 1); 752s # 752s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 752s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 752s # #endif 752s # } 752s # 752s # static void 752s # good_types_proxy_iface_init (GoodTypesIface *iface) 752s # { 752s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 752s # } 752s # 752s # /** 752s # * good_types_proxy_new: 752s # * @connection: A #GDBusConnection. 752s # * @flags: Flags from the #GDBusProxyFlags enumeration. 752s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 752s # * @object_path: An object path. 752s # * @cancellable: (nullable): A #GCancellable or %NULL. 752s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 752s # * @user_data: User data to pass to @callback. 752s # * 752s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 752s # * 752s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 752s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 752s # * 752s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 752s # */ 752s # void 752s # good_types_proxy_new ( 752s # GDBusConnection *connection, 752s # GDBusProxyFlags flags, 752s # const gchar *name, 752s # const gchar *object_path, 752s # GCancellable *cancellable, 752s # GAsyncReadyCallback callback, 752s # gpointer user_data) 752s # { 752s # 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); 752s # } 752s # 752s # /** 752s # * good_types_proxy_new_finish: 752s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 752s # * @error: Return location for error or %NULL 752s # * 752s # * Finishes an operation started with good_types_proxy_new(). 752s # * 752s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 752s # */ 752s # GoodTypes * 752s # good_types_proxy_new_finish ( 752s # GAsyncResult *res, 752s # GError **error) 752s # { 752s # GObject *ret; 752s # GObject *source_object; 752s # source_object = g_async_result_get_source_object (res); 752s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 752s # g_object_unref (source_object); 752s # if (ret != NULL) 752s # return GOOD_TYPES (ret); 752s # else 752s # return NULL; 752s # } 752s # 752s # /** 752s # * good_types_proxy_new_sync: 752s # * @connection: A #GDBusConnection. 752s # * @flags: Flags from the #GDBusProxyFlags enumeration. 752s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 752s # * @object_path: An object path. 752s # * @cancellable: (nullable): A #GCancellable or %NULL. 752s # * @error: Return location for error or %NULL 752s # * 752s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 752s # * 752s # * The calling thread is blocked until a reply is received. 752s # * 752s # * See good_types_proxy_new() for the asynchronous version of this constructor. 752s # * 752s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 752s # */ 752s # GoodTypes * 752s # good_types_proxy_new_sync ( 752s # GDBusConnection *connection, 752s # GDBusProxyFlags flags, 752s # const gchar *name, 752s # const gchar *object_path, 752s # GCancellable *cancellable, 752s # GError **error) 752s # { 752s # GInitable *ret; 752s # 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); 752s # if (ret != NULL) 752s # return GOOD_TYPES (ret); 752s # else 752s # return NULL; 752s # } 752s # 752s # 752s # /** 752s # * good_types_proxy_new_for_bus: 752s # * @bus_type: A #GBusType. 752s # * @flags: Flags from the #GDBusProxyFlags enumeration. 752s # * @name: A bus name (well-known or unique). 752s # * @object_path: An object path. 752s # * @cancellable: (nullable): A #GCancellable or %NULL. 752s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 752s # * @user_data: User data to pass to @callback. 752s # * 752s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 752s # * 752s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 752s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 752s # * 752s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 752s # */ 752s # void 752s # good_types_proxy_new_for_bus ( 752s # GBusType bus_type, 752s # GDBusProxyFlags flags, 752s # const gchar *name, 752s # const gchar *object_path, 752s # GCancellable *cancellable, 752s # GAsyncReadyCallback callback, 752s # gpointer user_data) 752s # { 752s # 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); 752s # } 752s # 752s # /** 752s # * good_types_proxy_new_for_bus_finish: 752s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 752s # * @error: Return location for error or %NULL 752s # * 752s # * Finishes an operation started with good_types_proxy_new_for_bus(). 752s # * 752s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 752s # */ 752s # GoodTypes * 752s # good_types_proxy_new_for_bus_finish ( 752s # GAsyncResult *res, 752s # GError **error) 752s # { 752s # GObject *ret; 752s # GObject *source_object; 752s # source_object = g_async_result_get_source_object (res); 752s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 752s # g_object_unref (source_object); 752s # if (ret != NULL) 752s # return GOOD_TYPES (ret); 752s # else 752s # return NULL; 752s # } 752s # 752s # /** 752s # * good_types_proxy_new_for_bus_sync: 752s # * @bus_type: A #GBusType. 752s # * @flags: Flags from the #GDBusProxyFlags enumeration. 752s # * @name: A bus name (well-known or unique). 752s # * @object_path: An object path. 752s # * @cancellable: (nullable): A #GCancellable or %NULL. 752s # * @error: Return location for error or %NULL 752s # * 752s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 752s # * 752s # * The calling thread is blocked until a reply is received. 752s # * 752s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 752s # * 752s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 752s # */ 752s # GoodTypes * 752s # good_types_proxy_new_for_bus_sync ( 752s # GBusType bus_type, 752s # GDBusProxyFlags flags, 752s # const gchar *name, 752s # const gchar *object_path, 752s # GCancellable *cancellable, 752s # GError **error) 752s # { 752s # GInitable *ret; 752s # 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); 752s # if (ret != NULL) 752s # return GOOD_TYPES (ret); 752s # else 752s # return NULL; 752s # } 752s # 752s # 752s # /* ------------------------------------------------------------------------ */ 752s # 752s # /** 752s # * GoodTypesSkeleton: 752s # * 752s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 752s # */ 752s # 752s # /** 752s # * GoodTypesSkeletonClass: 752s # * @parent_class: The parent class. 752s # * 752s # * Class structure for GoodTypesSkeleton. 752s # */ 752s # 752s # struct _GoodTypesSkeletonPrivate 752s # { 752s # GValue *properties; 752s # GList *changed_properties; 752s # GSource *changed_properties_idle_source; 752s # GMainContext *context; 752s # GMutex lock; 752s # }; 752s # 752s # static void 752s # _good_types_skeleton_handle_method_call ( 752s # GDBusConnection *connection G_GNUC_UNUSED, 752s # const gchar *sender G_GNUC_UNUSED, 752s # const gchar *object_path G_GNUC_UNUSED, 752s # const gchar *interface_name, 752s # const gchar *method_name, 752s # GVariant *parameters, 752s # GDBusMethodInvocation *invocation, 752s # gpointer user_data) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 752s # _ExtendedGDBusMethodInfo *info; 752s # GVariantIter iter; 752s # GVariant *child; 752s # GValue *paramv; 752s # gsize num_params; 752s # guint num_extra; 752s # gsize n; 752s # guint signal_id; 752s # GValue return_value = G_VALUE_INIT; 752s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 752s # g_assert (info != NULL); 752s # num_params = g_variant_n_children (parameters); 752s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 752s # n = 0; 752s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 752s # g_value_set_object (¶mv[n++], skeleton); 752s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 752s # g_value_set_object (¶mv[n++], invocation); 752s # if (info->pass_fdlist) 752s # { 752s # #ifdef G_OS_UNIX 752s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 752s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 752s # #else 752s # g_assert_not_reached (); 752s # #endif 752s # } 752s # g_variant_iter_init (&iter, parameters); 752s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 752s # { 752s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 752s # if (arg_info->use_gvariant) 752s # { 752s # g_value_init (¶mv[n], G_TYPE_VARIANT); 752s # g_value_set_variant (¶mv[n], child); 752s # n++; 752s # } 752s # else 752s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 752s # g_variant_unref (child); 752s # } 752s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 752s # g_value_init (&return_value, G_TYPE_BOOLEAN); 752s # g_signal_emitv (paramv, signal_id, 0, &return_value); 752s # if (!g_value_get_boolean (&return_value)) 752s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 752s # g_value_unset (&return_value); 752s # for (n = 0; n < num_params + num_extra; n++) 752s # g_value_unset (¶mv[n]); 752s # g_free (paramv); 752s # } 752s # 752s # static GVariant * 752s # _good_types_skeleton_handle_get_property ( 752s # GDBusConnection *connection G_GNUC_UNUSED, 752s # const gchar *sender G_GNUC_UNUSED, 752s # const gchar *object_path G_GNUC_UNUSED, 752s # const gchar *interface_name G_GNUC_UNUSED, 752s # const gchar *property_name, 752s # GError **error, 752s # gpointer user_data) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 752s # GValue value = G_VALUE_INIT; 752s # GParamSpec *pspec; 752s # _ExtendedGDBusPropertyInfo *info; 752s # GVariant *ret; 752s # ret = NULL; 752s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 752s # g_assert (info != NULL); 752s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 752s # if (pspec == NULL) 752s # { 752s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 752s # } 752s # else 752s # { 752s # g_value_init (&value, pspec->value_type); 752s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 752s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 752s # g_value_unset (&value); 752s # } 752s # return ret; 752s # } 752s # 752s # static gboolean 752s # _good_types_skeleton_handle_set_property ( 752s # GDBusConnection *connection G_GNUC_UNUSED, 752s # const gchar *sender G_GNUC_UNUSED, 752s # const gchar *object_path G_GNUC_UNUSED, 752s # const gchar *interface_name G_GNUC_UNUSED, 752s # const gchar *property_name, 752s # GVariant *variant, 752s # GError **error, 752s # gpointer user_data) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 752s # GValue value = G_VALUE_INIT; 752s # GParamSpec *pspec; 752s # _ExtendedGDBusPropertyInfo *info; 752s # gboolean ret; 752s # ret = FALSE; 752s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 752s # g_assert (info != NULL); 752s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 752s # if (pspec == NULL) 752s # { 752s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 752s # } 752s # else 752s # { 752s # if (info->use_gvariant) 752s # g_value_set_variant (&value, variant); 752s # else 752s # g_dbus_gvariant_to_gvalue (variant, &value); 752s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 752s # g_value_unset (&value); 752s # ret = TRUE; 752s # } 752s # return ret; 752s # } 752s # 752s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 752s # { 752s # _good_types_skeleton_handle_method_call, 752s # _good_types_skeleton_handle_get_property, 752s # _good_types_skeleton_handle_set_property, 752s # {NULL} 752s # }; 752s # 752s # static GDBusInterfaceInfo * 752s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 752s # { 752s # return good_types_interface_info (); 752s # } 752s # 752s # static GDBusInterfaceVTable * 752s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 752s # { 752s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 752s # } 752s # 752s # static GVariant * 752s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 752s # 752s # GVariantBuilder builder; 752s # guint n; 752s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 752s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 752s # #else 752s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 752s # #endif 752s # if (_good_types_interface_info.parent_struct.properties == NULL) 752s # goto out; 752s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 752s # { 752s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 752s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 752s # { 752s # GVariant *value; 752s # 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); 752s # if (value != NULL) 752s # { 752s # g_variant_take_ref (value); 752s # g_variant_builder_add (&builder, "{sv}", info->name, value); 752s # g_variant_unref (value); 752s # } 752s # } 752s # } 752s # out: 752s # return g_variant_builder_end (&builder); 752s # } 752s # 752s # static gboolean _good_types_emit_changed (gpointer user_data); 752s # 752s # static void 752s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 752s # gboolean emit_changed = FALSE; 752s # 752s # g_mutex_lock (&skeleton->priv->lock); 752s # if (skeleton->priv->changed_properties_idle_source != NULL) 752s # { 752s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 752s # skeleton->priv->changed_properties_idle_source = NULL; 752s # emit_changed = TRUE; 752s # } 752s # g_mutex_unlock (&skeleton->priv->lock); 752s # 752s # if (emit_changed) 752s # _good_types_emit_changed (skeleton); 752s # } 752s # 752s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 752s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 752s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 752s # G_ADD_PRIVATE (GoodTypesSkeleton) 752s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 752s # 752s # #else 752s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 752s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 752s # 752s # #endif 752s # static void 752s # good_types_skeleton_finalize (GObject *object) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 752s # guint n; 752s # for (n = 0; n < 1; n++) 752s # g_value_unset (&skeleton->priv->properties[n]); 752s # g_free (skeleton->priv->properties); 752s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 752s # if (skeleton->priv->changed_properties_idle_source != NULL) 752s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 752s # g_main_context_unref (skeleton->priv->context); 752s # g_mutex_clear (&skeleton->priv->lock); 752s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 752s # } 752s # 752s # static void 752s # good_types_skeleton_get_property (GObject *object, 752s # guint prop_id, 752s # GValue *value, 752s # GParamSpec *pspec G_GNUC_UNUSED) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 752s # g_assert (prop_id != 0 && prop_id - 1 < 1); 752s # g_mutex_lock (&skeleton->priv->lock); 752s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 752s # g_mutex_unlock (&skeleton->priv->lock); 752s # } 752s # 752s # static gboolean 752s # _good_types_emit_changed (gpointer user_data) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 752s # GList *l; 752s # GVariantBuilder builder; 752s # GVariantBuilder invalidated_builder; 752s # guint num_changes; 752s # 752s # g_mutex_lock (&skeleton->priv->lock); 752s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 752s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 752s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 752s # #else 752s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 752s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 752s # #endif 752s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 752s # { 752s # ChangedProperty *cp = l->data; 752s # GVariant *variant; 752s # const GValue *cur_value; 752s # 752s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 752s # if (!_g_value_equal (cur_value, &cp->orig_value)) 752s # { 752s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 752s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 752s # g_variant_unref (variant); 752s # num_changes++; 752s # } 752s # } 752s # if (num_changes > 0) 752s # { 752s # GList *connections, *ll; 752s # GVariant *signal_variant; 752s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 752s # &builder, &invalidated_builder)); 752s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 752s # for (ll = connections; ll != NULL; ll = ll->next) 752s # { 752s # GDBusConnection *connection = ll->data; 752s # 752s # g_dbus_connection_emit_signal (connection, 752s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 752s # "org.freedesktop.DBus.Properties", 752s # "PropertiesChanged", 752s # signal_variant, 752s # NULL); 752s # } 752s # g_variant_unref (signal_variant); 752s # g_list_free_full (connections, g_object_unref); 752s # } 752s # else 752s # { 752s # g_variant_builder_clear (&builder); 752s # g_variant_builder_clear (&invalidated_builder); 752s # } 752s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 752s # skeleton->priv->changed_properties = NULL; 752s # skeleton->priv->changed_properties_idle_source = NULL; 752s # g_mutex_unlock (&skeleton->priv->lock); 752s # return FALSE; 752s # } 752s # 752s # static void 752s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 752s # { 752s # ChangedProperty *cp; 752s # GList *l; 752s # cp = NULL; 752s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 752s # { 752s # ChangedProperty *i_cp = l->data; 752s # if (i_cp->info == info) 752s # { 752s # cp = i_cp; 752s # break; 752s # } 752s # } 752s # if (cp == NULL) 752s # { 752s # cp = g_new0 (ChangedProperty, 1); 752s # cp->prop_id = prop_id; 752s # cp->info = info; 752s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 752s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 752s # g_value_copy (orig_value, &cp->orig_value); 752s # } 752s # } 752s # 752s # static void 752s # good_types_skeleton_notify (GObject *object, 752s # GParamSpec *pspec G_GNUC_UNUSED) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 752s # g_mutex_lock (&skeleton->priv->lock); 752s # if (skeleton->priv->changed_properties != NULL && 752s # skeleton->priv->changed_properties_idle_source == NULL) 752s # { 752s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 752s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 752s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 752s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 752s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 752s # g_source_unref (skeleton->priv->changed_properties_idle_source); 752s # } 752s # g_mutex_unlock (&skeleton->priv->lock); 752s # } 752s # 752s # static void 752s # good_types_skeleton_set_property (GObject *object, 752s # guint prop_id, 752s # const GValue *value, 752s # GParamSpec *pspec) 752s # { 752s # const _ExtendedGDBusPropertyInfo *info; 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 752s # g_assert (prop_id != 0 && prop_id - 1 < 1); 752s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 752s # g_mutex_lock (&skeleton->priv->lock); 752s # g_object_freeze_notify (object); 752s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 752s # { 752s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 752s # info->emits_changed_signal) 752s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 752s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 752s # g_object_notify_by_pspec (object, pspec); 752s # } 752s # g_mutex_unlock (&skeleton->priv->lock); 752s # g_object_thaw_notify (object); 752s # } 752s # 752s # static void 752s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 752s # { 752s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 752s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 752s # #else 752s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 752s # #endif 752s # 752s # g_mutex_init (&skeleton->priv->lock); 752s # skeleton->priv->context = g_main_context_ref_thread_default (); 752s # skeleton->priv->properties = g_new0 (GValue, 1); 752s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 752s # } 752s # 752s # static GVariant * 752s # good_types_skeleton_get_good_property_type (GoodTypes *object) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 752s # GVariant *value; 752s # g_mutex_lock (&skeleton->priv->lock); 752s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 752s # g_mutex_unlock (&skeleton->priv->lock); 752s # return value; 752s # } 752s # 752s # static void 752s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 752s # { 752s # GObjectClass *gobject_class; 752s # GDBusInterfaceSkeletonClass *skeleton_class; 752s # 752s # gobject_class = G_OBJECT_CLASS (klass); 752s # gobject_class->finalize = good_types_skeleton_finalize; 752s # gobject_class->get_property = good_types_skeleton_get_property; 752s # gobject_class->set_property = good_types_skeleton_set_property; 752s # gobject_class->notify = good_types_skeleton_notify; 752s # 752s # 752s # good_types_override_properties (gobject_class, 1); 752s # 752s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 752s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 752s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 752s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 752s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 752s # 752s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 752s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 752s # #endif 752s # } 752s # 752s # static void 752s # good_types_skeleton_iface_init (GoodTypesIface *iface) 752s # { 752s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 752s # } 752s # 752s # /** 752s # * good_types_skeleton_new: 752s # * 752s # * Creates a skeleton object for the D-Bus interface GoodTypes. 752s # * 752s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 752s # */ 752s # GoodTypes * 752s # good_types_skeleton_new (void) 752s # { 752s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 752s # } 752s # Error: 752s # 752s # /tmp/tmpp81wbf_m/tmpaswieb2h.xml: 752s # 752s # 752s # 752s # 752s # 752s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp81wbf_m/tmpaswieb2h.xml', '--output', '-', '--body'] 752s # Return code: 0 752s # Output: 752s # /* 752s # * This file is generated by gdbus-codegen, do not modify it. 752s # * 752s # * The license of this code is the same as for the D-Bus interface description 752s # * it was derived from. Note that it links to GLib, so must comply with the 752s # * LGPL linking clauses. 752s # */ 752s # 752s # #ifdef HAVE_CONFIG_H 752s # # include "config.h" 752s # #endif 752s # 752s # #include 752s # #ifdef G_OS_UNIX 752s # # include 752s # #endif 752s # 752s # #ifdef G_ENABLE_DEBUG 752s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 752s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 752s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 752s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 752s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 752s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 752s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 752s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 752s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 752s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 752s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 752s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 752s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 752s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 752s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 752s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 752s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 752s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 752s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 752s # #else /* !G_ENABLE_DEBUG */ 752s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 752s # * Do not access GValues directly in your code. Instead, use the 752s # * g_value_get_*() functions 752s # */ 752s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 752s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 752s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 752s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 752s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 752s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 752s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 752s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 752s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 752s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 752s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 752s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 752s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 752s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 752s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 752s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 752s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 752s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 752s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 752s # #endif /* !G_ENABLE_DEBUG */ 752s # 752s # typedef struct 752s # { 752s # GDBusArgInfo parent_struct; 752s # gboolean use_gvariant; 752s # } _ExtendedGDBusArgInfo; 752s # 752s # typedef struct 752s # { 752s # GDBusMethodInfo parent_struct; 752s # const gchar *signal_name; 752s # gboolean pass_fdlist; 752s # } _ExtendedGDBusMethodInfo; 752s # 752s # typedef struct 752s # { 752s # GDBusSignalInfo parent_struct; 752s # const gchar *signal_name; 752s # } _ExtendedGDBusSignalInfo; 752s # 752s # typedef struct 752s # { 752s # GDBusPropertyInfo parent_struct; 752s # const gchar *hyphen_name; 752s # guint use_gvariant : 1; 752s # guint emits_changed_signal : 1; 752s # } _ExtendedGDBusPropertyInfo; 752s # 752s # typedef struct 752s # { 752s # GDBusInterfaceInfo parent_struct; 752s # const gchar *hyphen_name; 752s # } _ExtendedGDBusInterfaceInfo; 752s # 752s # typedef struct 752s # { 752s # const _ExtendedGDBusPropertyInfo *info; 752s # guint prop_id; 752s # GValue orig_value; /* the value before the change */ 752s # } ChangedProperty; 752s # 752s # static void 752s # _changed_property_free (ChangedProperty *data) 752s # { 752s # g_value_unset (&data->orig_value); 752s # g_free (data); 752s # } 752s # 752s # static gboolean 752s # _g_strv_equal0 (gchar **a, gchar **b) 752s # { 752s # gboolean ret = FALSE; 752s # guint n; 752s # if (a == NULL && b == NULL) 752s # { 752s # ret = TRUE; 752s # goto out; 752s # } 752s # if (a == NULL || b == NULL) 752s # goto out; 752s # if (g_strv_length (a) != g_strv_length (b)) 752s # goto out; 752s # for (n = 0; a[n] != NULL; n++) 752s # if (g_strcmp0 (a[n], b[n]) != 0) 752s # goto out; 752s # ret = TRUE; 752s # out: 752s # return ret; 752s # } 752s # 752s # static gboolean 752s # _g_variant_equal0 (GVariant *a, GVariant *b) 752s # { 752s # gboolean ret = FALSE; 752s # if (a == NULL && b == NULL) 752s # { 752s # ret = TRUE; 752s # goto out; 752s # } 752s # if (a == NULL || b == NULL) 752s # goto out; 752s # ret = g_variant_equal (a, b); 752s # out: 752s # return ret; 752s # } 752s # 752s # G_GNUC_UNUSED static gboolean 752s # _g_value_equal (const GValue *a, const GValue *b) 752s # { 752s # gboolean ret = FALSE; 752s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 752s # switch (G_VALUE_TYPE (a)) 752s # { 752s # case G_TYPE_BOOLEAN: 752s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 752s # break; 752s # case G_TYPE_UCHAR: 752s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 752s # break; 752s # case G_TYPE_INT: 752s # ret = (g_value_get_int (a) == g_value_get_int (b)); 752s # break; 752s # case G_TYPE_UINT: 752s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 752s # break; 752s # case G_TYPE_INT64: 752s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 752s # break; 752s # case G_TYPE_UINT64: 752s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 752s # break; 752s # case G_TYPE_DOUBLE: 752s # { 752s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 752s # gdouble da = g_value_get_double (a); 752s # gdouble db = g_value_get_double (b); 752s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 752s # } 752s # break; 752s # case G_TYPE_STRING: 752s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 752s # break; 752s # case G_TYPE_VARIANT: 752s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 752s # break; 752s # default: 752s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 752s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 752s # else 752s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 752s # break; 752s # } 752s # return ret; 752s # } 752s # 752s # /* ------------------------------------------------------------------------ 752s # * Code for interface GoodTypes 752s # * ------------------------------------------------------------------------ 752s # */ 752s # 752s # /** 752s # * SECTION:GoodTypes 752s # * @title: GoodTypes 752s # * @short_description: Generated C code for the GoodTypes D-Bus interface 752s # * 752s # * This section contains code for working with the GoodTypes D-Bus interface in C. 752s # */ 752s # 752s # /* ---- Introspection data for GoodTypes ---- */ 752s # 752s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 752s # { 752s # { 752s # -1, 752s # (gchar *) "GoodPropertyType", 752s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 752s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 752s # NULL 752s # }, 752s # "good-property-type", 752s # FALSE, 752s # TRUE 752s # }; 752s # 752s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 752s # { 752s # &_good_types_property_info_good_property_type.parent_struct, 752s # NULL 752s # }; 752s # 752s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 752s # { 752s # { 752s # -1, 752s # (gchar *) "GoodTypes", 752s # NULL, 752s # NULL, 752s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 752s # NULL 752s # }, 752s # "good-types", 752s # }; 752s # 752s # 752s # /** 752s # * good_types_interface_info: 752s # * 752s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 752s # * 752s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 752s # */ 752s # GDBusInterfaceInfo * 752s # good_types_interface_info (void) 752s # { 752s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 752s # } 752s # 752s # /** 752s # * good_types_override_properties: 752s # * @klass: The class structure for a #GObject derived class. 752s # * @property_id_begin: The property id to assign to the first overridden property. 752s # * 752s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 752s # * The properties are overridden in the order they are defined. 752s # * 752s # * Returns: The last property id. 752s # */ 752s # guint 752s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 752s # { 752s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 752s # return property_id_begin - 1; 752s # } 752s # 752s # 752s # 752s # /** 752s # * GoodTypes: 752s # * 752s # * Abstract interface type for the D-Bus interface GoodTypes. 752s # */ 752s # 752s # /** 752s # * GoodTypesIface: 752s # * @parent_iface: The parent interface. 752s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 752s # * 752s # * Virtual table for the D-Bus interface GoodTypes. 752s # */ 752s # 752s # typedef GoodTypesIface GoodTypesInterface; 752s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 752s # 752s # static void 752s # good_types_default_init (GoodTypesIface *iface) 752s # { 752s # /* GObject properties for D-Bus properties: */ 752s # /** 752s # * GoodTypes:good-property-type: 752s # * 752s # * Represents the D-Bus property "GoodPropertyType". 752s # * 752s # * 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. 752s # */ 752s # g_object_interface_install_property (iface, 752s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 752s # } 752s # 752s # /** 752s # * good_types_get_good_property_type: (skip) 752s # * @object: A GoodTypes. 752s # * 752s # * Gets the value of the "GoodPropertyType" D-Bus property. 752s # * 752s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 752s # * 752s # * 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. 752s # * 752s # * 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. 752s # */ 752s # GVariant * 752s # good_types_get_good_property_type (GoodTypes *object) 752s # { 752s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 752s # 752s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 752s # } 752s # 752s # /** 752s # * good_types_dup_good_property_type: (skip) 752s # * @object: A GoodTypes. 752s # * 752s # * Gets a copy of the "GoodPropertyType" D-Bus property. 752s # * 752s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 752s # * 752s # * 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(). 752s # */ 752s # GVariant * 752s # good_types_dup_good_property_type (GoodTypes *object) 752s # { 752s # GVariant *value; 752s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 752s # return value; 752s # } 752s # 752s # /** 752s # * good_types_set_good_property_type: (skip) 752s # * @object: A GoodTypes. 752s # * @value: The value to set. 752s # * 752s # * Sets the "GoodPropertyType" D-Bus property to @value. 752s # * 752s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 752s # */ 752s # void 752s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 752s # { 752s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 752s # } 752s # 752s # /* ------------------------------------------------------------------------ */ 752s # 752s # /** 752s # * GoodTypesProxy: 752s # * 752s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 752s # */ 752s # 752s # /** 752s # * GoodTypesProxyClass: 752s # * @parent_class: The parent class. 752s # * 752s # * Class structure for GoodTypesProxy. 752s # */ 752s # 752s # struct _GoodTypesProxyPrivate 752s # { 752s # GData *qdata; 752s # }; 752s # 752s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 752s # 752s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 752s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 752s # G_ADD_PRIVATE (GoodTypesProxy) 752s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 752s # 752s # #else 752s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 752s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 752s # 752s # #endif 752s # static void 752s # good_types_proxy_finalize (GObject *object) 752s # { 752s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 752s # g_datalist_clear (&proxy->priv->qdata); 752s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 752s # } 752s # 752s # static void 752s # good_types_proxy_get_property (GObject *object, 752s # guint prop_id, 752s # GValue *value, 752s # GParamSpec *pspec G_GNUC_UNUSED) 752s # { 752s # const _ExtendedGDBusPropertyInfo *info; 752s # GVariant *variant; 752s # g_assert (prop_id != 0 && prop_id - 1 < 1); 752s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 752s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 752s # if (info->use_gvariant) 752s # { 752s # g_value_set_variant (value, variant); 752s # } 752s # else 752s # { 752s # if (variant != NULL) 752s # g_dbus_gvariant_to_gvalue (variant, value); 752s # } 752s # if (variant != NULL) 752s # g_variant_unref (variant); 752s # } 752s # 752s # static void 752s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 752s # GAsyncResult *res, 752s # gpointer user_data) 752s # { 752s # const _ExtendedGDBusPropertyInfo *info = user_data; 752s # GError *error; 752s # GVariant *_ret; 752s # error = NULL; 752s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 752s # if (!_ret) 752s # { 752s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 752s # info->parent_struct.name, 752s # error->message, g_quark_to_string (error->domain), error->code); 752s # g_error_free (error); 752s # } 752s # else 752s # { 752s # g_variant_unref (_ret); 752s # } 752s # } 752s # 752s # static void 752s # good_types_proxy_set_property (GObject *object, 752s # guint prop_id, 752s # const GValue *value, 752s # GParamSpec *pspec G_GNUC_UNUSED) 752s # { 752s # const _ExtendedGDBusPropertyInfo *info; 752s # GVariant *variant; 752s # g_assert (prop_id != 0 && prop_id - 1 < 1); 752s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 752s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 752s # g_dbus_proxy_call (G_DBUS_PROXY (object), 752s # "org.freedesktop.DBus.Properties.Set", 752s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 752s # G_DBUS_CALL_FLAGS_NONE, 752s # -1, 752s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 752s # g_variant_unref (variant); 752s # } 752s # 752s # static void 752s # good_types_proxy_g_signal (GDBusProxy *proxy, 752s # const gchar *sender_name G_GNUC_UNUSED, 752s # const gchar *signal_name, 752s # GVariant *parameters) 752s # { 752s # _ExtendedGDBusSignalInfo *info; 752s # GVariantIter iter; 752s # GVariant *child; 752s # GValue *paramv; 752s # gsize num_params; 752s # gsize n; 752s # guint signal_id; 752s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 752s # if (info == NULL) 752s # return; 752s # num_params = g_variant_n_children (parameters); 752s # paramv = g_new0 (GValue, num_params + 1); 752s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 752s # g_value_set_object (¶mv[0], proxy); 752s # g_variant_iter_init (&iter, parameters); 752s # n = 1; 752s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 752s # { 752s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 752s # if (arg_info->use_gvariant) 752s # { 752s # g_value_init (¶mv[n], G_TYPE_VARIANT); 752s # g_value_set_variant (¶mv[n], child); 752s # n++; 752s # } 752s # else 752s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 752s # g_variant_unref (child); 752s # } 752s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 752s # g_signal_emitv (paramv, signal_id, 0, NULL); 752s # for (n = 0; n < num_params + 1; n++) 752s # g_value_unset (¶mv[n]); 752s # g_free (paramv); 752s # } 752s # 752s # static void 752s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 752s # GVariant *changed_properties, 752s # const gchar *const *invalidated_properties) 752s # { 752s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 752s # guint n; 752s # const gchar *key; 752s # GVariantIter *iter; 752s # _ExtendedGDBusPropertyInfo *info; 752s # g_variant_get (changed_properties, "a{sv}", &iter); 752s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 752s # { 752s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 752s # g_datalist_remove_data (&proxy->priv->qdata, key); 752s # if (info != NULL) 752s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 752s # } 752s # g_variant_iter_free (iter); 752s # for (n = 0; invalidated_properties[n] != NULL; n++) 752s # { 752s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 752s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 752s # if (info != NULL) 752s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 752s # } 752s # } 752s # 752s # static GVariant * 752s # good_types_proxy_get_good_property_type (GoodTypes *object) 752s # { 752s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 752s # GVariant *variant; 752s # GVariant *value = NULL; 752s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 752s # value = variant; 752s # if (variant != NULL) 752s # g_variant_unref (variant); 752s # return value; 752s # } 752s # 752s # static void 752s # good_types_proxy_init (GoodTypesProxy *proxy) 752s # { 752s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 752s # proxy->priv = good_types_proxy_get_instance_private (proxy); 752s # #else 752s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 752s # #endif 752s # 752s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 752s # } 752s # 752s # static void 752s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 752s # { 752s # GObjectClass *gobject_class; 752s # GDBusProxyClass *proxy_class; 752s # 752s # gobject_class = G_OBJECT_CLASS (klass); 752s # gobject_class->finalize = good_types_proxy_finalize; 752s # gobject_class->get_property = good_types_proxy_get_property; 752s # gobject_class->set_property = good_types_proxy_set_property; 752s # 752s # proxy_class = G_DBUS_PROXY_CLASS (klass); 752s # proxy_class->g_signal = good_types_proxy_g_signal; 752s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 752s # 752s # good_types_override_properties (gobject_class, 1); 752s # 752s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 752s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 752s # #endif 752s # } 752s # 752s # static void 752s # good_types_proxy_iface_init (GoodTypesIface *iface) 752s # { 752s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 752s # } 752s # 752s # /** 752s # * good_types_proxy_new: 752s # * @connection: A #GDBusConnection. 752s # * @flags: Flags from the #GDBusProxyFlags enumeration. 752s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 752s # * @object_path: An object path. 752s # * @cancellable: (nullable): A #GCancellable or %NULL. 752s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 752s # * @user_data: User data to pass to @callback. 752s # * 752s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 752s # * 752s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 752s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 752s # * 752s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 752s # */ 752s # void 752s # good_types_proxy_new ( 752s # GDBusConnection *connection, 752s # GDBusProxyFlags flags, 752s # const gchar *name, 752s # const gchar *object_path, 752s # GCancellable *cancellable, 752s # GAsyncReadyCallback callback, 752s # gpointer user_data) 752s # { 752s # 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); 752s # } 752s # 752s # /** 752s # * good_types_proxy_new_finish: 752s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 752s # * @error: Return location for error or %NULL 752s # * 752s # * Finishes an operation started with good_types_proxy_new(). 752s # * 752s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 752s # */ 752s # GoodTypes * 752s # good_types_proxy_new_finish ( 752s # GAsyncResult *res, 752s # GError **error) 752s # { 752s # GObject *ret; 752s # GObject *source_object; 752s # source_object = g_async_result_get_source_object (res); 752s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 752s # g_object_unref (source_object); 752s # if (ret != NULL) 752s # return GOOD_TYPES (ret); 752s # else 752s # return NULL; 752s # } 752s # 752s # /** 752s # * good_types_proxy_new_sync: 752s # * @connection: A #GDBusConnection. 752s # * @flags: Flags from the #GDBusProxyFlags enumeration. 752s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 752s # * @object_path: An object path. 752s # * @cancellable: (nullable): A #GCancellable or %NULL. 752s # * @error: Return location for error or %NULL 752s # * 752s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 752s # * 752s # * The calling thread is blocked until a reply is received. 752s # * 752s # * See good_types_proxy_new() for the asynchronous version of this constructor. 752s # * 752s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 752s # */ 752s # GoodTypes * 752s # good_types_proxy_new_sync ( 752s # GDBusConnection *connection, 752s # GDBusProxyFlags flags, 752s # const gchar *name, 752s # const gchar *object_path, 752s # GCancellable *cancellable, 752s # GError **error) 752s # { 752s # GInitable *ret; 752s # 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); 752s # if (ret != NULL) 752s # return GOOD_TYPES (ret); 752s # else 752s # return NULL; 752s # } 752s # 752s # 752s # /** 752s # * good_types_proxy_new_for_bus: 752s # * @bus_type: A #GBusType. 752s # * @flags: Flags from the #GDBusProxyFlags enumeration. 752s # * @name: A bus name (well-known or unique). 752s # * @object_path: An object path. 752s # * @cancellable: (nullable): A #GCancellable or %NULL. 752s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 752s # * @user_data: User data to pass to @callback. 752s # * 752s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 752s # * 752s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 752s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 752s # * 752s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 752s # */ 752s # void 752s # good_types_proxy_new_for_bus ( 752s # GBusType bus_type, 752s # GDBusProxyFlags flags, 752s # const gchar *name, 752s # const gchar *object_path, 752s # GCancellable *cancellable, 752s # GAsyncReadyCallback callback, 752s # gpointer user_data) 752s # { 752s # 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); 752s # } 752s # 752s # /** 752s # * good_types_proxy_new_for_bus_finish: 752s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 752s # * @error: Return location for error or %NULL 752s # * 752s # * Finishes an operation started with good_types_proxy_new_for_bus(). 752s # * 752s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 752s # */ 752s # GoodTypes * 752s # good_types_proxy_new_for_bus_finish ( 752s # GAsyncResult *res, 752s # GError **error) 752s # { 752s # GObject *ret; 752s # GObject *source_object; 752s # source_object = g_async_result_get_source_object (res); 752s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 752s # g_object_unref (source_object); 752s # if (ret != NULL) 752s # return GOOD_TYPES (ret); 752s # else 752s # return NULL; 752s # } 752s # 752s # /** 752s # * good_types_proxy_new_for_bus_sync: 752s # * @bus_type: A #GBusType. 752s # * @flags: Flags from the #GDBusProxyFlags enumeration. 752s # * @name: A bus name (well-known or unique). 752s # * @object_path: An object path. 752s # * @cancellable: (nullable): A #GCancellable or %NULL. 752s # * @error: Return location for error or %NULL 752s # * 752s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 752s # * 752s # * The calling thread is blocked until a reply is received. 752s # * 752s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 752s # * 752s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 752s # */ 752s # GoodTypes * 752s # good_types_proxy_new_for_bus_sync ( 752s # GBusType bus_type, 752s # GDBusProxyFlags flags, 752s # const gchar *name, 752s # const gchar *object_path, 752s # GCancellable *cancellable, 752s # GError **error) 752s # { 752s # GInitable *ret; 752s # 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); 752s # if (ret != NULL) 752s # return GOOD_TYPES (ret); 752s # else 752s # return NULL; 752s # } 752s # 752s # 752s # /* ------------------------------------------------------------------------ */ 752s # 752s # /** 752s # * GoodTypesSkeleton: 752s # * 752s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 752s # */ 752s # 752s # /** 752s # * GoodTypesSkeletonClass: 752s # * @parent_class: The parent class. 752s # * 752s # * Class structure for GoodTypesSkeleton. 752s # */ 752s # 752s # struct _GoodTypesSkeletonPrivate 752s # { 752s # GValue *properties; 752s # GList *changed_properties; 752s # GSource *changed_properties_idle_source; 752s # GMainContext *context; 752s # GMutex lock; 752s # }; 752s # 752s # static void 752s # _good_types_skeleton_handle_method_call ( 752s # GDBusConnection *connection G_GNUC_UNUSED, 752s # const gchar *sender G_GNUC_UNUSED, 752s # const gchar *object_path G_GNUC_UNUSED, 752s # const gchar *interface_name, 752s # const gchar *method_name, 752s # GVariant *parameters, 752s # GDBusMethodInvocation *invocation, 752s # gpointer user_data) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 752s # _ExtendedGDBusMethodInfo *info; 752s # GVariantIter iter; 752s # GVariant *child; 752s # GValue *paramv; 752s # gsize num_params; 752s # guint num_extra; 752s # gsize n; 752s # guint signal_id; 752s # GValue return_value = G_VALUE_INIT; 752s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 752s # g_assert (info != NULL); 752s # num_params = g_variant_n_children (parameters); 752s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 752s # n = 0; 752s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 752s # g_value_set_object (¶mv[n++], skeleton); 752s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 752s # g_value_set_object (¶mv[n++], invocation); 752s # if (info->pass_fdlist) 752s # { 752s # #ifdef G_OS_UNIX 752s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 752s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 752s # #else 752s # g_assert_not_reached (); 752s # #endif 752s # } 752s # g_variant_iter_init (&iter, parameters); 752s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 752s # { 752s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 752s # if (arg_info->use_gvariant) 752s # { 752s # g_value_init (¶mv[n], G_TYPE_VARIANT); 752s # g_value_set_variant (¶mv[n], child); 752s # n++; 752s # } 752s # else 752s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 752s # g_variant_unref (child); 752s # } 752s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 752s # g_value_init (&return_value, G_TYPE_BOOLEAN); 752s # g_signal_emitv (paramv, signal_id, 0, &return_value); 752s # if (!g_value_get_boolean (&return_value)) 752s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 752s # g_value_unset (&return_value); 752s # for (n = 0; n < num_params + num_extra; n++) 752s # g_value_unset (¶mv[n]); 752s # g_free (paramv); 752s # } 752s # 752s # static GVariant * 752s # _good_types_skeleton_handle_get_property ( 752s # GDBusConnection *connection G_GNUC_UNUSED, 752s # const gchar *sender G_GNUC_UNUSED, 752s # const gchar *object_path G_GNUC_UNUSED, 752s # const gchar *interface_name G_GNUC_UNUSED, 752s # const gchar *property_name, 752s # GError **error, 752s # gpointer user_data) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 752s # GValue value = G_VALUE_INIT; 752s # GParamSpec *pspec; 752s # _ExtendedGDBusPropertyInfo *info; 752s # GVariant *ret; 752s # ret = NULL; 752s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 752s # g_assert (info != NULL); 752s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 752s # if (pspec == NULL) 752s # { 752s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 752s # } 752s # else 752s # { 752s # g_value_init (&value, pspec->value_type); 752s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 752s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 752s # g_value_unset (&value); 752s # } 752s # return ret; 752s # } 752s # 752s # static gboolean 752s # _good_types_skeleton_handle_set_property ( 752s # GDBusConnection *connection G_GNUC_UNUSED, 752s # const gchar *sender G_GNUC_UNUSED, 752s # const gchar *object_path G_GNUC_UNUSED, 752s # const gchar *interface_name G_GNUC_UNUSED, 752s # const gchar *property_name, 752s # GVariant *variant, 752s # GError **error, 752s # gpointer user_data) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 752s # GValue value = G_VALUE_INIT; 752s # GParamSpec *pspec; 752s # _ExtendedGDBusPropertyInfo *info; 752s # gboolean ret; 752s # ret = FALSE; 752s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 752s # g_assert (info != NULL); 752s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 752s # if (pspec == NULL) 752s # { 752s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 752s # } 752s # else 752s # { 752s # if (info->use_gvariant) 752s # g_value_set_variant (&value, variant); 752s # else 752s # g_dbus_gvariant_to_gvalue (variant, &value); 752s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 752s # g_value_unset (&value); 752s # ret = TRUE; 752s # } 752s # return ret; 752s # } 752s # 752s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 752s # { 752s # _good_types_skeleton_handle_method_call, 752s # _good_types_skeleton_handle_get_property, 752s # _good_types_skeleton_handle_set_property, 752s # {NULL} 752s # }; 752s # 752s # static GDBusInterfaceInfo * 752s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 752s # { 752s # return good_types_interface_info (); 752s # } 752s # 752s # static GDBusInterfaceVTable * 752s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 752s # { 752s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 752s # } 752s # 752s # static GVariant * 752s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 752s # 752s # GVariantBuilder builder; 752s # guint n; 752s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 752s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 752s # #else 752s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 752s # #endif 752s # if (_good_types_interface_info.parent_struct.properties == NULL) 752s # goto out; 752s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 752s # { 752s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 752s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 752s # { 752s # GVariant *value; 752s # 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); 752s # if (value != NULL) 752s # { 752s # g_variant_take_ref (value); 752s # g_variant_builder_add (&builder, "{sv}", info->name, value); 752s # g_variant_unref (value); 752s # } 752s # } 752s # } 752s # out: 752s # return g_variant_builder_end (&builder); 752s # } 752s # 752s # static gboolean _good_types_emit_changed (gpointer user_data); 752s # 752s # static void 752s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 752s # gboolean emit_changed = FALSE; 752s # 752s # g_mutex_lock (&skeleton->priv->lock); 752s # if (skeleton->priv->changed_properties_idle_source != NULL) 752s # { 752s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 752s # skeleton->priv->changed_properties_idle_source = NULL; 752s # emit_changed = TRUE; 752s # } 752s # g_mutex_unlock (&skeleton->priv->lock); 752s # 752s # if (emit_changed) 752s # _good_types_emit_changed (skeleton); 752s # } 752s # 752s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 752s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 752s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 752s # G_ADD_PRIVATE (GoodTypesSkeleton) 752s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 752s # 752s # #else 752s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 752s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 752s # 752s # #endif 752s # static void 752s # good_types_skeleton_finalize (GObject *object) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 752s # guint n; 752s # for (n = 0; n < 1; n++) 752s # g_value_unset (&skeleton->priv->properties[n]); 752s # g_free (skeleton->priv->properties); 752s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 752s # if (skeleton->priv->changed_properties_idle_source != NULL) 752s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 752s # g_main_context_unref (skeleton->priv->context); 752s # g_mutex_clear (&skeleton->priv->lock); 752s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 752s # } 752s # 752s # static void 752s # good_types_skeleton_get_property (GObject *object, 752s # guint prop_id, 752s # GValue *value, 752s # GParamSpec *pspec G_GNUC_UNUSED) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 752s # g_assert (prop_id != 0 && prop_id - 1 < 1); 752s # g_mutex_lock (&skeleton->priv->lock); 752s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 752s # g_mutex_unlock (&skeleton->priv->lock); 752s # } 752s # 752s # static gboolean 752s # _good_types_emit_changed (gpointer user_data) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 752s # GList *l; 752s # GVariantBuilder builder; 752s # GVariantBuilder invalidated_builder; 752s # guint num_changes; 752s # 752s # g_mutex_lock (&skeleton->priv->lock); 752s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 752s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 752s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 752s # #else 752s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 752s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 752s # #endif 752s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 752s # { 752s # ChangedProperty *cp = l->data; 752s # GVariant *variant; 752s # const GValue *cur_value; 752s # 752s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 752s # if (!_g_value_equal (cur_value, &cp->orig_value)) 752s # { 752s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 752s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 752s # g_variant_unref (variant); 752s # num_changes++; 752s # } 752s # } 752s # if (num_changes > 0) 752s # { 752s # GList *connections, *ll; 752s # GVariant *signal_variant; 752s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 752s # &builder, &invalidated_builder)); 752s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 752s # for (ll = connections; ll != NULL; ll = ll->next) 752s # { 752s # GDBusConnection *connection = ll->data; 752s # 752s # g_dbus_connection_emit_signal (connection, 752s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 752s # "org.freedesktop.DBus.Properties", 752s # "PropertiesChanged", 752s # signal_variant, 752s # NULL); 752s # } 752s # g_variant_unref (signal_variant); 752s # g_list_free_full (connections, g_object_unref); 752s # } 752s # else 752s # { 752s # g_variant_builder_clear (&builder); 752s # g_variant_builder_clear (&invalidated_builder); 752s # } 752s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 752s # skeleton->priv->changed_properties = NULL; 752s # skeleton->priv->changed_properties_idle_source = NULL; 752s # g_mutex_unlock (&skeleton->priv->lock); 752s # return FALSE; 752s # } 752s # 752s # static void 752s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 752s # { 752s # ChangedProperty *cp; 752s # GList *l; 752s # cp = NULL; 752s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 752s # { 752s # ChangedProperty *i_cp = l->data; 752s # if (i_cp->info == info) 752s # { 752s # cp = i_cp; 752s # break; 752s # } 752s # } 752s # if (cp == NULL) 752s # { 752s # cp = g_new0 (ChangedProperty, 1); 752s # cp->prop_id = prop_id; 752s # cp->info = info; 752s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 752s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 752s # g_value_copy (orig_value, &cp->orig_value); 752s # } 752s # } 752s # 752s # static void 752s # good_types_skeleton_notify (GObject *object, 752s # GParamSpec *pspec G_GNUC_UNUSED) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 752s # g_mutex_lock (&skeleton->priv->lock); 752s # if (skeleton->priv->changed_properties != NULL && 752s # skeleton->priv->changed_properties_idle_source == NULL) 752s # { 752s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 752s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 752s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 752s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 752s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 752s # g_source_unref (skeleton->priv->changed_properties_idle_source); 752s # } 752s # g_mutex_unlock (&skeleton->priv->lock); 752s # } 752s # 752s # static void 752s # good_types_skeleton_set_property (GObject *object, 752s # guint prop_id, 752s # const GValue *value, 752s # GParamSpec *pspec) 752s # { 752s # const _ExtendedGDBusPropertyInfo *info; 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 752s # g_assert (prop_id != 0 && prop_id - 1 < 1); 752s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 752s # g_mutex_lock (&skeleton->priv->lock); 752s # g_object_freeze_notify (object); 752s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 752s # { 752s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 752s # info->emits_changed_signal) 752s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 752s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 752s # g_object_notify_by_pspec (object, pspec); 752s # } 752s # g_mutex_unlock (&skeleton->priv->lock); 752s # g_object_thaw_notify (object); 752s # } 752s # 752s # static void 752s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 752s # { 752s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 752s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 752s # #else 752s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 752s # #endif 752s # 752s # g_mutex_init (&skeleton->priv->lock); 752s # skeleton->priv->context = g_main_context_ref_thread_default (); 752s # skeleton->priv->properties = g_new0 (GValue, 1); 752s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 752s # } 752s # 752s # static GVariant * 752s # good_types_skeleton_get_good_property_type (GoodTypes *object) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 752s # GVariant *value; 752s # g_mutex_lock (&skeleton->priv->lock); 752s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 752s # g_mutex_unlock (&skeleton->priv->lock); 752s # return value; 752s # } 752s # 752s # static void 752s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 752s # { 752s # GObjectClass *gobject_class; 752s # GDBusInterfaceSkeletonClass *skeleton_class; 752s # 752s # gobject_class = G_OBJECT_CLASS (klass); 752s # gobject_class->finalize = good_types_skeleton_finalize; 752s # gobject_class->get_property = good_types_skeleton_get_property; 752s # gobject_class->set_property = good_types_skeleton_set_property; 752s # gobject_class->notify = good_types_skeleton_notify; 752s # 752s # 752s # good_types_override_properties (gobject_class, 1); 752s # 752s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 752s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 752s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 752s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 752s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 752s # 752s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 752s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 752s # #endif 752s # } 752s # 752s # static void 752s # good_types_skeleton_iface_init (GoodTypesIface *iface) 752s # { 752s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 752s # } 752s # 752s # /** 752s # * good_types_skeleton_new: 752s # * 752s # * Creates a skeleton object for the D-Bus interface GoodTypes. 752s # * 752s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 752s # */ 752s # GoodTypes * 752s # good_types_skeleton_new (void) 752s # { 752s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 752s # } 752s # Error: 752s # 752s # /tmp/tmpp81wbf_m/tmpelort8t4.xml: 752s # 752s # 752s # 752s # 752s # 752s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp81wbf_m/tmpelort8t4.xml', '--output', '-', '--body'] 752s # Return code: 0 752s # Output: 752s # /* 752s # * This file is generated by gdbus-codegen, do not modify it. 752s # * 752s # * The license of this code is the same as for the D-Bus interface description 752s # * it was derived from. Note that it links to GLib, so must comply with the 752s # * LGPL linking clauses. 752s # */ 752s # 752s # #ifdef HAVE_CONFIG_H 752s # # include "config.h" 752s # #endif 752s # 752s # #include 752s # #ifdef G_OS_UNIX 752s # # include 752s # #endif 752s # 752s # #ifdef G_ENABLE_DEBUG 752s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 752s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 752s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 752s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 752s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 752s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 752s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 752s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 752s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 752s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 752s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 752s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 752s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 752s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 752s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 752s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 752s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 752s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 752s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 752s # #else /* !G_ENABLE_DEBUG */ 752s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 752s # * Do not access GValues directly in your code. Instead, use the 752s # * g_value_get_*() functions 752s # */ 752s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 752s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 752s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 752s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 752s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 752s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 752s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 752s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 752s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 752s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 752s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 752s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 752s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 752s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 752s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 752s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 752s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 752s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 752s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 752s # #endif /* !G_ENABLE_DEBUG */ 752s # 752s # typedef struct 752s # { 752s # GDBusArgInfo parent_struct; 752s # gboolean use_gvariant; 752s # } _ExtendedGDBusArgInfo; 752s # 752s # typedef struct 752s # { 752s # GDBusMethodInfo parent_struct; 752s # const gchar *signal_name; 752s # gboolean pass_fdlist; 752s # } _ExtendedGDBusMethodInfo; 752s # 752s # typedef struct 752s # { 752s # GDBusSignalInfo parent_struct; 752s # const gchar *signal_name; 752s # } _ExtendedGDBusSignalInfo; 752s # 752s # typedef struct 752s # { 752s # GDBusPropertyInfo parent_struct; 752s # const gchar *hyphen_name; 752s # guint use_gvariant : 1; 752s # guint emits_changed_signal : 1; 752s # } _ExtendedGDBusPropertyInfo; 752s # 752s # typedef struct 752s # { 752s # GDBusInterfaceInfo parent_struct; 752s # const gchar *hyphen_name; 752s # } _ExtendedGDBusInterfaceInfo; 752s # 752s # typedef struct 752s # { 752s # const _ExtendedGDBusPropertyInfo *info; 752s # guint prop_id; 752s # GValue orig_value; /* the value before the change */ 752s # } ChangedProperty; 752s # 752s # static void 752s # _changed_property_free (ChangedProperty *data) 752s # { 752s # g_value_unset (&data->orig_value); 752s # g_free (data); 752s # } 752s # 752s # static gboolean 752s # _g_strv_equal0 (gchar **a, gchar **b) 752s # { 752s # gboolean ret = FALSE; 752s # guint n; 752s # if (a == NULL && b == NULL) 752s # { 752s # ret = TRUE; 752s # goto out; 752s # } 752s # if (a == NULL || b == NULL) 752s # goto out; 752s # if (g_strv_length (a) != g_strv_length (b)) 752s # goto out; 752s # for (n = 0; a[n] != NULL; n++) 752s # if (g_strcmp0 (a[n], b[n]) != 0) 752s # goto out; 752s # ret = TRUE; 752s # out: 752s # return ret; 752s # } 752s # 752s # static gboolean 752s # _g_variant_equal0 (GVariant *a, GVariant *b) 752s # { 752s # gboolean ret = FALSE; 752s # if (a == NULL && b == NULL) 752s # { 752s # ret = TRUE; 752s # goto out; 752s # } 752s # if (a == NULL || b == NULL) 752s # goto out; 752s # ret = g_variant_equal (a, b); 752s # out: 752s # return ret; 752s # } 752s # 752s # G_GNUC_UNUSED static gboolean 752s # _g_value_equal (const GValue *a, const GValue *b) 752s # { 752s # gboolean ret = FALSE; 752s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 752s # switch (G_VALUE_TYPE (a)) 752s # { 752s # case G_TYPE_BOOLEAN: 752s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 752s # break; 752s # case G_TYPE_UCHAR: 752s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 752s # break; 752s # case G_TYPE_INT: 752s # ret = (g_value_get_int (a) == g_value_get_int (b)); 752s # break; 752s # case G_TYPE_UINT: 752s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 752s # break; 752s # case G_TYPE_INT64: 752s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 752s # break; 752s # case G_TYPE_UINT64: 752s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 752s # break; 752s # case G_TYPE_DOUBLE: 752s # { 752s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 752s # gdouble da = g_value_get_double (a); 752s # gdouble db = g_value_get_double (b); 752s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 752s # } 752s # break; 752s # case G_TYPE_STRING: 752s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 752s # break; 752s # case G_TYPE_VARIANT: 752s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 752s # break; 752s # default: 752s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 752s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 752s # else 752s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 752s # break; 752s # } 752s # return ret; 752s # } 752s # 752s # /* ------------------------------------------------------------------------ 752s # * Code for interface GoodTypes 752s # * ------------------------------------------------------------------------ 752s # */ 752s # 752s # /** 752s # * SECTION:GoodTypes 752s # * @title: GoodTypes 752s # * @short_description: Generated C code for the GoodTypes D-Bus interface 752s # * 752s # * This section contains code for working with the GoodTypes D-Bus interface in C. 752s # */ 752s # 752s # /* ---- Introspection data for GoodTypes ---- */ 752s # 752s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 752s # { 752s # { 752s # -1, 752s # (gchar *) "GoodPropertyType", 752s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 752s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 752s # NULL 752s # }, 752s # "good-property-type", 752s # FALSE, 752s # TRUE 752s # }; 752s # 752s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 752s # { 752s # &_good_types_property_info_good_property_type.parent_struct, 752s # NULL 752s # }; 752s # 752s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 752s # { 752s # { 752s # -1, 752s # (gchar *) "GoodTypes", 752s # NULL, 752s # NULL, 752s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 752s # NULL 752s # }, 752s # "good-types", 752s # }; 752s # 752s # 752s # /** 752s # * good_types_interface_info: 752s # * 752s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 752s # * 752s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 752s # */ 752s # GDBusInterfaceInfo * 752s # good_types_interface_info (void) 752s # { 752s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 752s # } 752s # 752s # /** 752s # * good_types_override_properties: 752s # * @klass: The class structure for a #GObject derived class. 752s # * @property_id_begin: The property id to assign to the first overridden property. 752s # * 752s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 752s # * The properties are overridden in the order they are defined. 752s # * 752s # * Returns: The last property id. 752s # */ 752s # guint 752s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 752s # { 752s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 752s # return property_id_begin - 1; 752s # } 752s # 752s # 752s # 752s # /** 752s # * GoodTypes: 752s # * 752s # * Abstract interface type for the D-Bus interface GoodTypes. 752s # */ 752s # 752s # /** 752s # * GoodTypesIface: 752s # * @parent_iface: The parent interface. 752s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 752s # * 752s # * Virtual table for the D-Bus interface GoodTypes. 752s # */ 752s # 752s # typedef GoodTypesIface GoodTypesInterface; 752s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 752s # 752s # static void 752s # good_types_default_init (GoodTypesIface *iface) 752s # { 752s # /* GObject properties for D-Bus properties: */ 752s # /** 752s # * GoodTypes:good-property-type: 752s # * 752s # * Represents the D-Bus property "GoodPropertyType". 752s # * 752s # * 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. 752s # */ 752s # g_object_interface_install_property (iface, 752s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 752s # } 752s # 752s # /** 752s # * good_types_get_good_property_type: (skip) 752s # * @object: A GoodTypes. 752s # * 752s # * Gets the value of the "GoodPropertyType" D-Bus property. 752s # * 752s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 752s # * 752s # * 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. 752s # * 752s # * 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. 752s # */ 752s # GVariant * 752s # good_types_get_good_property_type (GoodTypes *object) 752s # { 752s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 752s # 752s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 752s # } 752s # 752s # /** 752s # * good_types_dup_good_property_type: (skip) 752s # * @object: A GoodTypes. 752s # * 752s # * Gets a copy of the "GoodPropertyType" D-Bus property. 752s # * 752s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 752s # * 752s # * 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(). 752s # */ 752s # GVariant * 752s # good_types_dup_good_property_type (GoodTypes *object) 752s # { 752s # GVariant *value; 752s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 752s # return value; 752s # } 752s # 752s # /** 752s # * good_types_set_good_property_type: (skip) 752s # * @object: A GoodTypes. 752s # * @value: The value to set. 752s # * 752s # * Sets the "GoodPropertyType" D-Bus property to @value. 752s # * 752s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 752s # */ 752s # void 752s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 752s # { 752s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 752s # } 752s # 752s # /* ------------------------------------------------------------------------ */ 752s # 752s # /** 752s # * GoodTypesProxy: 752s # * 752s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 752s # */ 752s # 752s # /** 752s # * GoodTypesProxyClass: 752s # * @parent_class: The parent class. 752s # * 752s # * Class structure for GoodTypesProxy. 752s # */ 752s # 752s # struct _GoodTypesProxyPrivate 752s # { 752s # GData *qdata; 752s # }; 752s # 752s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 752s # 752s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 752s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 752s # G_ADD_PRIVATE (GoodTypesProxy) 752s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 752s # 752s # #else 752s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 752s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 752s # 752s # #endif 752s # static void 752s # good_types_proxy_finalize (GObject *object) 752s # { 752s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 752s # g_datalist_clear (&proxy->priv->qdata); 752s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 752s # } 752s # 752s # static void 752s # good_types_proxy_get_property (GObject *object, 752s # guint prop_id, 752s # GValue *value, 752s # GParamSpec *pspec G_GNUC_UNUSED) 752s # { 752s # const _ExtendedGDBusPropertyInfo *info; 752s # GVariant *variant; 752s # g_assert (prop_id != 0 && prop_id - 1 < 1); 752s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 752s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 752s # if (info->use_gvariant) 752s # { 752s # g_value_set_variant (value, variant); 752s # } 752s # else 752s # { 752s # if (variant != NULL) 752s # g_dbus_gvariant_to_gvalue (variant, value); 752s # } 752s # if (variant != NULL) 752s # g_variant_unref (variant); 752s # } 752s # 752s # static void 752s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 752s # GAsyncResult *res, 752s # gpointer user_data) 752s # { 752s # const _ExtendedGDBusPropertyInfo *info = user_data; 752s # GError *error; 752s # GVariant *_ret; 752s # error = NULL; 752s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 752s # if (!_ret) 752s # { 752s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 752s # info->parent_struct.name, 752s # error->message, g_quark_to_string (error->domain), error->code); 752s # g_error_free (error); 752s # } 752s # else 752s # { 752s # g_variant_unref (_ret); 752s # } 752s # } 752s # 752s # static void 752s # good_types_proxy_set_property (GObject *object, 752s # guint prop_id, 752s # const GValue *value, 752s # GParamSpec *pspec G_GNUC_UNUSED) 752s # { 752s # const _ExtendedGDBusPropertyInfo *info; 752s # GVariant *variant; 752s # g_assert (prop_id != 0 && prop_id - 1 < 1); 752s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 752s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 752s # g_dbus_proxy_call (G_DBUS_PROXY (object), 752s # "org.freedesktop.DBus.Properties.Set", 752s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 752s # G_DBUS_CALL_FLAGS_NONE, 752s # -1, 752s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 752s # g_variant_unref (variant); 752s # } 752s # 752s # static void 752s # good_types_proxy_g_signal (GDBusProxy *proxy, 752s # const gchar *sender_name G_GNUC_UNUSED, 752s # const gchar *signal_name, 752s # GVariant *parameters) 752s # { 752s # _ExtendedGDBusSignalInfo *info; 752s # GVariantIter iter; 752s # GVariant *child; 752s # GValue *paramv; 752s # gsize num_params; 752s # gsize n; 752s # guint signal_id; 752s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 752s # if (info == NULL) 752s # return; 752s # num_params = g_variant_n_children (parameters); 752s # paramv = g_new0 (GValue, num_params + 1); 752s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 752s # g_value_set_object (¶mv[0], proxy); 752s # g_variant_iter_init (&iter, parameters); 752s # n = 1; 752s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 752s # { 752s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 752s # if (arg_info->use_gvariant) 752s # { 752s # g_value_init (¶mv[n], G_TYPE_VARIANT); 752s # g_value_set_variant (¶mv[n], child); 752s # n++; 752s # } 752s # else 752s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 752s # g_variant_unref (child); 752s # } 752s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 752s # g_signal_emitv (paramv, signal_id, 0, NULL); 752s # for (n = 0; n < num_params + 1; n++) 752s # g_value_unset (¶mv[n]); 752s # g_free (paramv); 752s # } 752s # 752s # static void 752s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 752s # GVariant *changed_properties, 752s # const gchar *const *invalidated_properties) 752s # { 752s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 752s # guint n; 752s # const gchar *key; 752s # GVariantIter *iter; 752s # _ExtendedGDBusPropertyInfo *info; 752s # g_variant_get (changed_properties, "a{sv}", &iter); 752s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 752s # { 752s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 752s # g_datalist_remove_data (&proxy->priv->qdata, key); 752s # if (info != NULL) 752s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 752s # } 752s # g_variant_iter_free (iter); 752s # for (n = 0; invalidated_properties[n] != NULL; n++) 752s # { 752s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 752s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 752s # if (info != NULL) 752s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 752s # } 752s # } 752s # 752s # static GVariant * 752s # good_types_proxy_get_good_property_type (GoodTypes *object) 752s # { 752s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 752s # GVariant *variant; 752s # GVariant *value = NULL; 752s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 752s # value = variant; 752s # if (variant != NULL) 752s # g_variant_unref (variant); 752s # return value; 752s # } 752s # 752s # static void 752s # good_types_proxy_init (GoodTypesProxy *proxy) 752s # { 752s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 752s # proxy->priv = good_types_proxy_get_instance_private (proxy); 752s # #else 752s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 752s # #endif 752s # 752s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 752s # } 752s # 752s # static void 752s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 752s # { 752s # GObjectClass *gobject_class; 752s # GDBusProxyClass *proxy_class; 752s # 752s # gobject_class = G_OBJECT_CLASS (klass); 752s # gobject_class->finalize = good_types_proxy_finalize; 752s # gobject_class->get_property = good_types_proxy_get_property; 752s # gobject_class->set_property = good_types_proxy_set_property; 752s # 752s # proxy_class = G_DBUS_PROXY_CLASS (klass); 752s # proxy_class->g_signal = good_types_proxy_g_signal; 752s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 752s # 752s # good_types_override_properties (gobject_class, 1); 752s # 752s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 752s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 752s # #endif 752s # } 752s # 752s # static void 752s # good_types_proxy_iface_init (GoodTypesIface *iface) 752s # { 752s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 752s # } 752s # 752s # /** 752s # * good_types_proxy_new: 752s # * @connection: A #GDBusConnection. 752s # * @flags: Flags from the #GDBusProxyFlags enumeration. 752s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 752s # * @object_path: An object path. 752s # * @cancellable: (nullable): A #GCancellable or %NULL. 752s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 752s # * @user_data: User data to pass to @callback. 752s # * 752s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 752s # * 752s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 752s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 752s # * 752s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 752s # */ 752s # void 752s # good_types_proxy_new ( 752s # GDBusConnection *connection, 752s # GDBusProxyFlags flags, 752s # const gchar *name, 752s # const gchar *object_path, 752s # GCancellable *cancellable, 752s # GAsyncReadyCallback callback, 752s # gpointer user_data) 752s # { 752s # 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); 752s # } 752s # 752s # /** 752s # * good_types_proxy_new_finish: 752s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 752s # * @error: Return location for error or %NULL 752s # * 752s # * Finishes an operation started with good_types_proxy_new(). 752s # * 752s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 752s # */ 752s # GoodTypes * 752s # good_types_proxy_new_finish ( 752s # GAsyncResult *res, 752s # GError **error) 752s # { 752s # GObject *ret; 752s # GObject *source_object; 752s # source_object = g_async_result_get_source_object (res); 752s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 752s # g_object_unref (source_object); 752s # if (ret != NULL) 752s # return GOOD_TYPES (ret); 752s # else 752s # return NULL; 752s # } 752s # 752s # /** 752s # * good_types_proxy_new_sync: 752s # * @connection: A #GDBusConnection. 752s # * @flags: Flags from the #GDBusProxyFlags enumeration. 752s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 752s # * @object_path: An object path. 752s # * @cancellable: (nullable): A #GCancellable or %NULL. 752s # * @error: Return location for error or %NULL 752s # * 752s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 752s # * 752s # * The calling thread is blocked until a reply is received. 752s # * 752s # * See good_types_proxy_new() for the asynchronous version of this constructor. 752s # * 752s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 752s # */ 752s # GoodTypes * 752s # good_types_proxy_new_sync ( 752s # GDBusConnection *connection, 752s # GDBusProxyFlags flags, 752s # const gchar *name, 752s # const gchar *object_path, 752s # GCancellable *cancellable, 752s # GError **error) 752s # { 752s # GInitable *ret; 752s # 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); 752s # if (ret != NULL) 752s # return GOOD_TYPES (ret); 752s # else 752s # return NULL; 752s # } 752s # 752s # 752s # /** 752s # * good_types_proxy_new_for_bus: 752s # * @bus_type: A #GBusType. 752s # * @flags: Flags from the #GDBusProxyFlags enumeration. 752s # * @name: A bus name (well-known or unique). 752s # * @object_path: An object path. 752s # * @cancellable: (nullable): A #GCancellable or %NULL. 752s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 752s # * @user_data: User data to pass to @callback. 752s # * 752s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 752s # * 752s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 752s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 752s # * 752s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 752s # */ 752s # void 752s # good_types_proxy_new_for_bus ( 752s # GBusType bus_type, 752s # GDBusProxyFlags flags, 752s # const gchar *name, 752s # const gchar *object_path, 752s # GCancellable *cancellable, 752s # GAsyncReadyCallback callback, 752s # gpointer user_data) 752s # { 752s # 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); 752s # } 752s # 752s # /** 752s # * good_types_proxy_new_for_bus_finish: 752s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 752s # * @error: Return location for error or %NULL 752s # * 752s # * Finishes an operation started with good_types_proxy_new_for_bus(). 752s # * 752s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 752s # */ 752s # GoodTypes * 752s # good_types_proxy_new_for_bus_finish ( 752s # GAsyncResult *res, 752s # GError **error) 752s # { 752s # GObject *ret; 752s # GObject *source_object; 752s # source_object = g_async_result_get_source_object (res); 752s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 752s # g_object_unref (source_object); 752s # if (ret != NULL) 752s # return GOOD_TYPES (ret); 752s # else 752s # return NULL; 752s # } 752s # 752s # /** 752s # * good_types_proxy_new_for_bus_sync: 752s # * @bus_type: A #GBusType. 752s # * @flags: Flags from the #GDBusProxyFlags enumeration. 752s # * @name: A bus name (well-known or unique). 752s # * @object_path: An object path. 752s # * @cancellable: (nullable): A #GCancellable or %NULL. 752s # * @error: Return location for error or %NULL 752s # * 752s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 752s # * 752s # * The calling thread is blocked until a reply is received. 752s # * 752s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 752s # * 752s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 752s # */ 752s # GoodTypes * 752s # good_types_proxy_new_for_bus_sync ( 752s # GBusType bus_type, 752s # GDBusProxyFlags flags, 752s # const gchar *name, 752s # const gchar *object_path, 752s # GCancellable *cancellable, 752s # GError **error) 752s # { 752s # GInitable *ret; 752s # 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); 752s # if (ret != NULL) 752s # return GOOD_TYPES (ret); 752s # else 752s # return NULL; 752s # } 752s # 752s # 752s # /* ------------------------------------------------------------------------ */ 752s # 752s # /** 752s # * GoodTypesSkeleton: 752s # * 752s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 752s # */ 752s # 752s # /** 752s # * GoodTypesSkeletonClass: 752s # * @parent_class: The parent class. 752s # * 752s # * Class structure for GoodTypesSkeleton. 752s # */ 752s # 752s # struct _GoodTypesSkeletonPrivate 752s # { 752s # GValue *properties; 752s # GList *changed_properties; 752s # GSource *changed_properties_idle_source; 752s # GMainContext *context; 752s # GMutex lock; 752s # }; 752s # 752s # static void 752s # _good_types_skeleton_handle_method_call ( 752s # GDBusConnection *connection G_GNUC_UNUSED, 752s # const gchar *sender G_GNUC_UNUSED, 752s # const gchar *object_path G_GNUC_UNUSED, 752s # const gchar *interface_name, 752s # const gchar *method_name, 752s # GVariant *parameters, 752s # GDBusMethodInvocation *invocation, 752s # gpointer user_data) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 752s # _ExtendedGDBusMethodInfo *info; 752s # GVariantIter iter; 752s # GVariant *child; 752s # GValue *paramv; 752s # gsize num_params; 752s # guint num_extra; 752s # gsize n; 752s # guint signal_id; 752s # GValue return_value = G_VALUE_INIT; 752s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 752s # g_assert (info != NULL); 752s # num_params = g_variant_n_children (parameters); 752s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 752s # n = 0; 752s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 752s # g_value_set_object (¶mv[n++], skeleton); 752s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 752s # g_value_set_object (¶mv[n++], invocation); 752s # if (info->pass_fdlist) 752s # { 752s # #ifdef G_OS_UNIX 752s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 752s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 752s # #else 752s # g_assert_not_reached (); 752s # #endif 752s # } 752s # g_variant_iter_init (&iter, parameters); 752s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 752s # { 752s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 752s # if (arg_info->use_gvariant) 752s # { 752s # g_value_init (¶mv[n], G_TYPE_VARIANT); 752s # g_value_set_variant (¶mv[n], child); 752s # n++; 752s # } 752s # else 752s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 752s # g_variant_unref (child); 752s # } 752s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 752s # g_value_init (&return_value, G_TYPE_BOOLEAN); 752s # g_signal_emitv (paramv, signal_id, 0, &return_value); 752s # if (!g_value_get_boolean (&return_value)) 752s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 752s # g_value_unset (&return_value); 752s # for (n = 0; n < num_params + num_extra; n++) 752s # g_value_unset (¶mv[n]); 752s # g_free (paramv); 752s # } 752s # 752s # static GVariant * 752s # _good_types_skeleton_handle_get_property ( 752s # GDBusConnection *connection G_GNUC_UNUSED, 752s # const gchar *sender G_GNUC_UNUSED, 752s # const gchar *object_path G_GNUC_UNUSED, 752s # const gchar *interface_name G_GNUC_UNUSED, 752s # const gchar *property_name, 752s # GError **error, 752s # gpointer user_data) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 752s # GValue value = G_VALUE_INIT; 752s # GParamSpec *pspec; 752s # _ExtendedGDBusPropertyInfo *info; 752s # GVariant *ret; 752s # ret = NULL; 752s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 752s # g_assert (info != NULL); 752s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 752s # if (pspec == NULL) 752s # { 752s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 752s # } 752s # else 752s # { 752s # g_value_init (&value, pspec->value_type); 752s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 752s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 752s # g_value_unset (&value); 752s # } 752s # return ret; 752s # } 752s # 752s # static gboolean 752s # _good_types_skeleton_handle_set_property ( 752s # GDBusConnection *connection G_GNUC_UNUSED, 752s # const gchar *sender G_GNUC_UNUSED, 752s # const gchar *object_path G_GNUC_UNUSED, 752s # const gchar *interface_name G_GNUC_UNUSED, 752s # const gchar *property_name, 752s # GVariant *variant, 752s # GError **error, 752s # gpointer user_data) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 752s # GValue value = G_VALUE_INIT; 752s # GParamSpec *pspec; 752s # _ExtendedGDBusPropertyInfo *info; 752s # gboolean ret; 752s # ret = FALSE; 752s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 752s # g_assert (info != NULL); 752s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 752s # if (pspec == NULL) 752s # { 752s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 752s # } 752s # else 752s # { 752s # if (info->use_gvariant) 752s # g_value_set_variant (&value, variant); 752s # else 752s # g_dbus_gvariant_to_gvalue (variant, &value); 752s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 752s # g_value_unset (&value); 752s # ret = TRUE; 752s # } 752s # return ret; 752s # } 752s # 752s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 752s # { 752s # _good_types_skeleton_handle_method_call, 752s # _good_types_skeleton_handle_get_property, 752s # _good_types_skeleton_handle_set_property, 752s # {NULL} 752s # }; 752s # 752s # static GDBusInterfaceInfo * 752s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 752s # { 752s # return good_types_interface_info (); 752s # } 752s # 752s # static GDBusInterfaceVTable * 752s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 752s # { 752s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 752s # } 752s # 752s # static GVariant * 752s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 752s # 752s # GVariantBuilder builder; 752s # guint n; 752s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 752s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 752s # #else 752s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 752s # #endif 752s # if (_good_types_interface_info.parent_struct.properties == NULL) 752s # goto out; 752s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 752s # { 752s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 752s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 752s # { 752s # GVariant *value; 752s # 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); 752s # if (value != NULL) 752s # { 752s # g_variant_take_ref (value); 752s # g_variant_builder_add (&builder, "{sv}", info->name, value); 752s # g_variant_unref (value); 752s # } 752s # } 752s # } 752s # out: 752s # return g_variant_builder_end (&builder); 752s # } 752s # 752s # static gboolean _good_types_emit_changed (gpointer user_data); 752s # 752s # static void 752s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 752s # gboolean emit_changed = FALSE; 752s # 752s # g_mutex_lock (&skeleton->priv->lock); 752s # if (skeleton->priv->changed_properties_idle_source != NULL) 752s # { 752s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 752s # skeleton->priv->changed_properties_idle_source = NULL; 752s # emit_changed = TRUE; 752s # } 752s # g_mutex_unlock (&skeleton->priv->lock); 752s # 752s # if (emit_changed) 752s # _good_types_emit_changed (skeleton); 752s # } 752s # 752s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 752s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 752s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 752s # G_ADD_PRIVATE (GoodTypesSkeleton) 752s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 752s # 752s # #else 752s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 752s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 752s # 752s # #endif 752s # static void 752s # good_types_skeleton_finalize (GObject *object) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 752s # guint n; 752s # for (n = 0; n < 1; n++) 752s # g_value_unset (&skeleton->priv->properties[n]); 752s # g_free (skeleton->priv->properties); 752s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 752s # if (skeleton->priv->changed_properties_idle_source != NULL) 752s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 752s # g_main_context_unref (skeleton->priv->context); 752s # g_mutex_clear (&skeleton->priv->lock); 752s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 752s # } 752s # 752s # static void 752s # good_types_skeleton_get_property (GObject *object, 752s # guint prop_id, 752s # GValue *value, 752s # GParamSpec *pspec G_GNUC_UNUSED) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 752s # g_assert (prop_id != 0 && prop_id - 1 < 1); 752s # g_mutex_lock (&skeleton->priv->lock); 752s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 752s # g_mutex_unlock (&skeleton->priv->lock); 752s # } 752s # 752s # static gboolean 752s # _good_types_emit_changed (gpointer user_data) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 752s # GList *l; 752s # GVariantBuilder builder; 752s # GVariantBuilder invalidated_builder; 752s # guint num_changes; 752s # 752s # g_mutex_lock (&skeleton->priv->lock); 752s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 752s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 752s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 752s # #else 752s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 752s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 752s # #endif 752s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 752s # { 752s # ChangedProperty *cp = l->data; 752s # GVariant *variant; 752s # const GValue *cur_value; 752s # 752s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 752s # if (!_g_value_equal (cur_value, &cp->orig_value)) 752s # { 752s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 752s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 752s # g_variant_unref (variant); 752s # num_changes++; 752s # } 752s # } 752s # if (num_changes > 0) 752s # { 752s # GList *connections, *ll; 752s # GVariant *signal_variant; 752s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 752s # &builder, &invalidated_builder)); 752s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 752s # for (ll = connections; ll != NULL; ll = ll->next) 752s # { 752s # GDBusConnection *connection = ll->data; 752s # 752s # g_dbus_connection_emit_signal (connection, 752s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 752s # "org.freedesktop.DBus.Properties", 752s # "PropertiesChanged", 752s # signal_variant, 752s # NULL); 752s # } 752s # g_variant_unref (signal_variant); 752s # g_list_free_full (connections, g_object_unref); 752s # } 752s # else 752s # { 752s # g_variant_builder_clear (&builder); 752s # g_variant_builder_clear (&invalidated_builder); 752s # } 752s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 752s # skeleton->priv->changed_properties = NULL; 752s # skeleton->priv->changed_properties_idle_source = NULL; 752s # g_mutex_unlock (&skeleton->priv->lock); 752s # return FALSE; 752s # } 752s # 752s # static void 752s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 752s # { 752s # ChangedProperty *cp; 752s # GList *l; 752s # cp = NULL; 752s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 752s # { 752s # ChangedProperty *i_cp = l->data; 752s # if (i_cp->info == info) 752s # { 752s # cp = i_cp; 752s # break; 752s # } 752s # } 752s # if (cp == NULL) 752s # { 752s # cp = g_new0 (ChangedProperty, 1); 752s # cp->prop_id = prop_id; 752s # cp->info = info; 752s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 752s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 752s # g_value_copy (orig_value, &cp->orig_value); 752s # } 752s # } 752s # 752s # static void 752s # good_types_skeleton_notify (GObject *object, 752s # GParamSpec *pspec G_GNUC_UNUSED) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 752s # g_mutex_lock (&skeleton->priv->lock); 752s # if (skeleton->priv->changed_properties != NULL && 752s # skeleton->priv->changed_properties_idle_source == NULL) 752s # { 752s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 752s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 752s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 752s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 752s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 752s # g_source_unref (skeleton->priv->changed_properties_idle_source); 752s # } 752s # g_mutex_unlock (&skeleton->priv->lock); 752s # } 752s # 752s # static void 752s # good_types_skeleton_set_property (GObject *object, 752s # guint prop_id, 752s # const GValue *value, 752s # GParamSpec *pspec) 752s # { 752s # const _ExtendedGDBusPropertyInfo *info; 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 752s # g_assert (prop_id != 0 && prop_id - 1 < 1); 752s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 752s # g_mutex_lock (&skeleton->priv->lock); 752s # g_object_freeze_notify (object); 752s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 752s # { 752s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 752s # info->emits_changed_signal) 752s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 752s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 752s # g_object_notify_by_pspec (object, pspec); 752s # } 752s # g_mutex_unlock (&skeleton->priv->lock); 752s # g_object_thaw_notify (object); 752s # } 752s # 752s # static void 752s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 752s # { 752s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 752s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 752s # #else 752s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 752s # #endif 752s # 752s # g_mutex_init (&skeleton->priv->lock); 752s # skeleton->priv->context = g_main_context_ref_thread_default (); 752s # skeleton->priv->properties = g_new0 (GValue, 1); 752s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 752s # } 752s # 752s # static GVariant * 752s # good_types_skeleton_get_good_property_type (GoodTypes *object) 752s # { 752s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 752s # GVariant *value; 752s # g_mutex_lock (&skeleton->priv->lock); 752s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 752s # g_mutex_unlock (&skeleton->priv->lock); 752s # return value; 752s # } 752s # 752s # static void 752s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 752s # { 752s # GObjectClass *gobject_class; 752s # GDBusInterfaceSkeletonClass *skeleton_class; 752s # 752s # gobject_class = G_OBJECT_CLASS (klass); 752s # gobject_class->finalize = good_types_skeleton_finalize; 752s # gobject_class->get_property = good_types_skeleton_get_property; 752s # gobject_class->set_property = good_types_skeleton_set_property; 752s # gobject_class->notify = good_types_skeleton_notify; 752s # 752s # 752s # good_types_override_properties (gobject_class, 1); 752s # 752s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 752s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 752s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 752s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 752s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 752s # 752s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 752s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 752s # #endif 752s # } 752s # 752s # static void 752s # good_types_skeleton_iface_init (GoodTypesIface *iface) 752s # { 752s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 752s # } 752s # 752s # /** 752s # * good_types_skeleton_new: 752s # * 752s # * Creates a skeleton object for the D-Bus interface GoodTypes. 752s # * 752s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 752s # */ 752s # GoodTypes * 752s # good_types_skeleton_new (void) 752s # { 752s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 752s # } 752s # Error: 752s ok 3 __main__.TestCodegen.test_empty_interface_body 752s # gdbus-codegen: /usr/bin/gdbus-codegen 752s # tmpdir: /tmp/tmp3rn1qi85 752s # /tmp/tmp3rn1qi85/tmpcav77k5e.xml: 752s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3rn1qi85/tmpcav77k5e.xml', '--output', '-', '--body'] 752s # Return code: 0 752s # Output: 752s # /* 752s # * This file is generated by gdbus-codegen, do not modify it. 752s # * 752s # * The license of this code is the same as for the D-Bus interface description 752s # * it was derived from. Note that it links to GLib, so must comply with the 752s # * LGPL linking clauses. 752s # */ 752s # 752s # #ifdef HAVE_CONFIG_H 752s # # include "config.h" 752s # #endif 752s # 752s # #include 752s # #ifdef G_OS_UNIX 752s # # include 752s # #endif 752s # 752s # #ifdef G_ENABLE_DEBUG 752s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 752s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 752s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 752s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 752s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 752s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 752s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 752s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 752s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 752s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 752s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 752s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 752s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 752s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 752s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 752s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 752s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 752s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 752s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 752s # #else /* !G_ENABLE_DEBUG */ 752s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 752s # * Do not access GValues directly in your code. Instead, use the 752s # * g_value_get_*() functions 752s # */ 752s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 752s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 752s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 752s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 752s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 752s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 752s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 752s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 752s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 752s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 752s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 752s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 752s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 752s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 752s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 752s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 752s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 752s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 752s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 752s # #endif /* !G_ENABLE_DEBUG */ 752s # 752s # typedef struct 752s # { 752s # GDBusArgInfo parent_struct; 752s # gboolean use_gvariant; 752s # } _ExtendedGDBusArgInfo; 752s # 752s # typedef struct 752s # { 752s # GDBusMethodInfo parent_struct; 752s # const gchar *signal_name; 752s # gboolean pass_fdlist; 752s # } _ExtendedGDBusMethodInfo; 752s # 752s # typedef struct 752s # { 752s # GDBusSignalInfo parent_struct; 752s # const gchar *signal_name; 752s # } _ExtendedGDBusSignalInfo; 752s # 752s # typedef struct 752s # { 752s # GDBusPropertyInfo parent_struct; 752s # const gchar *hyphen_name; 752s # guint use_gvariant : 1; 752s # guint emits_changed_signal : 1; 752s # } _ExtendedGDBusPropertyInfo; 752s # 752s # typedef struct 752s # { 752s # GDBusInterfaceInfo parent_struct; 752s # const gchar *hyphen_name; 752s # } _ExtendedGDBusInterfaceInfo; 752s # 752s # typedef struct 752s # { 752s # const _ExtendedGDBusPropertyInfo *info; 752s # guint prop_id; 752s # GValue orig_value; /* the value before the change */ 752s # } ChangedProperty; 752s # 752s # static void 752s # _changed_property_free (ChangedProperty *data) 752s # { 752s # g_value_unset (&data->orig_value); 752s # g_free (data); 752s # } 752s # 752s # static gboolean 752s # _g_strv_equal0 (gchar **a, gchar **b) 752s # { 752s # gboolean ret = FALSE; 752s # guint n; 752s # if (a == NULL && b == NULL) 752s # { 752s # ret = TRUE; 752s # goto out; 752s # } 752s # if (a == NULL || b == NULL) 752s # goto out; 752s # if (g_strv_length (a) != g_strv_length (b)) 752s # goto out; 752s # for (n = 0; a[n] != NULL; n++) 752s # if (g_strcmp0 (a[n], b[n]) != 0) 752s # goto out; 752s # ret = TRUE; 752s # out: 752s # return ret; 752s # } 752s # 752s # static gboolean 752s # _g_variant_equal0 (GVariant *a, GVariant *b) 752s # { 752s # gboolean ret = FALSE; 752s # if (a == NULL && b == NULL) 752s # { 752s # ret = TRUE; 752s # goto out; 752s # } 752s # if (a == NULL || b == NULL) 752s # goto out; 752s # ret = g_variant_equal (a, b); 752s # out: 752s # return ret; 752s # } 752s # 752s # G_GNUC_UNUSED static gboolean 752s # _g_value_equal (const GValue *a, const GValue *b) 752s # { 752s # gboolean ret = FALSE; 752s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 752s # switch (G_VALUE_TYPE (a)) 752s # { 752s # case G_TYPE_BOOLEAN: 752s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 752s # break; 752s # case G_TYPE_UCHAR: 752s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 752s # break; 752s # case G_TYPE_INT: 752s # ret = (g_value_get_int (a) == g_value_get_int (b)); 752s # break; 752s # case G_TYPE_UINT: 752s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 752s # break; 752s # case G_TYPE_INT64: 752s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 752s # break; 752s # case G_TYPE_UINT64: 752s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 752s # break; 752s # case G_TYPE_DOUBLE: 752s # { 752s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 752s # gdouble da = g_value_get_double (a); 752s # gdouble db = g_value_get_double (b); 752s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 752s # } 752s # break; 752s # case G_TYPE_STRING: 752s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 752s # break; 752s # case G_TYPE_VARIANT: 752s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 752s # break; 752s # default: 752s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 752s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 752s # else 752s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 752s # break; 752s # } 752s # return ret; 752s # } 752s # Error: 752s ok 4 __main__.TestCodegen.test_empty_interface_header 752s # gdbus-codegen: /usr/bin/gdbus-codegen 752s # tmpdir: /tmp/tmp06am3sza 752s # /tmp/tmp06am3sza/tmpow35vrjb.xml: 752s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp06am3sza/tmpow35vrjb.xml', '--output', '-', '--header'] 752s # Return code: 0 752s # Output: 752s # /* 752s # * This file is generated by gdbus-codegen, do not modify it. 752s # * 752s # * The license of this code is the same as for the D-Bus interface description 752s # * it was derived from. Note that it links to GLib, so must comply with the 752s # * LGPL linking clauses. 752s # */ 752s # 752s # #ifndef __STDOUT__ 752s # #define __STDOUT__ 752s # 752s # #include 752s # 752s # G_BEGIN_DECLS 752s # 752s # 752s # G_END_DECLS 752s # 752s # #endif /* __STDOUT__ */ 752s # Error: 752s ok 5 __main__.TestCodegen.test_empty_interface_info_body 752s # gdbus-codegen: /usr/bin/gdbus-codegen 752s # tmpdir: /tmp/tmp8wayou3b 752s # /tmp/tmp8wayou3b/tmpd480fye3.xml: 752s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8wayou3b/tmpd480fye3.xml', '--output', '-', '--interface-info-body'] 752s # Return code: 0 752s # Output: 752s # /* 752s # * This file is generated by gdbus-codegen, do not modify it. 752s # * 752s # * The license of this code is the same as for the D-Bus interface description 752s # * it was derived from. Note that it links to GLib, so must comply with the 752s # * LGPL linking clauses. 752s # */ 752s # 752s # #ifdef HAVE_CONFIG_H 752s # # include "config.h" 752s # #endif 752s # 752s # #include 752s # Error: 752s ok 6 __main__.TestCodegen.test_empty_interface_info_header 752s # gdbus-codegen: /usr/bin/gdbus-codegen 752s # tmpdir: /tmp/tmpr3t_1m8j 752s # /tmp/tmpr3t_1m8j/tmpmhjk6ysa.xml: 752s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr3t_1m8j/tmpmhjk6ysa.xml', '--output', '-', '--interface-info-header'] 752s # Return code: 0 752s # Output: 752s # /* 752s # * This file is generated by gdbus-codegen, do not modify it. 752s # * 752s # * The license of this code is the same as for the D-Bus interface description 752s # * it was derived from. Note that it links to GLib, so must comply with the 752s # * LGPL linking clauses. 752s # */ 752s # 752s # #ifndef __STDOUT__ 752s # #define __STDOUT__ 752s # 752s # #include 752s # 752s # G_BEGIN_DECLS 752s # 752s # 752s # G_END_DECLS 752s # 752s # #endif /* __STDOUT__ */ 752s # Error: 752s ok 7 __main__.TestCodegen.test_generate_docbook 752s # gdbus-codegen: /usr/bin/gdbus-codegen 752s # tmpdir: /tmp/tmpffsiou31 752s # /tmp/tmpffsiou31/tmp1669ii_l.xml: 752s # 752s # 752s # 752s # 752s # 752s # 752s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpffsiou31/tmp1669ii_l.xml', '--generate-docbook', 'test'] 752s # Return code: 0 752s # Output: 752s # 752s # Error: 753s ok 8 __main__.TestCodegen.test_generate_md 753s # gdbus-codegen: /usr/bin/gdbus-codegen 753s # tmpdir: /tmp/tmp33ott9xn 753s # /tmp/tmp33ott9xn/tmpvc7yixi2.xml: 753s # 753s # 753s # 753s # 753s # 753s # 753s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp33ott9xn/tmpvc7yixi2.xml', '--generate-md', 'test'] 753s # Return code: 0 753s # Output: 753s # 753s # Error: 753s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 753s # gdbus-codegen: /usr/bin/gdbus-codegen 753s # tmpdir: /tmp/tmpue5rguei 753s # /tmp/tmpue5rguei/tmpu08ssnlm.xml: 753s # 753s # 753s # 753s # 753s # 753s # 753s # 753s # 753s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpue5rguei/tmpu08ssnlm.xml', '--output', '-', '--body'] 753s # Return code: 0 753s # Output: 753s # /* 753s # * This file is generated by gdbus-codegen, do not modify it. 753s # * 753s # * The license of this code is the same as for the D-Bus interface description 753s # * it was derived from. Note that it links to GLib, so must comply with the 753s # * LGPL linking clauses. 753s # */ 753s # 753s # #ifdef HAVE_CONFIG_H 753s # # include "config.h" 753s # #endif 753s # 753s # #include 753s # #ifdef G_OS_UNIX 753s # # include 753s # #endif 753s # 753s # #ifdef G_ENABLE_DEBUG 753s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 753s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 753s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 753s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 753s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 753s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 753s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 753s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 753s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 753s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 753s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 753s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 753s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 753s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 753s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 753s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 753s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 753s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 753s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 753s # #else /* !G_ENABLE_DEBUG */ 753s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 753s # * Do not access GValues directly in your code. Instead, use the 753s # * g_value_get_*() functions 753s # */ 753s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 753s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 753s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 753s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 753s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 753s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 753s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 753s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 753s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 753s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 753s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 753s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 753s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 753s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 753s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 753s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 753s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 753s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 753s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 753s # #endif /* !G_ENABLE_DEBUG */ 753s # 753s # typedef struct 753s # { 753s # GDBusArgInfo parent_struct; 753s # gboolean use_gvariant; 753s # } _ExtendedGDBusArgInfo; 753s # 753s # typedef struct 753s # { 753s # GDBusMethodInfo parent_struct; 753s # const gchar *signal_name; 753s # gboolean pass_fdlist; 753s # } _ExtendedGDBusMethodInfo; 753s # 753s # typedef struct 753s # { 753s # GDBusSignalInfo parent_struct; 753s # const gchar *signal_name; 753s # } _ExtendedGDBusSignalInfo; 753s # 753s # typedef struct 753s # { 753s # GDBusPropertyInfo parent_struct; 753s # const gchar *hyphen_name; 753s # guint use_gvariant : 1; 753s # guint emits_changed_signal : 1; 753s # } _ExtendedGDBusPropertyInfo; 753s # 753s # typedef struct 753s # { 753s # GDBusInterfaceInfo parent_struct; 753s # const gchar *hyphen_name; 753s # } _ExtendedGDBusInterfaceInfo; 753s # 753s # typedef struct 753s # { 753s # const _ExtendedGDBusPropertyInfo *info; 753s # guint prop_id; 753s # GValue orig_value; /* the value before the change */ 753s # } ChangedProperty; 753s # 753s # static void 753s # _changed_property_free (ChangedProperty *data) 753s # { 753s # g_value_unset (&data->orig_value); 753s # g_free (data); 753s # } 753s # 753s # static gboolean 753s # _g_strv_equal0 (gchar **a, gchar **b) 753s # { 753s # gboolean ret = FALSE; 753s # guint n; 753s # if (a == NULL && b == NULL) 753s # { 753s # ret = TRUE; 753s # goto out; 753s # } 753s # if (a == NULL || b == NULL) 753s # goto out; 753s # if (g_strv_length (a) != g_strv_length (b)) 753s # goto out; 753s # for (n = 0; a[n] != NULL; n++) 753s # if (g_strcmp0 (a[n], b[n]) != 0) 753s # goto out; 753s # ret = TRUE; 753s # out: 753s # return ret; 753s # } 753s # 753s # static gboolean 753s # _g_variant_equal0 (GVariant *a, GVariant *b) 753s # { 753s # gboolean ret = FALSE; 753s # if (a == NULL && b == NULL) 753s # { 753s # ret = TRUE; 753s # goto out; 753s # } 753s # if (a == NULL || b == NULL) 753s # goto out; 753s # ret = g_variant_equal (a, b); 753s # out: 753s # return ret; 753s # } 753s # 753s # G_GNUC_UNUSED static gboolean 753s # _g_value_equal (const GValue *a, const GValue *b) 753s # { 753s # gboolean ret = FALSE; 753s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 753s # switch (G_VALUE_TYPE (a)) 753s # { 753s # case G_TYPE_BOOLEAN: 753s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 753s # break; 753s # case G_TYPE_UCHAR: 753s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 753s # break; 753s # case G_TYPE_INT: 753s # ret = (g_value_get_int (a) == g_value_get_int (b)); 753s # break; 753s # case G_TYPE_UINT: 753s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 753s # break; 753s # case G_TYPE_INT64: 753s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 753s # break; 753s # case G_TYPE_UINT64: 753s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 753s # break; 753s # case G_TYPE_DOUBLE: 753s # { 753s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 753s # gdouble da = g_value_get_double (a); 753s # gdouble db = g_value_get_double (b); 753s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 753s # } 753s # break; 753s # case G_TYPE_STRING: 753s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 753s # break; 753s # case G_TYPE_VARIANT: 753s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 753s # break; 753s # default: 753s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 753s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 753s # else 753s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 753s # break; 753s # } 753s # return ret; 753s # } 753s # 753s # static void 753s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 753s # GClosure *closure, 753s # GValue *return_value, 753s # unsigned int n_param_values, 753s # const GValue *param_values, 753s # void *invocation_hint G_GNUC_UNUSED, 753s # void *marshal_data) 753s # { 753s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 753s # (void *data1, 753s # GDBusMethodInvocation *arg_method_invocation, 753s # void *data2); 753s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 753s # GCClosure *cc = (GCClosure*) closure; 753s # void *data1, *data2; 753s # gboolean v_return; 753s # 753s # g_return_if_fail (return_value != NULL); 753s # g_return_if_fail (n_param_values == 2); 753s # 753s # if (G_CCLOSURE_SWAP_DATA (closure)) 753s # { 753s # data1 = closure->data; 753s # data2 = g_value_peek_pointer (param_values + 0); 753s # } 753s # else 753s # { 753s # data1 = g_value_peek_pointer (param_values + 0); 753s # data2 = closure->data; 753s # } 753s # 753s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 753s # (marshal_data ? marshal_data : cc->callback); 753s # 753s # v_return = 753s # callback (data1, 753s # g_marshal_value_peek_object (param_values + 1), 753s # data2); 753s # 753s # g_value_set_boolean (return_value, v_return); 753s # } 753s # 753s # /* ------------------------------------------------------------------------ 753s # * Code for interface org.project.CallableIface 753s # * ------------------------------------------------------------------------ 753s # */ 753s # 753s # /** 753s # * SECTION:OrgProjectCallableIface 753s # * @title: OrgProjectCallableIface 753s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 753s # * 753s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 753s # */ 753s # 753s # /* ---- Introspection data for org.project.CallableIface ---- */ 753s # 753s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 753s # { 753s # { 753s # -1, 753s # (gchar *) "SimpleMethod", 753s # NULL, 753s # NULL, 753s # NULL 753s # }, 753s # "handle-simple-method", 753s # FALSE 753s # }; 753s # 753s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 753s # { 753s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 753s # NULL 753s # }; 753s # 753s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 753s # { 753s # { 753s # -1, 753s # (gchar *) "org.project.CallableIface", 753s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 753s # NULL, 753s # NULL, 753s # NULL 753s # }, 753s # "org-project-callable-iface", 753s # }; 753s # 753s # 753s # /** 753s # * org_project_callable_iface_interface_info: 753s # * 753s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 753s # * 753s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 753s # */ 753s # GDBusInterfaceInfo * 753s # org_project_callable_iface_interface_info (void) 753s # { 753s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 753s # } 753s # 753s # /** 753s # * org_project_callable_iface_override_properties: 753s # * @klass: The class structure for a #GObject derived class. 753s # * @property_id_begin: The property id to assign to the first overridden property. 753s # * 753s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 753s # * The properties are overridden in the order they are defined. 753s # * 753s # * Returns: The last property id. 753s # */ 753s # guint 753s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 753s # { 753s # return property_id_begin - 1; 753s # } 753s # 753s # 753s # inline static void 753s # org_project_callable_iface_method_marshal_simple_method ( 753s # GClosure *closure, 753s # GValue *return_value, 753s # unsigned int n_param_values, 753s # const GValue *param_values, 753s # void *invocation_hint, 753s # void *marshal_data) 753s # { 753s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 753s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 753s # } 753s # 753s # 753s # /** 753s # * OrgProjectCallableIface: 753s # * 753s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 753s # */ 753s # 753s # /** 753s # * OrgProjectCallableIfaceIface: 753s # * @parent_iface: The parent interface. 753s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 753s # * 753s # * Virtual table for the D-Bus interface org.project.CallableIface. 753s # */ 753s # 753s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 753s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 753s # 753s # static void 753s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 753s # { 753s # /* GObject signals for incoming D-Bus method calls: */ 753s # /** 753s # * OrgProjectCallableIface::handle-simple-method: 753s # * @object: A #OrgProjectCallableIface. 753s # * @invocation: A #GDBusMethodInvocation. 753s # * 753s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 753s # * 753s # * 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. 753s # * 753s # * 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. 753s # */ 753s # g_signal_new ("handle-simple-method", 753s # G_TYPE_FROM_INTERFACE (iface), 753s # G_SIGNAL_RUN_LAST, 753s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 753s # g_signal_accumulator_true_handled, 753s # NULL, 753s # org_project_callable_iface_method_marshal_simple_method, 753s # G_TYPE_BOOLEAN, 753s # 1, 753s # G_TYPE_DBUS_METHOD_INVOCATION); 753s # 753s # } 753s # 753s # /** 753s # * org_project_callable_iface_call_simple_method: 753s # * @proxy: A #OrgProjectCallableIfaceProxy. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 753s # * @user_data: User data to pass to @callback. 753s # * 753s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 753s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 753s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 753s # * 753s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 753s # */ 753s # void 753s # org_project_callable_iface_call_simple_method ( 753s # OrgProjectCallableIface *proxy, 753s # GCancellable *cancellable, 753s # GAsyncReadyCallback callback, 753s # gpointer user_data) 753s # { 753s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 753s # "SimpleMethod", 753s # g_variant_new ("()"), 753s # G_DBUS_CALL_FLAGS_NONE, 753s # -1, 753s # cancellable, 753s # callback, 753s # user_data); 753s # } 753s # 753s # /** 753s # * org_project_callable_iface_call_simple_method_finish: 753s # * @proxy: A #OrgProjectCallableIfaceProxy. 753s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 753s # * @error: Return location for error or %NULL. 753s # * 753s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 753s # * 753s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 753s # */ 753s # gboolean 753s # org_project_callable_iface_call_simple_method_finish ( 753s # OrgProjectCallableIface *proxy, 753s # GAsyncResult *res, 753s # GError **error) 753s # { 753s # GVariant *_ret; 753s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 753s # if (_ret == NULL) 753s # goto _out; 753s # g_variant_get (_ret, 753s # "()"); 753s # g_variant_unref (_ret); 753s # _out: 753s # return _ret != NULL; 753s # } 753s # 753s # /** 753s # * org_project_callable_iface_call_simple_method_sync: 753s # * @proxy: A #OrgProjectCallableIfaceProxy. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @error: Return location for error or %NULL. 753s # * 753s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 753s # * 753s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 753s # * 753s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 753s # */ 753s # gboolean 753s # org_project_callable_iface_call_simple_method_sync ( 753s # OrgProjectCallableIface *proxy, 753s # GCancellable *cancellable, 753s # GError **error) 753s # { 753s # GVariant *_ret; 753s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 753s # "SimpleMethod", 753s # g_variant_new ("()"), 753s # G_DBUS_CALL_FLAGS_NONE, 753s # -1, 753s # cancellable, 753s # error); 753s # if (_ret == NULL) 753s # goto _out; 753s # g_variant_get (_ret, 753s # "()"); 753s # g_variant_unref (_ret); 753s # _out: 753s # return _ret != NULL; 753s # } 753s # 753s # /** 753s # * org_project_callable_iface_complete_simple_method: 753s # * @object: A #OrgProjectCallableIface. 753s # * @invocation: (transfer full): A #GDBusMethodInvocation. 753s # * 753s # * 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. 753s # * 753s # * This method will free @invocation, you cannot use it afterwards. 753s # */ 753s # void 753s # org_project_callable_iface_complete_simple_method ( 753s # OrgProjectCallableIface *object G_GNUC_UNUSED, 753s # GDBusMethodInvocation *invocation) 753s # { 753s # g_dbus_method_invocation_return_value (invocation, 753s # g_variant_new ("()")); 753s # } 753s # 753s # /* ------------------------------------------------------------------------ */ 753s # 753s # /** 753s # * OrgProjectCallableIfaceProxy: 753s # * 753s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 753s # */ 753s # 753s # /** 753s # * OrgProjectCallableIfaceProxyClass: 753s # * @parent_class: The parent class. 753s # * 753s # * Class structure for #OrgProjectCallableIfaceProxy. 753s # */ 753s # 753s # struct _OrgProjectCallableIfaceProxyPrivate 753s # { 753s # GData *qdata; 753s # }; 753s # 753s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 753s # 753s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 753s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 753s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 753s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 753s # 753s # #else 753s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 753s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 753s # 753s # #endif 753s # static void 753s # org_project_callable_iface_proxy_finalize (GObject *object) 753s # { 753s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 753s # g_datalist_clear (&proxy->priv->qdata); 753s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 753s # } 753s # 753s # static void 753s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 753s # guint prop_id G_GNUC_UNUSED, 753s # GValue *value G_GNUC_UNUSED, 753s # GParamSpec *pspec G_GNUC_UNUSED) 753s # { 753s # } 753s # 753s # static void 753s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 753s # guint prop_id G_GNUC_UNUSED, 753s # const GValue *value G_GNUC_UNUSED, 753s # GParamSpec *pspec G_GNUC_UNUSED) 753s # { 753s # } 753s # 753s # static void 753s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 753s # const gchar *sender_name G_GNUC_UNUSED, 753s # const gchar *signal_name, 753s # GVariant *parameters) 753s # { 753s # _ExtendedGDBusSignalInfo *info; 753s # GVariantIter iter; 753s # GVariant *child; 753s # GValue *paramv; 753s # gsize num_params; 753s # gsize n; 753s # guint signal_id; 753s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 753s # if (info == NULL) 753s # return; 753s # num_params = g_variant_n_children (parameters); 753s # paramv = g_new0 (GValue, num_params + 1); 753s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 753s # g_value_set_object (¶mv[0], proxy); 753s # g_variant_iter_init (&iter, parameters); 753s # n = 1; 753s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 753s # { 753s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 753s # if (arg_info->use_gvariant) 753s # { 753s # g_value_init (¶mv[n], G_TYPE_VARIANT); 753s # g_value_set_variant (¶mv[n], child); 753s # n++; 753s # } 753s # else 753s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 753s # g_variant_unref (child); 753s # } 753s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 753s # g_signal_emitv (paramv, signal_id, 0, NULL); 753s # for (n = 0; n < num_params + 1; n++) 753s # g_value_unset (¶mv[n]); 753s # g_free (paramv); 753s # } 753s # 753s # static void 753s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 753s # GVariant *changed_properties, 753s # const gchar *const *invalidated_properties) 753s # { 753s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 753s # guint n; 753s # const gchar *key; 753s # GVariantIter *iter; 753s # _ExtendedGDBusPropertyInfo *info; 753s # g_variant_get (changed_properties, "a{sv}", &iter); 753s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 753s # { 753s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 753s # g_datalist_remove_data (&proxy->priv->qdata, key); 753s # if (info != NULL) 753s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 753s # } 753s # g_variant_iter_free (iter); 753s # for (n = 0; invalidated_properties[n] != NULL; n++) 753s # { 753s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 753s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 753s # if (info != NULL) 753s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 753s # } 753s # } 753s # 753s # static void 753s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 753s # { 753s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 753s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 753s # #else 753s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 753s # #endif 753s # 753s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 753s # } 753s # 753s # static void 753s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 753s # { 753s # GObjectClass *gobject_class; 753s # GDBusProxyClass *proxy_class; 753s # 753s # gobject_class = G_OBJECT_CLASS (klass); 753s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 753s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 753s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 753s # 753s # proxy_class = G_DBUS_PROXY_CLASS (klass); 753s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 753s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 753s # 753s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 753s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 753s # #endif 753s # } 753s # 753s # static void 753s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 753s # { 753s # } 753s # 753s # /** 753s # * org_project_callable_iface_proxy_new: 753s # * @connection: A #GDBusConnection. 753s # * @flags: Flags from the #GDBusProxyFlags enumeration. 753s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 753s # * @object_path: An object path. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 753s # * @user_data: User data to pass to @callback. 753s # * 753s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 753s # * 753s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 753s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 753s # * 753s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 753s # */ 753s # void 753s # org_project_callable_iface_proxy_new ( 753s # GDBusConnection *connection, 753s # GDBusProxyFlags flags, 753s # const gchar *name, 753s # const gchar *object_path, 753s # GCancellable *cancellable, 753s # GAsyncReadyCallback callback, 753s # gpointer user_data) 753s # { 753s # 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); 753s # } 753s # 753s # /** 753s # * org_project_callable_iface_proxy_new_finish: 753s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 753s # * @error: Return location for error or %NULL 753s # * 753s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 753s # * 753s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 753s # */ 753s # OrgProjectCallableIface * 753s # org_project_callable_iface_proxy_new_finish ( 753s # GAsyncResult *res, 753s # GError **error) 753s # { 753s # GObject *ret; 753s # GObject *source_object; 753s # source_object = g_async_result_get_source_object (res); 753s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 753s # g_object_unref (source_object); 753s # if (ret != NULL) 753s # return ORG_PROJECT_CALLABLE_IFACE (ret); 753s # else 753s # return NULL; 753s # } 753s # 753s # /** 753s # * org_project_callable_iface_proxy_new_sync: 753s # * @connection: A #GDBusConnection. 753s # * @flags: Flags from the #GDBusProxyFlags enumeration. 753s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 753s # * @object_path: An object path. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @error: Return location for error or %NULL 753s # * 753s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 753s # * 753s # * The calling thread is blocked until a reply is received. 753s # * 753s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 753s # * 753s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 753s # */ 753s # OrgProjectCallableIface * 753s # org_project_callable_iface_proxy_new_sync ( 753s # GDBusConnection *connection, 753s # GDBusProxyFlags flags, 753s # const gchar *name, 753s # const gchar *object_path, 753s # GCancellable *cancellable, 753s # GError **error) 753s # { 753s # GInitable *ret; 753s # 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); 753s # if (ret != NULL) 753s # return ORG_PROJECT_CALLABLE_IFACE (ret); 753s # else 753s # return NULL; 753s # } 753s # 753s # 753s # /** 753s # * org_project_callable_iface_proxy_new_for_bus: 753s # * @bus_type: A #GBusType. 753s # * @flags: Flags from the #GDBusProxyFlags enumeration. 753s # * @name: A bus name (well-known or unique). 753s # * @object_path: An object path. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 753s # * @user_data: User data to pass to @callback. 753s # * 753s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 753s # * 753s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 753s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 753s # * 753s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 753s # */ 753s # void 753s # org_project_callable_iface_proxy_new_for_bus ( 753s # GBusType bus_type, 753s # GDBusProxyFlags flags, 753s # const gchar *name, 753s # const gchar *object_path, 753s # GCancellable *cancellable, 753s # GAsyncReadyCallback callback, 753s # gpointer user_data) 753s # { 753s # 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); 753s # } 753s # 753s # /** 753s # * org_project_callable_iface_proxy_new_for_bus_finish: 753s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 753s # * @error: Return location for error or %NULL 753s # * 753s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 753s # * 753s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 753s # */ 753s # OrgProjectCallableIface * 753s # org_project_callable_iface_proxy_new_for_bus_finish ( 753s # GAsyncResult *res, 753s # GError **error) 753s # { 753s # GObject *ret; 753s # GObject *source_object; 753s # source_object = g_async_result_get_source_object (res); 753s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 753s # g_object_unref (source_object); 753s # if (ret != NULL) 753s # return ORG_PROJECT_CALLABLE_IFACE (ret); 753s # else 753s # return NULL; 753s # } 753s # 753s # /** 753s # * org_project_callable_iface_proxy_new_for_bus_sync: 753s # * @bus_type: A #GBusType. 753s # * @flags: Flags from the #GDBusProxyFlags enumeration. 753s # * @name: A bus name (well-known or unique). 753s # * @object_path: An object path. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @error: Return location for error or %NULL 753s # * 753s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 753s # * 753s # * The calling thread is blocked until a reply is received. 753s # * 753s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 753s # * 753s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 753s # */ 753s # OrgProjectCallableIface * 753s # org_project_callable_iface_proxy_new_for_bus_sync ( 753s # GBusType bus_type, 753s # GDBusProxyFlags flags, 753s # const gchar *name, 753s # const gchar *object_path, 753s # GCancellable *cancellable, 753s # GError **error) 753s # { 753s # GInitable *ret; 753s # 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); 753s # if (ret != NULL) 753s # return ORG_PROJECT_CALLABLE_IFACE (ret); 753s # else 753s # return NULL; 753s # } 753s # 753s # 753s # /* ------------------------------------------------------------------------ */ 753s # 753s # /** 753s # * OrgProjectCallableIfaceSkeleton: 753s # * 753s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 753s # */ 753s # 753s # /** 753s # * OrgProjectCallableIfaceSkeletonClass: 753s # * @parent_class: The parent class. 753s # * 753s # * Class structure for #OrgProjectCallableIfaceSkeleton. 753s # */ 753s # 753s # struct _OrgProjectCallableIfaceSkeletonPrivate 753s # { 753s # GValue *properties; 753s # GList *changed_properties; 753s # GSource *changed_properties_idle_source; 753s # GMainContext *context; 753s # GMutex lock; 753s # }; 753s # 753s # static void 753s # _org_project_callable_iface_skeleton_handle_method_call ( 753s # GDBusConnection *connection G_GNUC_UNUSED, 753s # const gchar *sender G_GNUC_UNUSED, 753s # const gchar *object_path G_GNUC_UNUSED, 753s # const gchar *interface_name, 753s # const gchar *method_name, 753s # GVariant *parameters, 753s # GDBusMethodInvocation *invocation, 753s # gpointer user_data) 753s # { 753s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 753s # _ExtendedGDBusMethodInfo *info; 753s # GVariantIter iter; 753s # GVariant *child; 753s # GValue *paramv; 753s # gsize num_params; 753s # guint num_extra; 753s # gsize n; 753s # guint signal_id; 753s # GValue return_value = G_VALUE_INIT; 753s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 753s # g_assert (info != NULL); 753s # num_params = g_variant_n_children (parameters); 753s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 753s # n = 0; 753s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 753s # g_value_set_object (¶mv[n++], skeleton); 753s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 753s # g_value_set_object (¶mv[n++], invocation); 753s # if (info->pass_fdlist) 753s # { 753s # #ifdef G_OS_UNIX 753s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 753s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 753s # #else 753s # g_assert_not_reached (); 753s # #endif 753s # } 753s # g_variant_iter_init (&iter, parameters); 753s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 753s # { 753s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 753s # if (arg_info->use_gvariant) 753s # { 753s # g_value_init (¶mv[n], G_TYPE_VARIANT); 753s # g_value_set_variant (¶mv[n], child); 753s # n++; 753s # } 753s # else 753s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 753s # g_variant_unref (child); 753s # } 753s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 753s # g_value_init (&return_value, G_TYPE_BOOLEAN); 753s # g_signal_emitv (paramv, signal_id, 0, &return_value); 753s # if (!g_value_get_boolean (&return_value)) 753s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 753s # g_value_unset (&return_value); 753s # for (n = 0; n < num_params + num_extra; n++) 753s # g_value_unset (¶mv[n]); 753s # g_free (paramv); 753s # } 753s # 753s # static GVariant * 753s # _org_project_callable_iface_skeleton_handle_get_property ( 753s # GDBusConnection *connection G_GNUC_UNUSED, 753s # const gchar *sender G_GNUC_UNUSED, 753s # const gchar *object_path G_GNUC_UNUSED, 753s # const gchar *interface_name G_GNUC_UNUSED, 753s # const gchar *property_name, 753s # GError **error, 753s # gpointer user_data) 753s # { 753s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 753s # GValue value = G_VALUE_INIT; 753s # GParamSpec *pspec; 753s # _ExtendedGDBusPropertyInfo *info; 753s # GVariant *ret; 753s # ret = NULL; 753s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 753s # g_assert (info != NULL); 753s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 753s # if (pspec == NULL) 753s # { 753s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 753s # } 753s # else 753s # { 753s # g_value_init (&value, pspec->value_type); 753s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 753s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 753s # g_value_unset (&value); 753s # } 753s # return ret; 753s # } 753s # 753s # static gboolean 753s # _org_project_callable_iface_skeleton_handle_set_property ( 753s # GDBusConnection *connection G_GNUC_UNUSED, 753s # const gchar *sender G_GNUC_UNUSED, 753s # const gchar *object_path G_GNUC_UNUSED, 753s # const gchar *interface_name G_GNUC_UNUSED, 753s # const gchar *property_name, 753s # GVariant *variant, 753s # GError **error, 753s # gpointer user_data) 753s # { 753s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 753s # GValue value = G_VALUE_INIT; 753s # GParamSpec *pspec; 753s # _ExtendedGDBusPropertyInfo *info; 753s # gboolean ret; 753s # ret = FALSE; 753s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 753s # g_assert (info != NULL); 753s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 753s # if (pspec == NULL) 753s # { 753s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 753s # } 753s # else 753s # { 753s # if (info->use_gvariant) 753s # g_value_set_variant (&value, variant); 753s # else 753s # g_dbus_gvariant_to_gvalue (variant, &value); 753s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 753s # g_value_unset (&value); 753s # ret = TRUE; 753s # } 753s # return ret; 753s # } 753s # 753s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 753s # { 753s # _org_project_callable_iface_skeleton_handle_method_call, 753s # _org_project_callable_iface_skeleton_handle_get_property, 753s # _org_project_callable_iface_skeleton_handle_set_property, 753s # {NULL} 753s # }; 753s # 753s # static GDBusInterfaceInfo * 753s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 753s # { 753s # return org_project_callable_iface_interface_info (); 753s # } 753s # 753s # static GDBusInterfaceVTable * 753s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 753s # { 753s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 753s # } 753s # 753s # static GVariant * 753s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 753s # { 753s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 753s # 753s # GVariantBuilder builder; 753s # guint n; 753s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 753s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 753s # #else 753s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 753s # #endif 753s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 753s # goto out; 753s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 753s # { 753s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 753s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 753s # { 753s # GVariant *value; 753s # 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); 753s # if (value != NULL) 753s # { 753s # g_variant_take_ref (value); 753s # g_variant_builder_add (&builder, "{sv}", info->name, value); 753s # g_variant_unref (value); 753s # } 753s # } 753s # } 753s # out: 753s # return g_variant_builder_end (&builder); 753s # } 753s # 753s # static void 753s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 753s # { 753s # } 753s # 753s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 753s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 753s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 753s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 753s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 753s # 753s # #else 753s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 753s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 753s # 753s # #endif 753s # static void 753s # org_project_callable_iface_skeleton_finalize (GObject *object) 753s # { 753s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 753s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 753s # if (skeleton->priv->changed_properties_idle_source != NULL) 753s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 753s # g_main_context_unref (skeleton->priv->context); 753s # g_mutex_clear (&skeleton->priv->lock); 753s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 753s # } 753s # 753s # static void 753s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 753s # { 753s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 753s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 753s # #else 753s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 753s # #endif 753s # 753s # g_mutex_init (&skeleton->priv->lock); 753s # skeleton->priv->context = g_main_context_ref_thread_default (); 753s # } 753s # 753s # static void 753s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 753s # { 753s # GObjectClass *gobject_class; 753s # GDBusInterfaceSkeletonClass *skeleton_class; 753s # 753s # gobject_class = G_OBJECT_CLASS (klass); 753s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 753s # 753s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 753s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 753s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 753s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 753s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 753s # 753s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 753s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 753s # #endif 753s # } 753s # 753s # static void 753s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 753s # { 753s # } 753s # 753s # /** 753s # * org_project_callable_iface_skeleton_new: 753s # * 753s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 753s # * 753s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 753s # */ 753s # OrgProjectCallableIface * 753s # org_project_callable_iface_skeleton_new (void) 753s # { 753s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 753s # } 753s # 753s # /* ------------------------------------------------------------------------ 753s # * Code for interface org.project.OtherCallableIface 753s # * ------------------------------------------------------------------------ 753s # */ 753s # 753s # /** 753s # * SECTION:OrgProjectOtherCallableIface 753s # * @title: OrgProjectOtherCallableIface 753s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 753s # * 753s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 753s # */ 753s # 753s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 753s # 753s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 753s # { 753s # { 753s # -1, 753s # (gchar *) "SimpleMethod", 753s # NULL, 753s # NULL, 753s # NULL 753s # }, 753s # "handle-simple-method", 753s # FALSE 753s # }; 753s # 753s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 753s # { 753s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 753s # NULL 753s # }; 753s # 753s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 753s # { 753s # { 753s # -1, 753s # (gchar *) "org.project.OtherCallableIface", 753s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 753s # NULL, 753s # NULL, 753s # NULL 753s # }, 753s # "org-project-other-callable-iface", 753s # }; 753s # 753s # 753s # /** 753s # * org_project_other_callable_iface_interface_info: 753s # * 753s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 753s # * 753s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 753s # */ 753s # GDBusInterfaceInfo * 753s # org_project_other_callable_iface_interface_info (void) 753s # { 753s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 753s # } 753s # 753s # /** 753s # * org_project_other_callable_iface_override_properties: 753s # * @klass: The class structure for a #GObject derived class. 753s # * @property_id_begin: The property id to assign to the first overridden property. 753s # * 753s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 753s # * The properties are overridden in the order they are defined. 753s # * 753s # * Returns: The last property id. 753s # */ 753s # guint 753s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 753s # { 753s # return property_id_begin - 1; 753s # } 753s # 753s # 753s # inline static void 753s # org_project_other_callable_iface_method_marshal_simple_method ( 753s # GClosure *closure, 753s # GValue *return_value, 753s # unsigned int n_param_values, 753s # const GValue *param_values, 753s # void *invocation_hint, 753s # void *marshal_data) 753s # { 753s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 753s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 753s # } 753s # 753s # 753s # /** 753s # * OrgProjectOtherCallableIface: 753s # * 753s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 753s # */ 753s # 753s # /** 753s # * OrgProjectOtherCallableIfaceIface: 753s # * @parent_iface: The parent interface. 753s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 753s # * 753s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 753s # */ 753s # 753s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 753s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 753s # 753s # static void 753s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 753s # { 753s # /* GObject signals for incoming D-Bus method calls: */ 753s # /** 753s # * OrgProjectOtherCallableIface::handle-simple-method: 753s # * @object: A #OrgProjectOtherCallableIface. 753s # * @invocation: A #GDBusMethodInvocation. 753s # * 753s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 753s # * 753s # * 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. 753s # * 753s # * 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. 753s # */ 753s # g_signal_new ("handle-simple-method", 753s # G_TYPE_FROM_INTERFACE (iface), 753s # G_SIGNAL_RUN_LAST, 753s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 753s # g_signal_accumulator_true_handled, 753s # NULL, 753s # org_project_other_callable_iface_method_marshal_simple_method, 753s # G_TYPE_BOOLEAN, 753s # 1, 753s # G_TYPE_DBUS_METHOD_INVOCATION); 753s # 753s # } 753s # 753s # /** 753s # * org_project_other_callable_iface_call_simple_method: 753s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 753s # * @user_data: User data to pass to @callback. 753s # * 753s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 753s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 753s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 753s # * 753s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 753s # */ 753s # void 753s # org_project_other_callable_iface_call_simple_method ( 753s # OrgProjectOtherCallableIface *proxy, 753s # GCancellable *cancellable, 753s # GAsyncReadyCallback callback, 753s # gpointer user_data) 753s # { 753s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 753s # "SimpleMethod", 753s # g_variant_new ("()"), 753s # G_DBUS_CALL_FLAGS_NONE, 753s # -1, 753s # cancellable, 753s # callback, 753s # user_data); 753s # } 753s # 753s # /** 753s # * org_project_other_callable_iface_call_simple_method_finish: 753s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 753s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 753s # * @error: Return location for error or %NULL. 753s # * 753s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 753s # * 753s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 753s # */ 753s # gboolean 753s # org_project_other_callable_iface_call_simple_method_finish ( 753s # OrgProjectOtherCallableIface *proxy, 753s # GAsyncResult *res, 753s # GError **error) 753s # { 753s # GVariant *_ret; 753s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 753s # if (_ret == NULL) 753s # goto _out; 753s # g_variant_get (_ret, 753s # "()"); 753s # g_variant_unref (_ret); 753s # _out: 753s # return _ret != NULL; 753s # } 753s # 753s # /** 753s # * org_project_other_callable_iface_call_simple_method_sync: 753s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @error: Return location for error or %NULL. 753s # * 753s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 753s # * 753s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 753s # * 753s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 753s # */ 753s # gboolean 753s # org_project_other_callable_iface_call_simple_method_sync ( 753s # OrgProjectOtherCallableIface *proxy, 753s # GCancellable *cancellable, 753s # GError **error) 753s # { 753s # GVariant *_ret; 753s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 753s # "SimpleMethod", 753s # g_variant_new ("()"), 753s # G_DBUS_CALL_FLAGS_NONE, 753s # -1, 753s # cancellable, 753s # error); 753s # if (_ret == NULL) 753s # goto _out; 753s # g_variant_get (_ret, 753s # "()"); 753s # g_variant_unref (_ret); 753s # _out: 753s # return _ret != NULL; 753s # } 753s # 753s # /** 753s # * org_project_other_callable_iface_complete_simple_method: 753s # * @object: A #OrgProjectOtherCallableIface. 753s # * @invocation: (transfer full): A #GDBusMethodInvocation. 753s # * 753s # * 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. 753s # * 753s # * This method will free @invocation, you cannot use it afterwards. 753s # */ 753s # void 753s # org_project_other_callable_iface_complete_simple_method ( 753s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 753s # GDBusMethodInvocation *invocation) 753s # { 753s # g_dbus_method_invocation_return_value (invocation, 753s # g_variant_new ("()")); 753s # } 753s # 753s # /* ------------------------------------------------------------------------ */ 753s # 753s # /** 753s # * OrgProjectOtherCallableIfaceProxy: 753s # * 753s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 753s # */ 753s # 753s # /** 753s # * OrgProjectOtherCallableIfaceProxyClass: 753s # * @parent_class: The parent class. 753s # * 753s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 753s # */ 753s # 753s # struct _OrgProjectOtherCallableIfaceProxyPrivate 753s # { 753s # GData *qdata; 753s # }; 753s # 753s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 753s # 753s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 753s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 753s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 753s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 753s # 753s # #else 753s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 753s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 753s # 753s # #endif 753s # static void 753s # org_project_other_callable_iface_proxy_finalize (GObject *object) 753s # { 753s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 753s # g_datalist_clear (&proxy->priv->qdata); 753s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 753s # } 753s # 753s # static void 753s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 753s # guint prop_id G_GNUC_UNUSED, 753s # GValue *value G_GNUC_UNUSED, 753s # GParamSpec *pspec G_GNUC_UNUSED) 753s # { 753s # } 753s # 753s # static void 753s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 753s # guint prop_id G_GNUC_UNUSED, 753s # const GValue *value G_GNUC_UNUSED, 753s # GParamSpec *pspec G_GNUC_UNUSED) 753s # { 753s # } 753s # 753s # static void 753s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 753s # const gchar *sender_name G_GNUC_UNUSED, 753s # const gchar *signal_name, 753s # GVariant *parameters) 753s # { 753s # _ExtendedGDBusSignalInfo *info; 753s # GVariantIter iter; 753s # GVariant *child; 753s # GValue *paramv; 753s # gsize num_params; 753s # gsize n; 753s # guint signal_id; 753s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 753s # if (info == NULL) 753s # return; 753s # num_params = g_variant_n_children (parameters); 753s # paramv = g_new0 (GValue, num_params + 1); 753s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 753s # g_value_set_object (¶mv[0], proxy); 753s # g_variant_iter_init (&iter, parameters); 753s # n = 1; 753s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 753s # { 753s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 753s # if (arg_info->use_gvariant) 753s # { 753s # g_value_init (¶mv[n], G_TYPE_VARIANT); 753s # g_value_set_variant (¶mv[n], child); 753s # n++; 753s # } 753s # else 753s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 753s # g_variant_unref (child); 753s # } 753s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 753s # g_signal_emitv (paramv, signal_id, 0, NULL); 753s # for (n = 0; n < num_params + 1; n++) 753s # g_value_unset (¶mv[n]); 753s # g_free (paramv); 753s # } 753s # 753s # static void 753s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 753s # GVariant *changed_properties, 753s # const gchar *const *invalidated_properties) 753s # { 753s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 753s # guint n; 753s # const gchar *key; 753s # GVariantIter *iter; 753s # _ExtendedGDBusPropertyInfo *info; 753s # g_variant_get (changed_properties, "a{sv}", &iter); 753s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 753s # { 753s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 753s # g_datalist_remove_data (&proxy->priv->qdata, key); 753s # if (info != NULL) 753s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 753s # } 753s # g_variant_iter_free (iter); 753s # for (n = 0; invalidated_properties[n] != NULL; n++) 753s # { 753s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 753s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 753s # if (info != NULL) 753s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 753s # } 753s # } 753s # 753s # static void 753s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 753s # { 753s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 753s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 753s # #else 753s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 753s # #endif 753s # 753s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 753s # } 753s # 753s # static void 753s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 753s # { 753s # GObjectClass *gobject_class; 753s # GDBusProxyClass *proxy_class; 753s # 753s # gobject_class = G_OBJECT_CLASS (klass); 753s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 753s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 753s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 753s # 753s # proxy_class = G_DBUS_PROXY_CLASS (klass); 753s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 753s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 753s # 753s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 753s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 753s # #endif 753s # } 753s # 753s # static void 753s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 753s # { 753s # } 753s # 753s # /** 753s # * org_project_other_callable_iface_proxy_new: 753s # * @connection: A #GDBusConnection. 753s # * @flags: Flags from the #GDBusProxyFlags enumeration. 753s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 753s # * @object_path: An object path. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 753s # * @user_data: User data to pass to @callback. 753s # * 753s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 753s # * 753s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 753s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 753s # * 753s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 753s # */ 753s # void 753s # org_project_other_callable_iface_proxy_new ( 753s # GDBusConnection *connection, 753s # GDBusProxyFlags flags, 753s # const gchar *name, 753s # const gchar *object_path, 753s # GCancellable *cancellable, 753s # GAsyncReadyCallback callback, 753s # gpointer user_data) 753s # { 753s # 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); 753s # } 753s # 753s # /** 753s # * org_project_other_callable_iface_proxy_new_finish: 753s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 753s # * @error: Return location for error or %NULL 753s # * 753s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 753s # * 753s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 753s # */ 753s # OrgProjectOtherCallableIface * 753s # org_project_other_callable_iface_proxy_new_finish ( 753s # GAsyncResult *res, 753s # GError **error) 753s # { 753s # GObject *ret; 753s # GObject *source_object; 753s # source_object = g_async_result_get_source_object (res); 753s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 753s # g_object_unref (source_object); 753s # if (ret != NULL) 753s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 753s # else 753s # return NULL; 753s # } 753s # 753s # /** 753s # * org_project_other_callable_iface_proxy_new_sync: 753s # * @connection: A #GDBusConnection. 753s # * @flags: Flags from the #GDBusProxyFlags enumeration. 753s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 753s # * @object_path: An object path. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @error: Return location for error or %NULL 753s # * 753s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 753s # * 753s # * The calling thread is blocked until a reply is received. 753s # * 753s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 753s # * 753s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 753s # */ 753s # OrgProjectOtherCallableIface * 753s # org_project_other_callable_iface_proxy_new_sync ( 753s # GDBusConnection *connection, 753s # GDBusProxyFlags flags, 753s # const gchar *name, 753s # const gchar *object_path, 753s # GCancellable *cancellable, 753s # GError **error) 753s # { 753s # GInitable *ret; 753s # 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); 753s # if (ret != NULL) 753s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 753s # else 753s # return NULL; 753s # } 753s # 753s # 753s # /** 753s # * org_project_other_callable_iface_proxy_new_for_bus: 753s # * @bus_type: A #GBusType. 753s # * @flags: Flags from the #GDBusProxyFlags enumeration. 753s # * @name: A bus name (well-known or unique). 753s # * @object_path: An object path. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 753s # * @user_data: User data to pass to @callback. 753s # * 753s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 753s # * 753s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 753s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 753s # * 753s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 753s # */ 753s # void 753s # org_project_other_callable_iface_proxy_new_for_bus ( 753s # GBusType bus_type, 753s # GDBusProxyFlags flags, 753s # const gchar *name, 753s # const gchar *object_path, 753s # GCancellable *cancellable, 753s # GAsyncReadyCallback callback, 753s # gpointer user_data) 753s # { 753s # 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); 753s # } 753s # 753s # /** 753s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 753s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 753s # * @error: Return location for error or %NULL 753s # * 753s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 753s # * 753s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 753s # */ 753s # OrgProjectOtherCallableIface * 753s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 753s # GAsyncResult *res, 753s # GError **error) 753s # { 753s # GObject *ret; 753s # GObject *source_object; 753s # source_object = g_async_result_get_source_object (res); 753s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 753s # g_object_unref (source_object); 753s # if (ret != NULL) 753s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 753s # else 753s # return NULL; 753s # } 753s # 753s # /** 753s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 753s # * @bus_type: A #GBusType. 753s # * @flags: Flags from the #GDBusProxyFlags enumeration. 753s # * @name: A bus name (well-known or unique). 753s # * @object_path: An object path. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @error: Return location for error or %NULL 753s # * 753s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 753s # * 753s # * The calling thread is blocked until a reply is received. 753s # * 753s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 753s # * 753s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 753s # */ 753s # OrgProjectOtherCallableIface * 753s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 753s # GBusType bus_type, 753s # GDBusProxyFlags flags, 753s # const gchar *name, 753s # const gchar *object_path, 753s # GCancellable *cancellable, 753s # GError **error) 753s # { 753s # GInitable *ret; 753s # 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); 753s # if (ret != NULL) 753s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 753s # else 753s # return NULL; 753s # } 753s # 753s # 753s # /* ------------------------------------------------------------------------ */ 753s # 753s # /** 753s # * OrgProjectOtherCallableIfaceSkeleton: 753s # * 753s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 753s # */ 753s # 753s # /** 753s # * OrgProjectOtherCallableIfaceSkeletonClass: 753s # * @parent_class: The parent class. 753s # * 753s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 753s # */ 753s # 753s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 753s # { 753s # GValue *properties; 753s # GList *changed_properties; 753s # GSource *changed_properties_idle_source; 753s # GMainContext *context; 753s # GMutex lock; 753s # }; 753s # 753s # static void 753s # _org_project_other_callable_iface_skeleton_handle_method_call ( 753s # GDBusConnection *connection G_GNUC_UNUSED, 753s # const gchar *sender G_GNUC_UNUSED, 753s # const gchar *object_path G_GNUC_UNUSED, 753s # const gchar *interface_name, 753s # const gchar *method_name, 753s # GVariant *parameters, 753s # GDBusMethodInvocation *invocation, 753s # gpointer user_data) 753s # { 753s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 753s # _ExtendedGDBusMethodInfo *info; 753s # GVariantIter iter; 753s # GVariant *child; 753s # GValue *paramv; 753s # gsize num_params; 753s # guint num_extra; 753s # gsize n; 753s # guint signal_id; 753s # GValue return_value = G_VALUE_INIT; 753s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 753s # g_assert (info != NULL); 753s # num_params = g_variant_n_children (parameters); 753s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 753s # n = 0; 753s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 753s # g_value_set_object (¶mv[n++], skeleton); 753s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 753s # g_value_set_object (¶mv[n++], invocation); 753s # if (info->pass_fdlist) 753s # { 753s # #ifdef G_OS_UNIX 753s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 753s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 753s # #else 753s # g_assert_not_reached (); 753s # #endif 753s # } 753s # g_variant_iter_init (&iter, parameters); 753s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 753s # { 753s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 753s # if (arg_info->use_gvariant) 753s # { 753s # g_value_init (¶mv[n], G_TYPE_VARIANT); 753s # g_value_set_variant (¶mv[n], child); 753s # n++; 753s # } 753s # else 753s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 753s # g_variant_unref (child); 753s # } 753s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 753s # g_value_init (&return_value, G_TYPE_BOOLEAN); 753s # g_signal_emitv (paramv, signal_id, 0, &return_value); 753s # if (!g_value_get_boolean (&return_value)) 753s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 753s # g_value_unset (&return_value); 753s # for (n = 0; n < num_params + num_extra; n++) 753s # g_value_unset (¶mv[n]); 753s # g_free (paramv); 753s # } 753s # 753s # static GVariant * 753s # _org_project_other_callable_iface_skeleton_handle_get_property ( 753s # GDBusConnection *connection G_GNUC_UNUSED, 753s # const gchar *sender G_GNUC_UNUSED, 753s # const gchar *object_path G_GNUC_UNUSED, 753s # const gchar *interface_name G_GNUC_UNUSED, 753s # const gchar *property_name, 753s # GError **error, 753s # gpointer user_data) 753s # { 753s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 753s # GValue value = G_VALUE_INIT; 753s # GParamSpec *pspec; 753s # _ExtendedGDBusPropertyInfo *info; 753s # GVariant *ret; 753s # ret = NULL; 753s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 753s # g_assert (info != NULL); 753s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 753s # if (pspec == NULL) 753s # { 753s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 753s # } 753s # else 753s # { 753s # g_value_init (&value, pspec->value_type); 753s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 753s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 753s # g_value_unset (&value); 753s # } 753s # return ret; 753s # } 753s # 753s # static gboolean 753s # _org_project_other_callable_iface_skeleton_handle_set_property ( 753s # GDBusConnection *connection G_GNUC_UNUSED, 753s # const gchar *sender G_GNUC_UNUSED, 753s # const gchar *object_path G_GNUC_UNUSED, 753s # const gchar *interface_name G_GNUC_UNUSED, 753s # const gchar *property_name, 753s # GVariant *variant, 753s # GError **error, 753s # gpointer user_data) 753s # { 753s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 753s # GValue value = G_VALUE_INIT; 753s # GParamSpec *pspec; 753s # _ExtendedGDBusPropertyInfo *info; 753s # gboolean ret; 753s # ret = FALSE; 753s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 753s # g_assert (info != NULL); 753s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 753s # if (pspec == NULL) 753s # { 753s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 753s # } 753s # else 753s # { 753s # if (info->use_gvariant) 753s # g_value_set_variant (&value, variant); 753s # else 753s # g_dbus_gvariant_to_gvalue (variant, &value); 753s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 753s # g_value_unset (&value); 753s # ret = TRUE; 753s # } 753s # return ret; 753s # } 753s # 753s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 753s # { 753s # _org_project_other_callable_iface_skeleton_handle_method_call, 753s # _org_project_other_callable_iface_skeleton_handle_get_property, 753s # _org_project_other_callable_iface_skeleton_handle_set_property, 753s # {NULL} 753s # }; 753s # 753s # static GDBusInterfaceInfo * 753s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 753s # { 753s # return org_project_other_callable_iface_interface_info (); 753s # } 753s # 753s # static GDBusInterfaceVTable * 753s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 753s # { 753s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 753s # } 753s # 753s # static GVariant * 753s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 753s # { 753s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 753s # 753s # GVariantBuilder builder; 753s # guint n; 753s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 753s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 753s # #else 753s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 753s # #endif 753s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 753s # goto out; 753s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 753s # { 753s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 753s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 753s # { 753s # GVariant *value; 753s # 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); 753s # if (value != NULL) 753s # { 753s # g_variant_take_ref (value); 753s # g_variant_builder_add (&builder, "{sv}", info->name, value); 753s # g_variant_unref (value); 753s # } 753s # } 753s # } 753s # out: 753s # return g_variant_builder_end (&builder); 753s # } 753s # 753s # static void 753s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 753s # { 753s # } 753s # 753s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 753s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 753s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 753s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 753s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 753s # 753s # #else 753s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 753s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 753s # 753s # #endif 753s # static void 753s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 753s # { 753s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 753s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 753s # if (skeleton->priv->changed_properties_idle_source != NULL) 753s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 753s # g_main_context_unref (skeleton->priv->context); 753s # g_mutex_clear (&skeleton->priv->lock); 753s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 753s # } 753s # 753s # static void 753s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 753s # { 753s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 753s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 753s # #else 753s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 753s # #endif 753s # 753s # g_mutex_init (&skeleton->priv->lock); 753s # skeleton->priv->context = g_main_context_ref_thread_default (); 753s # } 753s # 753s # static void 753s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 753s # { 753s # GObjectClass *gobject_class; 753s # GDBusInterfaceSkeletonClass *skeleton_class; 753s # 753s # gobject_class = G_OBJECT_CLASS (klass); 753s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 753s # 753s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 753s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 753s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 753s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 753s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 753s # 753s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 753s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 753s # #endif 753s # } 753s # 753s # static void 753s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 753s # { 753s # } 753s # 753s # /** 753s # * org_project_other_callable_iface_skeleton_new: 753s # * 753s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 753s # * 753s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 753s # */ 753s # OrgProjectOtherCallableIface * 753s # org_project_other_callable_iface_skeleton_new (void) 753s # { 753s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 753s # } 753s # Error: 753s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 753s # gdbus-codegen: /usr/bin/gdbus-codegen 753s # tmpdir: /tmp/tmpd2nl81_5 753s # /tmp/tmpd2nl81_5/tmpxkm08a6t.xml: 753s # 753s # 753s # 753s # 753s # 753s # 753s # 753s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd2nl81_5/tmpxkm08a6t.xml', '--output', '-', '--body'] 753s # Return code: 0 753s # Output: 753s # /* 753s # * This file is generated by gdbus-codegen, do not modify it. 753s # * 753s # * The license of this code is the same as for the D-Bus interface description 753s # * it was derived from. Note that it links to GLib, so must comply with the 753s # * LGPL linking clauses. 753s # */ 753s # 753s # #ifdef HAVE_CONFIG_H 753s # # include "config.h" 753s # #endif 753s # 753s # #include 753s # #ifdef G_OS_UNIX 753s # # include 753s # #endif 753s # 753s # #ifdef G_ENABLE_DEBUG 753s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 753s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 753s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 753s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 753s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 753s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 753s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 753s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 753s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 753s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 753s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 753s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 753s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 753s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 753s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 753s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 753s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 753s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 753s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 753s # #else /* !G_ENABLE_DEBUG */ 753s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 753s # * Do not access GValues directly in your code. Instead, use the 753s # * g_value_get_*() functions 753s # */ 753s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 753s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 753s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 753s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 753s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 753s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 753s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 753s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 753s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 753s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 753s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 753s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 753s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 753s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 753s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 753s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 753s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 753s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 753s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 753s # #endif /* !G_ENABLE_DEBUG */ 753s # 753s # typedef struct 753s # { 753s # GDBusArgInfo parent_struct; 753s # gboolean use_gvariant; 753s # } _ExtendedGDBusArgInfo; 753s # 753s # typedef struct 753s # { 753s # GDBusMethodInfo parent_struct; 753s # const gchar *signal_name; 753s # gboolean pass_fdlist; 753s # } _ExtendedGDBusMethodInfo; 753s # 753s # typedef struct 753s # { 753s # GDBusSignalInfo parent_struct; 753s # const gchar *signal_name; 753s # } _ExtendedGDBusSignalInfo; 753s # 753s # typedef struct 753s # { 753s # GDBusPropertyInfo parent_struct; 753s # const gchar *hyphen_name; 753s # guint use_gvariant : 1; 753s # guint emits_changed_signal : 1; 753s # } _ExtendedGDBusPropertyInfo; 753s # 753s # typedef struct 753s # { 753s # GDBusInterfaceInfo parent_struct; 753s # const gchar *hyphen_name; 753s # } _ExtendedGDBusInterfaceInfo; 753s # 753s # typedef struct 753s # { 753s # const _ExtendedGDBusPropertyInfo *info; 753s # guint prop_id; 753s # GValue orig_value; /* the value before the change */ 753s # } ChangedProperty; 753s # 753s # static void 753s # _changed_property_free (ChangedProperty *data) 753s # { 753s # g_value_unset (&data->orig_value); 753s # g_free (data); 753s # } 753s # 753s # static gboolean 753s # _g_strv_equal0 (gchar **a, gchar **b) 753s # { 753s # gboolean ret = FALSE; 753s # guint n; 753s # if (a == NULL && b == NULL) 753s # { 753s # ret = TRUE; 753s # goto out; 753s # } 753s # if (a == NULL || b == NULL) 753s # goto out; 753s # if (g_strv_length (a) != g_strv_length (b)) 753s # goto out; 753s # for (n = 0; a[n] != NULL; n++) 753s # if (g_strcmp0 (a[n], b[n]) != 0) 753s # goto out; 753s # ret = TRUE; 753s # out: 753s # return ret; 753s # } 753s # 753s # static gboolean 753s # _g_variant_equal0 (GVariant *a, GVariant *b) 753s # { 753s # gboolean ret = FALSE; 753s # if (a == NULL && b == NULL) 753s # { 753s # ret = TRUE; 753s # goto out; 753s # } 753s # if (a == NULL || b == NULL) 753s # goto out; 753s # ret = g_variant_equal (a, b); 753s # out: 753s # return ret; 753s # } 753s # 753s # G_GNUC_UNUSED static gboolean 753s # _g_value_equal (const GValue *a, const GValue *b) 753s # { 753s # gboolean ret = FALSE; 753s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 753s # switch (G_VALUE_TYPE (a)) 753s # { 753s # case G_TYPE_BOOLEAN: 753s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 753s # break; 753s # case G_TYPE_UCHAR: 753s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 753s # break; 753s # case G_TYPE_INT: 753s # ret = (g_value_get_int (a) == g_value_get_int (b)); 753s # break; 753s # case G_TYPE_UINT: 753s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 753s # break; 753s # case G_TYPE_INT64: 753s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 753s # break; 753s # case G_TYPE_UINT64: 753s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 753s # break; 753s # case G_TYPE_DOUBLE: 753s # { 753s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 753s # gdouble da = g_value_get_double (a); 753s # gdouble db = g_value_get_double (b); 753s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 753s # } 753s # break; 753s # case G_TYPE_STRING: 753s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 753s # break; 753s # case G_TYPE_VARIANT: 753s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 753s # break; 753s # default: 753s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 753s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 753s # else 753s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 753s # break; 753s # } 753s # return ret; 753s # } 753s # 753s # static void 753s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 753s # GClosure *closure, 753s # GValue *return_value, 753s # unsigned int n_param_values, 753s # const GValue *param_values, 753s # void *invocation_hint G_GNUC_UNUSED, 753s # void *marshal_data) 753s # { 753s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 753s # (void *data1, 753s # GDBusMethodInvocation *arg_method_invocation, 753s # gboolean arg_arg_b, 753s # void *data2); 753s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 753s # GCClosure *cc = (GCClosure*) closure; 753s # void *data1, *data2; 753s # gboolean v_return; 753s # 753s # g_return_if_fail (return_value != NULL); 753s # g_return_if_fail (n_param_values == 3); 753s # 753s # if (G_CCLOSURE_SWAP_DATA (closure)) 753s # { 753s # data1 = closure->data; 753s # data2 = g_value_peek_pointer (param_values + 0); 753s # } 753s # else 753s # { 753s # data1 = g_value_peek_pointer (param_values + 0); 753s # data2 = closure->data; 753s # } 753s # 753s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 753s # (marshal_data ? marshal_data : cc->callback); 753s # 753s # v_return = 753s # callback (data1, 753s # g_marshal_value_peek_object (param_values + 1), 753s # g_marshal_value_peek_boolean (param_values + 2), 753s # data2); 753s # 753s # g_value_set_boolean (return_value, v_return); 753s # } 753s # 753s # /* ------------------------------------------------------------------------ 753s # * Code for interface org.project.UsefulInterface 753s # * ------------------------------------------------------------------------ 753s # */ 753s # 753s # /** 753s # * SECTION:OrgProjectUsefulInterface 753s # * @title: OrgProjectUsefulInterface 753s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 753s # * 753s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 753s # */ 753s # 753s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 753s # 753s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 753s # { 753s # { 753s # -1, 753s # (gchar *) "arg_b", 753s # (gchar *) "b", 753s # NULL 753s # }, 753s # FALSE 753s # }; 753s # 753s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 753s # { 753s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 753s # NULL 753s # }; 753s # 753s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 753s # { 753s # { 753s # -1, 753s # (gchar *) "SingleArgMethodB", 753s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 753s # NULL, 753s # NULL 753s # }, 753s # "handle-single-arg-method-b", 753s # FALSE 753s # }; 753s # 753s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 753s # { 753s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 753s # NULL 753s # }; 753s # 753s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 753s # { 753s # { 753s # -1, 753s # (gchar *) "org.project.UsefulInterface", 753s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 753s # NULL, 753s # NULL, 753s # NULL 753s # }, 753s # "org-project-useful-interface", 753s # }; 753s # 753s # 753s # /** 753s # * org_project_useful_interface_interface_info: 753s # * 753s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 753s # * 753s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 753s # */ 753s # GDBusInterfaceInfo * 753s # org_project_useful_interface_interface_info (void) 753s # { 753s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 753s # } 753s # 753s # /** 753s # * org_project_useful_interface_override_properties: 753s # * @klass: The class structure for a #GObject derived class. 753s # * @property_id_begin: The property id to assign to the first overridden property. 753s # * 753s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 753s # * The properties are overridden in the order they are defined. 753s # * 753s # * Returns: The last property id. 753s # */ 753s # guint 753s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 753s # { 753s # return property_id_begin - 1; 753s # } 753s # 753s # 753s # inline static void 753s # org_project_useful_interface_method_marshal_single_arg_method_b ( 753s # GClosure *closure, 753s # GValue *return_value, 753s # unsigned int n_param_values, 753s # const GValue *param_values, 753s # void *invocation_hint, 753s # void *marshal_data) 753s # { 753s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 753s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 753s # } 753s # 753s # 753s # /** 753s # * OrgProjectUsefulInterface: 753s # * 753s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 753s # */ 753s # 753s # /** 753s # * OrgProjectUsefulInterfaceIface: 753s # * @parent_iface: The parent interface. 753s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 753s # * 753s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 753s # */ 753s # 753s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 753s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 753s # 753s # static void 753s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 753s # { 753s # /* GObject signals for incoming D-Bus method calls: */ 753s # /** 753s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 753s # * @object: A #OrgProjectUsefulInterface. 753s # * @invocation: A #GDBusMethodInvocation. 753s # * @arg_arg_b: Argument passed by remote caller. 753s # * 753s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 753s # * 753s # * 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. 753s # * 753s # * 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. 753s # */ 753s # g_signal_new ("handle-single-arg-method-b", 753s # G_TYPE_FROM_INTERFACE (iface), 753s # G_SIGNAL_RUN_LAST, 753s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 753s # g_signal_accumulator_true_handled, 753s # NULL, 753s # org_project_useful_interface_method_marshal_single_arg_method_b, 753s # G_TYPE_BOOLEAN, 753s # 2, 753s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 753s # 753s # } 753s # 753s # /** 753s # * org_project_useful_interface_call_single_arg_method_b: 753s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 753s # * @arg_arg_b: Argument to pass with the method invocation. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 753s # * @user_data: User data to pass to @callback. 753s # * 753s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 753s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 753s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 753s # * 753s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 753s # */ 753s # void 753s # org_project_useful_interface_call_single_arg_method_b ( 753s # OrgProjectUsefulInterface *proxy, 753s # gboolean arg_arg_b, 753s # GCancellable *cancellable, 753s # GAsyncReadyCallback callback, 753s # gpointer user_data) 753s # { 753s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 753s # "SingleArgMethodB", 753s # g_variant_new ("(b)", 753s # arg_arg_b), 753s # G_DBUS_CALL_FLAGS_NONE, 753s # -1, 753s # cancellable, 753s # callback, 753s # user_data); 753s # } 753s # 753s # /** 753s # * org_project_useful_interface_call_single_arg_method_b_finish: 753s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 753s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 753s # * @error: Return location for error or %NULL. 753s # * 753s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 753s # * 753s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 753s # */ 753s # gboolean 753s # org_project_useful_interface_call_single_arg_method_b_finish ( 753s # OrgProjectUsefulInterface *proxy, 753s # GAsyncResult *res, 753s # GError **error) 753s # { 753s # GVariant *_ret; 753s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 753s # if (_ret == NULL) 753s # goto _out; 753s # g_variant_get (_ret, 753s # "()"); 753s # g_variant_unref (_ret); 753s # _out: 753s # return _ret != NULL; 753s # } 753s # 753s # /** 753s # * org_project_useful_interface_call_single_arg_method_b_sync: 753s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 753s # * @arg_arg_b: Argument to pass with the method invocation. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @error: Return location for error or %NULL. 753s # * 753s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 753s # * 753s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 753s # * 753s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 753s # */ 753s # gboolean 753s # org_project_useful_interface_call_single_arg_method_b_sync ( 753s # OrgProjectUsefulInterface *proxy, 753s # gboolean arg_arg_b, 753s # GCancellable *cancellable, 753s # GError **error) 753s # { 753s # GVariant *_ret; 753s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 753s # "SingleArgMethodB", 753s # g_variant_new ("(b)", 753s # arg_arg_b), 753s # G_DBUS_CALL_FLAGS_NONE, 753s # -1, 753s # cancellable, 753s # error); 753s # if (_ret == NULL) 753s # goto _out; 753s # g_variant_get (_ret, 753s # "()"); 753s # g_variant_unref (_ret); 753s # _out: 753s # return _ret != NULL; 753s # } 753s # 753s # /** 753s # * org_project_useful_interface_complete_single_arg_method_b: 753s # * @object: A #OrgProjectUsefulInterface. 753s # * @invocation: (transfer full): A #GDBusMethodInvocation. 753s # * 753s # * 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. 753s # * 753s # * This method will free @invocation, you cannot use it afterwards. 753s # */ 753s # void 753s # org_project_useful_interface_complete_single_arg_method_b ( 753s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 753s # GDBusMethodInvocation *invocation) 753s # { 753s # g_dbus_method_invocation_return_value (invocation, 753s # g_variant_new ("()")); 753s # } 753s # 753s # /* ------------------------------------------------------------------------ */ 753s # 753s # /** 753s # * OrgProjectUsefulInterfaceProxy: 753s # * 753s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 753s # */ 753s # 753s # /** 753s # * OrgProjectUsefulInterfaceProxyClass: 753s # * @parent_class: The parent class. 753s # * 753s # * Class structure for #OrgProjectUsefulInterfaceProxy. 753s # */ 753s # 753s # struct _OrgProjectUsefulInterfaceProxyPrivate 753s # { 753s # GData *qdata; 753s # }; 753s # 753s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 753s # 753s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 753s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 753s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 753s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 753s # 753s # #else 753s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 753s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 753s # 753s # #endif 753s # static void 753s # org_project_useful_interface_proxy_finalize (GObject *object) 753s # { 753s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 753s # g_datalist_clear (&proxy->priv->qdata); 753s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 753s # } 753s # 753s # static void 753s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 753s # guint prop_id G_GNUC_UNUSED, 753s # GValue *value G_GNUC_UNUSED, 753s # GParamSpec *pspec G_GNUC_UNUSED) 753s # { 753s # } 753s # 753s # static void 753s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 753s # guint prop_id G_GNUC_UNUSED, 753s # const GValue *value G_GNUC_UNUSED, 753s # GParamSpec *pspec G_GNUC_UNUSED) 753s # { 753s # } 753s # 753s # static void 753s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 753s # const gchar *sender_name G_GNUC_UNUSED, 753s # const gchar *signal_name, 753s # GVariant *parameters) 753s # { 753s # _ExtendedGDBusSignalInfo *info; 753s # GVariantIter iter; 753s # GVariant *child; 753s # GValue *paramv; 753s # gsize num_params; 753s # gsize n; 753s # guint signal_id; 753s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 753s # if (info == NULL) 753s # return; 753s # num_params = g_variant_n_children (parameters); 753s # paramv = g_new0 (GValue, num_params + 1); 753s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 753s # g_value_set_object (¶mv[0], proxy); 753s # g_variant_iter_init (&iter, parameters); 753s # n = 1; 753s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 753s # { 753s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 753s # if (arg_info->use_gvariant) 753s # { 753s # g_value_init (¶mv[n], G_TYPE_VARIANT); 753s # g_value_set_variant (¶mv[n], child); 753s # n++; 753s # } 753s # else 753s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 753s # g_variant_unref (child); 753s # } 753s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 753s # g_signal_emitv (paramv, signal_id, 0, NULL); 753s # for (n = 0; n < num_params + 1; n++) 753s # g_value_unset (¶mv[n]); 753s # g_free (paramv); 753s # } 753s # 753s # static void 753s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 753s # GVariant *changed_properties, 753s # const gchar *const *invalidated_properties) 753s # { 753s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 753s # guint n; 753s # const gchar *key; 753s # GVariantIter *iter; 753s # _ExtendedGDBusPropertyInfo *info; 753s # g_variant_get (changed_properties, "a{sv}", &iter); 753s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 753s # { 753s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 753s # g_datalist_remove_data (&proxy->priv->qdata, key); 753s # if (info != NULL) 753s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 753s # } 753s # g_variant_iter_free (iter); 753s # for (n = 0; invalidated_properties[n] != NULL; n++) 753s # { 753s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 753s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 753s # if (info != NULL) 753s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 753s # } 753s # } 753s # 753s # static void 753s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 753s # { 753s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 753s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 753s # #else 753s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 753s # #endif 753s # 753s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 753s # } 753s # 753s # static void 753s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 753s # { 753s # GObjectClass *gobject_class; 753s # GDBusProxyClass *proxy_class; 753s # 753s # gobject_class = G_OBJECT_CLASS (klass); 753s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 753s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 753s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 753s # 753s # proxy_class = G_DBUS_PROXY_CLASS (klass); 753s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 753s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 753s # 753s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 753s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 753s # #endif 753s # } 753s # 753s # static void 753s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 753s # { 753s # } 753s # 753s # /** 753s # * org_project_useful_interface_proxy_new: 753s # * @connection: A #GDBusConnection. 753s # * @flags: Flags from the #GDBusProxyFlags enumeration. 753s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 753s # * @object_path: An object path. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 753s # * @user_data: User data to pass to @callback. 753s # * 753s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 753s # * 753s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 753s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 753s # * 753s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 753s # */ 753s # void 753s # org_project_useful_interface_proxy_new ( 753s # GDBusConnection *connection, 753s # GDBusProxyFlags flags, 753s # const gchar *name, 753s # const gchar *object_path, 753s # GCancellable *cancellable, 753s # GAsyncReadyCallback callback, 753s # gpointer user_data) 753s # { 753s # g_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); 753s # } 753s # 753s # /** 753s # * org_project_useful_interface_proxy_new_finish: 753s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 753s # * @error: Return location for error or %NULL 753s # * 753s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 753s # * 753s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 753s # */ 753s # OrgProjectUsefulInterface * 753s # org_project_useful_interface_proxy_new_finish ( 753s # GAsyncResult *res, 753s # GError **error) 753s # { 753s # GObject *ret; 753s # GObject *source_object; 753s # source_object = g_async_result_get_source_object (res); 753s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 753s # g_object_unref (source_object); 753s # if (ret != NULL) 753s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 753s # else 753s # return NULL; 753s # } 753s # 753s # /** 753s # * org_project_useful_interface_proxy_new_sync: 753s # * @connection: A #GDBusConnection. 753s # * @flags: Flags from the #GDBusProxyFlags enumeration. 753s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 753s # * @object_path: An object path. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @error: Return location for error or %NULL 753s # * 753s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 753s # * 753s # * The calling thread is blocked until a reply is received. 753s # * 753s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 753s # * 753s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 753s # */ 753s # OrgProjectUsefulInterface * 753s # org_project_useful_interface_proxy_new_sync ( 753s # GDBusConnection *connection, 753s # GDBusProxyFlags flags, 753s # const gchar *name, 753s # const gchar *object_path, 753s # GCancellable *cancellable, 753s # GError **error) 753s # { 753s # GInitable *ret; 753s # 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); 753s # if (ret != NULL) 753s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 753s # else 753s # return NULL; 753s # } 753s # 753s # 753s # /** 753s # * org_project_useful_interface_proxy_new_for_bus: 753s # * @bus_type: A #GBusType. 753s # * @flags: Flags from the #GDBusProxyFlags enumeration. 753s # * @name: A bus name (well-known or unique). 753s # * @object_path: An object path. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 753s # * @user_data: User data to pass to @callback. 753s # * 753s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 753s # * 753s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 753s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 753s # * 753s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 753s # */ 753s # void 753s # org_project_useful_interface_proxy_new_for_bus ( 753s # GBusType bus_type, 753s # GDBusProxyFlags flags, 753s # const gchar *name, 753s # const gchar *object_path, 753s # GCancellable *cancellable, 753s # GAsyncReadyCallback callback, 753s # gpointer user_data) 753s # { 753s # g_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); 753s # } 753s # 753s # /** 753s # * org_project_useful_interface_proxy_new_for_bus_finish: 753s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 753s # * @error: Return location for error or %NULL 753s # * 753s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 753s # * 753s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 753s # */ 753s # OrgProjectUsefulInterface * 753s # org_project_useful_interface_proxy_new_for_bus_finish ( 753s # GAsyncResult *res, 753s # GError **error) 753s # { 753s # GObject *ret; 753s # GObject *source_object; 753s # source_object = g_async_result_get_source_object (res); 753s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 753s # g_object_unref (source_object); 753s # if (ret != NULL) 753s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 753s # else 753s # return NULL; 753s # } 753s # 753s # /** 753s # * org_project_useful_interface_proxy_new_for_bus_sync: 753s # * @bus_type: A #GBusType. 753s # * @flags: Flags from the #GDBusProxyFlags enumeration. 753s # * @name: A bus name (well-known or unique). 753s # * @object_path: An object path. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @error: Return location for error or %NULL 753s # * 753s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 753s # * 753s # * The calling thread is blocked until a reply is received. 753s # * 753s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 753s # * 753s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 753s # */ 753s # OrgProjectUsefulInterface * 753s # org_project_useful_interface_proxy_new_for_bus_sync ( 753s # GBusType bus_type, 753s # GDBusProxyFlags flags, 753s # const gchar *name, 753s # const gchar *object_path, 753s # GCancellable *cancellable, 753s # GError **error) 753s # { 753s # GInitable *ret; 753s # 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); 753s # if (ret != NULL) 753s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 753s # else 753s # return NULL; 753s # } 753s # 753s # 753s # /* ------------------------------------------------------------------------ */ 753s # 753s # /** 753s # * OrgProjectUsefulInterfaceSkeleton: 753s # * 753s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 753s # */ 753s # 753s # /** 753s # * OrgProjectUsefulInterfaceSkeletonClass: 753s # * @parent_class: The parent class. 753s # * 753s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 753s # */ 753s # 753s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 753s # { 753s # GValue *properties; 753s # GList *changed_properties; 753s # GSource *changed_properties_idle_source; 753s # GMainContext *context; 753s # GMutex lock; 753s # }; 753s # 753s # static void 753s # _org_project_useful_interface_skeleton_handle_method_call ( 753s # GDBusConnection *connection G_GNUC_UNUSED, 753s # const gchar *sender G_GNUC_UNUSED, 753s # const gchar *object_path G_GNUC_UNUSED, 753s # const gchar *interface_name, 753s # const gchar *method_name, 753s # GVariant *parameters, 753s # GDBusMethodInvocation *invocation, 753s # gpointer user_data) 753s # { 753s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 753s # _ExtendedGDBusMethodInfo *info; 753s # GVariantIter iter; 753s # GVariant *child; 753s # GValue *paramv; 753s # gsize num_params; 753s # guint num_extra; 753s # gsize n; 753s # guint signal_id; 753s # GValue return_value = G_VALUE_INIT; 753s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 753s # g_assert (info != NULL); 753s # num_params = g_variant_n_children (parameters); 753s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 753s # n = 0; 753s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 753s # g_value_set_object (¶mv[n++], skeleton); 753s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 753s # g_value_set_object (¶mv[n++], invocation); 753s # if (info->pass_fdlist) 753s # { 753s # #ifdef G_OS_UNIX 753s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 753s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 753s # #else 753s # g_assert_not_reached (); 753s # #endif 753s # } 753s # g_variant_iter_init (&iter, parameters); 753s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 753s # { 753s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 753s # if (arg_info->use_gvariant) 753s # { 753s # g_value_init (¶mv[n], G_TYPE_VARIANT); 753s # g_value_set_variant (¶mv[n], child); 753s # n++; 753s # } 753s # else 753s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 753s # g_variant_unref (child); 753s # } 753s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 753s # g_value_init (&return_value, G_TYPE_BOOLEAN); 753s # g_signal_emitv (paramv, signal_id, 0, &return_value); 753s # if (!g_value_get_boolean (&return_value)) 753s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 753s # g_value_unset (&return_value); 753s # for (n = 0; n < num_params + num_extra; n++) 753s # g_value_unset (¶mv[n]); 753s # g_free (paramv); 753s # } 753s # 753s # static GVariant * 753s # _org_project_useful_interface_skeleton_handle_get_property ( 753s # GDBusConnection *connection G_GNUC_UNUSED, 753s # const gchar *sender G_GNUC_UNUSED, 753s # const gchar *object_path G_GNUC_UNUSED, 753s # const gchar *interface_name G_GNUC_UNUSED, 753s # const gchar *property_name, 753s # GError **error, 753s # gpointer user_data) 753s # { 753s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 753s # GValue value = G_VALUE_INIT; 753s # GParamSpec *pspec; 753s # _ExtendedGDBusPropertyInfo *info; 753s # GVariant *ret; 753s # ret = NULL; 753s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 753s # g_assert (info != NULL); 753s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 753s # if (pspec == NULL) 753s # { 753s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 753s # } 753s # else 753s # { 753s # g_value_init (&value, pspec->value_type); 753s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 753s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 753s # g_value_unset (&value); 753s # } 753s # return ret; 753s # } 753s # 753s # static gboolean 753s # _org_project_useful_interface_skeleton_handle_set_property ( 753s # GDBusConnection *connection G_GNUC_UNUSED, 753s # const gchar *sender G_GNUC_UNUSED, 753s # const gchar *object_path G_GNUC_UNUSED, 753s # const gchar *interface_name G_GNUC_UNUSED, 753s # const gchar *property_name, 753s # GVariant *variant, 753s # GError **error, 753s # gpointer user_data) 753s # { 753s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 753s # GValue value = G_VALUE_INIT; 753s # GParamSpec *pspec; 753s # _ExtendedGDBusPropertyInfo *info; 753s # gboolean ret; 753s # ret = FALSE; 753s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 753s # g_assert (info != NULL); 753s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 753s # if (pspec == NULL) 753s # { 753s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 753s # } 753s # else 753s # { 753s # if (info->use_gvariant) 753s # g_value_set_variant (&value, variant); 753s # else 753s # g_dbus_gvariant_to_gvalue (variant, &value); 753s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 753s # g_value_unset (&value); 753s # ret = TRUE; 753s # } 753s # return ret; 753s # } 753s # 753s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 753s # { 753s # _org_project_useful_interface_skeleton_handle_method_call, 753s # _org_project_useful_interface_skeleton_handle_get_property, 753s # _org_project_useful_interface_skeleton_handle_set_property, 753s # {NULL} 753s # }; 753s # 753s # static GDBusInterfaceInfo * 753s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 753s # { 753s # return org_project_useful_interface_interface_info (); 753s # } 753s # 753s # static GDBusInterfaceVTable * 753s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 753s # { 753s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 753s # } 753s # 753s # static GVariant * 753s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 753s # { 753s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 753s # 753s # GVariantBuilder builder; 753s # guint n; 753s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 753s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 753s # #else 753s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 753s # #endif 753s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 753s # goto out; 753s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 753s # { 753s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 753s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 753s # { 753s # GVariant *value; 753s # 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); 753s # if (value != NULL) 753s # { 753s # g_variant_take_ref (value); 753s # g_variant_builder_add (&builder, "{sv}", info->name, value); 753s # g_variant_unref (value); 753s # } 753s # } 753s # } 753s # out: 753s # return g_variant_builder_end (&builder); 753s # } 753s # 753s # static void 753s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 753s # { 753s # } 753s # 753s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 753s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 753s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 753s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 753s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 753s # 753s # #else 753s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 753s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 753s # 753s # #endif 753s # static void 753s # org_project_useful_interface_skeleton_finalize (GObject *object) 753s # { 753s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 753s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 753s # if (skeleton->priv->changed_properties_idle_source != NULL) 753s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 753s # g_main_context_unref (skeleton->priv->context); 753s # g_mutex_clear (&skeleton->priv->lock); 753s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 753s # } 753s # 753s # static void 753s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 753s # { 753s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 753s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 753s # #else 753s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 753s # #endif 753s # 753s # g_mutex_init (&skeleton->priv->lock); 753s # skeleton->priv->context = g_main_context_ref_thread_default (); 753s # } 753s # 753s # static void 753s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 753s # { 753s # GObjectClass *gobject_class; 753s # GDBusInterfaceSkeletonClass *skeleton_class; 753s # 753s # gobject_class = G_OBJECT_CLASS (klass); 753s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 753s # 753s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 753s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 753s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 753s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 753s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 753s # 753s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 753s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 753s # #endif 753s # } 753s # 753s # static void 753s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 753s # { 753s # } 753s # 753s # /** 753s # * org_project_useful_interface_skeleton_new: 753s # * 753s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 753s # * 753s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 753s # */ 753s # OrgProjectUsefulInterface * 753s # org_project_useful_interface_skeleton_new (void) 753s # { 753s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 753s # } 753s # Error: 753s # 753s # /tmp/tmpd2nl81_5/tmpxi6ad005.xml: 753s # 753s # 753s # 753s # 753s # 753s # 753s # 753s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd2nl81_5/tmpxi6ad005.xml', '--output', '-', '--body'] 753s # Return code: 0 753s # Output: 753s # /* 753s # * This file is generated by gdbus-codegen, do not modify it. 753s # * 753s # * The license of this code is the same as for the D-Bus interface description 753s # * it was derived from. Note that it links to GLib, so must comply with the 753s # * LGPL linking clauses. 753s # */ 753s # 753s # #ifdef HAVE_CONFIG_H 753s # # include "config.h" 753s # #endif 753s # 753s # #include 753s # #ifdef G_OS_UNIX 753s # # include 753s # #endif 753s # 753s # #ifdef G_ENABLE_DEBUG 753s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 753s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 753s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 753s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 753s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 753s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 753s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 753s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 753s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 753s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 753s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 753s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 753s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 753s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 753s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 753s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 753s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 753s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 753s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 753s # #else /* !G_ENABLE_DEBUG */ 753s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 753s # * Do not access GValues directly in your code. Instead, use the 753s # * g_value_get_*() functions 753s # */ 753s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 753s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 753s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 753s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 753s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 753s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 753s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 753s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 753s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 753s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 753s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 753s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 753s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 753s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 753s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 753s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 753s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 753s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 753s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 753s # #endif /* !G_ENABLE_DEBUG */ 753s # 753s # typedef struct 753s # { 753s # GDBusArgInfo parent_struct; 753s # gboolean use_gvariant; 753s # } _ExtendedGDBusArgInfo; 753s # 753s # typedef struct 753s # { 753s # GDBusMethodInfo parent_struct; 753s # const gchar *signal_name; 753s # gboolean pass_fdlist; 753s # } _ExtendedGDBusMethodInfo; 753s # 753s # typedef struct 753s # { 753s # GDBusSignalInfo parent_struct; 753s # const gchar *signal_name; 753s # } _ExtendedGDBusSignalInfo; 753s # 753s # typedef struct 753s # { 753s # GDBusPropertyInfo parent_struct; 753s # const gchar *hyphen_name; 753s # guint use_gvariant : 1; 753s # guint emits_changed_signal : 1; 753s # } _ExtendedGDBusPropertyInfo; 753s # 753s # typedef struct 753s # { 753s # GDBusInterfaceInfo parent_struct; 753s # const gchar *hyphen_name; 753s # } _ExtendedGDBusInterfaceInfo; 753s # 753s # typedef struct 753s # { 753s # const _ExtendedGDBusPropertyInfo *info; 753s # guint prop_id; 753s # GValue orig_value; /* the value before the change */ 753s # } ChangedProperty; 753s # 753s # static void 753s # _changed_property_free (ChangedProperty *data) 753s # { 753s # g_value_unset (&data->orig_value); 753s # g_free (data); 753s # } 753s # 753s # static gboolean 753s # _g_strv_equal0 (gchar **a, gchar **b) 753s # { 753s # gboolean ret = FALSE; 753s # guint n; 753s # if (a == NULL && b == NULL) 753s # { 753s # ret = TRUE; 753s # goto out; 753s # } 753s # if (a == NULL || b == NULL) 753s # goto out; 753s # if (g_strv_length (a) != g_strv_length (b)) 753s # goto out; 753s # for (n = 0; a[n] != NULL; n++) 753s # if (g_strcmp0 (a[n], b[n]) != 0) 753s # goto out; 753s # ret = TRUE; 753s # out: 753s # return ret; 753s # } 753s # 753s # static gboolean 753s # _g_variant_equal0 (GVariant *a, GVariant *b) 753s # { 753s # gboolean ret = FALSE; 753s # if (a == NULL && b == NULL) 753s # { 753s # ret = TRUE; 753s # goto out; 753s # } 753s # if (a == NULL || b == NULL) 753s # goto out; 753s # ret = g_variant_equal (a, b); 753s # out: 753s # return ret; 753s # } 753s # 753s # G_GNUC_UNUSED static gboolean 753s # _g_value_equal (const GValue *a, const GValue *b) 753s # { 753s # gboolean ret = FALSE; 753s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 753s # switch (G_VALUE_TYPE (a)) 753s # { 753s # case G_TYPE_BOOLEAN: 753s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 753s # break; 753s # case G_TYPE_UCHAR: 753s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 753s # break; 753s # case G_TYPE_INT: 753s # ret = (g_value_get_int (a) == g_value_get_int (b)); 753s # break; 753s # case G_TYPE_UINT: 753s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 753s # break; 753s # case G_TYPE_INT64: 753s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 753s # break; 753s # case G_TYPE_UINT64: 753s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 753s # break; 753s # case G_TYPE_DOUBLE: 753s # { 753s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 753s # gdouble da = g_value_get_double (a); 753s # gdouble db = g_value_get_double (b); 753s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 753s # } 753s # break; 753s # case G_TYPE_STRING: 753s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 753s # break; 753s # case G_TYPE_VARIANT: 753s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 753s # break; 753s # default: 753s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 753s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 753s # else 753s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 753s # break; 753s # } 753s # return ret; 753s # } 753s # 753s # static void 753s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 753s # GClosure *closure, 753s # GValue *return_value, 753s # unsigned int n_param_values, 753s # const GValue *param_values, 753s # void *invocation_hint G_GNUC_UNUSED, 753s # void *marshal_data) 753s # { 753s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 753s # (void *data1, 753s # GDBusMethodInvocation *arg_method_invocation, 753s # guchar arg_arg_y, 753s # void *data2); 753s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 753s # GCClosure *cc = (GCClosure*) closure; 753s # void *data1, *data2; 753s # gboolean v_return; 753s # 753s # g_return_if_fail (return_value != NULL); 753s # g_return_if_fail (n_param_values == 3); 753s # 753s # if (G_CCLOSURE_SWAP_DATA (closure)) 753s # { 753s # data1 = closure->data; 753s # data2 = g_value_peek_pointer (param_values + 0); 753s # } 753s # else 753s # { 753s # data1 = g_value_peek_pointer (param_values + 0); 753s # data2 = closure->data; 753s # } 753s # 753s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 753s # (marshal_data ? marshal_data : cc->callback); 753s # 753s # v_return = 753s # callback (data1, 753s # g_marshal_value_peek_object (param_values + 1), 753s # g_marshal_value_peek_uchar (param_values + 2), 753s # data2); 753s # 753s # g_value_set_boolean (return_value, v_return); 753s # } 753s # 753s # /* ------------------------------------------------------------------------ 753s # * Code for interface org.project.UsefulInterface 753s # * ------------------------------------------------------------------------ 753s # */ 753s # 753s # /** 753s # * SECTION:OrgProjectUsefulInterface 753s # * @title: OrgProjectUsefulInterface 753s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 753s # * 753s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 753s # */ 753s # 753s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 753s # 753s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 753s # { 753s # { 753s # -1, 753s # (gchar *) "arg_y", 753s # (gchar *) "y", 753s # NULL 753s # }, 753s # FALSE 753s # }; 753s # 753s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 753s # { 753s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 753s # NULL 753s # }; 753s # 753s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 753s # { 753s # { 753s # -1, 753s # (gchar *) "SingleArgMethodY", 753s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 753s # NULL, 753s # NULL 753s # }, 753s # "handle-single-arg-method-y", 753s # FALSE 753s # }; 753s # 753s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 753s # { 753s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 753s # NULL 753s # }; 753s # 753s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 753s # { 753s # { 753s # -1, 753s # (gchar *) "org.project.UsefulInterface", 753s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 753s # NULL, 753s # NULL, 753s # NULL 753s # }, 753s # "org-project-useful-interface", 753s # }; 753s # 753s # 753s # /** 753s # * org_project_useful_interface_interface_info: 753s # * 753s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 753s # * 753s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 753s # */ 753s # GDBusInterfaceInfo * 753s # org_project_useful_interface_interface_info (void) 753s # { 753s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 753s # } 753s # 753s # /** 753s # * org_project_useful_interface_override_properties: 753s # * @klass: The class structure for a #GObject derived class. 753s # * @property_id_begin: The property id to assign to the first overridden property. 753s # * 753s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 753s # * The properties are overridden in the order they are defined. 753s # * 753s # * Returns: The last property id. 753s # */ 753s # guint 753s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 753s # { 753s # return property_id_begin - 1; 753s # } 753s # 753s # 753s # inline static void 753s # org_project_useful_interface_method_marshal_single_arg_method_y ( 753s # GClosure *closure, 753s # GValue *return_value, 753s # unsigned int n_param_values, 753s # const GValue *param_values, 753s # void *invocation_hint, 753s # void *marshal_data) 753s # { 753s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 753s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 753s # } 753s # 753s # 753s # /** 753s # * OrgProjectUsefulInterface: 753s # * 753s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 753s # */ 753s # 753s # /** 753s # * OrgProjectUsefulInterfaceIface: 753s # * @parent_iface: The parent interface. 753s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 753s # * 753s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 753s # */ 753s # 753s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 753s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 753s # 753s # static void 753s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 753s # { 753s # /* GObject signals for incoming D-Bus method calls: */ 753s # /** 753s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 753s # * @object: A #OrgProjectUsefulInterface. 753s # * @invocation: A #GDBusMethodInvocation. 753s # * @arg_arg_y: Argument passed by remote caller. 753s # * 753s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 753s # * 753s # * 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. 753s # * 753s # * 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. 753s # */ 753s # g_signal_new ("handle-single-arg-method-y", 753s # G_TYPE_FROM_INTERFACE (iface), 753s # G_SIGNAL_RUN_LAST, 753s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 753s # g_signal_accumulator_true_handled, 753s # NULL, 753s # org_project_useful_interface_method_marshal_single_arg_method_y, 753s # G_TYPE_BOOLEAN, 753s # 2, 753s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 753s # 753s # } 753s # 753s # /** 753s # * org_project_useful_interface_call_single_arg_method_y: 753s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 753s # * @arg_arg_y: Argument to pass with the method invocation. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 753s # * @user_data: User data to pass to @callback. 753s # * 753s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 753s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 753s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 753s # * 753s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 753s # */ 753s # void 753s # org_project_useful_interface_call_single_arg_method_y ( 753s # OrgProjectUsefulInterface *proxy, 753s # guchar arg_arg_y, 753s # GCancellable *cancellable, 753s # GAsyncReadyCallback callback, 753s # gpointer user_data) 753s # { 753s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 753s # "SingleArgMethodY", 753s # g_variant_new ("(y)", 753s # arg_arg_y), 753s # G_DBUS_CALL_FLAGS_NONE, 753s # -1, 753s # cancellable, 753s # callback, 753s # user_data); 753s # } 753s # 753s # /** 753s # * org_project_useful_interface_call_single_arg_method_y_finish: 753s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 753s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 753s # * @error: Return location for error or %NULL. 753s # * 753s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 753s # * 753s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 753s # */ 753s # gboolean 753s # org_project_useful_interface_call_single_arg_method_y_finish ( 753s # OrgProjectUsefulInterface *proxy, 753s # GAsyncResult *res, 753s # GError **error) 753s # { 753s # GVariant *_ret; 753s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 753s # if (_ret == NULL) 753s # goto _out; 753s # g_variant_get (_ret, 753s # "()"); 753s # g_variant_unref (_ret); 753s # _out: 753s # return _ret != NULL; 753s # } 753s # 753s # /** 753s # * org_project_useful_interface_call_single_arg_method_y_sync: 753s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 753s # * @arg_arg_y: Argument to pass with the method invocation. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @error: Return location for error or %NULL. 753s # * 753s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 753s # * 753s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 753s # * 753s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 753s # */ 753s # gboolean 753s # org_project_useful_interface_call_single_arg_method_y_sync ( 753s # OrgProjectUsefulInterface *proxy, 753s # guchar arg_arg_y, 753s # GCancellable *cancellable, 753s # GError **error) 753s # { 753s # GVariant *_ret; 753s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 753s # "SingleArgMethodY", 753s # g_variant_new ("(y)", 753s # arg_arg_y), 753s # G_DBUS_CALL_FLAGS_NONE, 753s # -1, 753s # cancellable, 753s # error); 753s # if (_ret == NULL) 753s # goto _out; 753s # g_variant_get (_ret, 753s # "()"); 753s # g_variant_unref (_ret); 753s # _out: 753s # return _ret != NULL; 753s # } 753s # 753s # /** 753s # * org_project_useful_interface_complete_single_arg_method_y: 753s # * @object: A #OrgProjectUsefulInterface. 753s # * @invocation: (transfer full): A #GDBusMethodInvocation. 753s # * 753s # * 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. 753s # * 753s # * This method will free @invocation, you cannot use it afterwards. 753s # */ 753s # void 753s # org_project_useful_interface_complete_single_arg_method_y ( 753s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 753s # GDBusMethodInvocation *invocation) 753s # { 753s # g_dbus_method_invocation_return_value (invocation, 753s # g_variant_new ("()")); 753s # } 753s # 753s # /* ------------------------------------------------------------------------ */ 753s # 753s # /** 753s # * OrgProjectUsefulInterfaceProxy: 753s # * 753s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 753s # */ 753s # 753s # /** 753s # * OrgProjectUsefulInterfaceProxyClass: 753s # * @parent_class: The parent class. 753s # * 753s # * Class structure for #OrgProjectUsefulInterfaceProxy. 753s # */ 753s # 753s # struct _OrgProjectUsefulInterfaceProxyPrivate 753s # { 753s # GData *qdata; 753s # }; 753s # 753s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 753s # 753s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 753s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 753s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 753s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 753s # 753s # #else 753s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 753s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 753s # 753s # #endif 753s # static void 753s # org_project_useful_interface_proxy_finalize (GObject *object) 753s # { 753s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 753s # g_datalist_clear (&proxy->priv->qdata); 753s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 753s # } 753s # 753s # static void 753s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 753s # guint prop_id G_GNUC_UNUSED, 753s # GValue *value G_GNUC_UNUSED, 753s # GParamSpec *pspec G_GNUC_UNUSED) 753s # { 753s # } 753s # 753s # static void 753s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 753s # guint prop_id G_GNUC_UNUSED, 753s # const GValue *value G_GNUC_UNUSED, 753s # GParamSpec *pspec G_GNUC_UNUSED) 753s # { 753s # } 753s # 753s # static void 753s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 753s # const gchar *sender_name G_GNUC_UNUSED, 753s # const gchar *signal_name, 753s # GVariant *parameters) 753s # { 753s # _ExtendedGDBusSignalInfo *info; 753s # GVariantIter iter; 753s # GVariant *child; 753s # GValue *paramv; 753s # gsize num_params; 753s # gsize n; 753s # guint signal_id; 753s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 753s # if (info == NULL) 753s # return; 753s # num_params = g_variant_n_children (parameters); 753s # paramv = g_new0 (GValue, num_params + 1); 753s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 753s # g_value_set_object (¶mv[0], proxy); 753s # g_variant_iter_init (&iter, parameters); 753s # n = 1; 753s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 753s # { 753s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 753s # if (arg_info->use_gvariant) 753s # { 753s # g_value_init (¶mv[n], G_TYPE_VARIANT); 753s # g_value_set_variant (¶mv[n], child); 753s # n++; 753s # } 753s # else 753s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 753s # g_variant_unref (child); 753s # } 753s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 753s # g_signal_emitv (paramv, signal_id, 0, NULL); 753s # for (n = 0; n < num_params + 1; n++) 753s # g_value_unset (¶mv[n]); 753s # g_free (paramv); 753s # } 753s # 753s # static void 753s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 753s # GVariant *changed_properties, 753s # const gchar *const *invalidated_properties) 753s # { 753s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 753s # guint n; 753s # const gchar *key; 753s # GVariantIter *iter; 753s # _ExtendedGDBusPropertyInfo *info; 753s # g_variant_get (changed_properties, "a{sv}", &iter); 753s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 753s # { 753s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 753s # g_datalist_remove_data (&proxy->priv->qdata, key); 753s # if (info != NULL) 753s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 753s # } 753s # g_variant_iter_free (iter); 753s # for (n = 0; invalidated_properties[n] != NULL; n++) 753s # { 753s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 753s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 753s # if (info != NULL) 753s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 753s # } 753s # } 753s # 753s # static void 753s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 753s # { 753s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 753s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 753s # #else 753s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 753s # #endif 753s # 753s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 753s # } 753s # 753s # static void 753s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 753s # { 753s # GObjectClass *gobject_class; 753s # GDBusProxyClass *proxy_class; 753s # 753s # gobject_class = G_OBJECT_CLASS (klass); 753s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 753s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 753s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 753s # 753s # proxy_class = G_DBUS_PROXY_CLASS (klass); 753s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 753s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 753s # 753s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 753s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 753s # #endif 753s # } 753s # 753s # static void 753s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 753s # { 753s # } 753s # 753s # /** 753s # * org_project_useful_interface_proxy_new: 753s # * @connection: A #GDBusConnection. 753s # * @flags: Flags from the #GDBusProxyFlags enumeration. 753s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 753s # * @object_path: An object path. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 753s # * @user_data: User data to pass to @callback. 753s # * 753s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 753s # * 753s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 753s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 753s # * 753s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 753s # */ 753s # void 753s # org_project_useful_interface_proxy_new ( 753s # GDBusConnection *connection, 753s # GDBusProxyFlags flags, 753s # const gchar *name, 753s # const gchar *object_path, 753s # GCancellable *cancellable, 753s # GAsyncReadyCallback callback, 753s # gpointer user_data) 753s # { 753s # g_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); 753s # } 753s # 753s # /** 753s # * org_project_useful_interface_proxy_new_finish: 753s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 753s # * @error: Return location for error or %NULL 753s # * 753s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 753s # * 753s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 753s # */ 753s # OrgProjectUsefulInterface * 753s # org_project_useful_interface_proxy_new_finish ( 753s # GAsyncResult *res, 753s # GError **error) 753s # { 753s # GObject *ret; 753s # GObject *source_object; 753s # source_object = g_async_result_get_source_object (res); 753s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 753s # g_object_unref (source_object); 753s # if (ret != NULL) 753s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 753s # else 753s # return NULL; 753s # } 753s # 753s # /** 753s # * org_project_useful_interface_proxy_new_sync: 753s # * @connection: A #GDBusConnection. 753s # * @flags: Flags from the #GDBusProxyFlags enumeration. 753s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 753s # * @object_path: An object path. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @error: Return location for error or %NULL 753s # * 753s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 753s # * 753s # * The calling thread is blocked until a reply is received. 753s # * 753s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 753s # * 753s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 753s # */ 753s # OrgProjectUsefulInterface * 753s # org_project_useful_interface_proxy_new_sync ( 753s # GDBusConnection *connection, 753s # GDBusProxyFlags flags, 753s # const gchar *name, 753s # const gchar *object_path, 753s # GCancellable *cancellable, 753s # GError **error) 753s # { 753s # GInitable *ret; 753s # 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); 753s # if (ret != NULL) 753s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 753s # else 753s # return NULL; 753s # } 753s # 753s # 753s # /** 753s # * org_project_useful_interface_proxy_new_for_bus: 753s # * @bus_type: A #GBusType. 753s # * @flags: Flags from the #GDBusProxyFlags enumeration. 753s # * @name: A bus name (well-known or unique). 753s # * @object_path: An object path. 753s # * @cancellable: (nullable): A #GCancellable or %NULL. 753s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 753s # * @user_data: User data to pass to @callback. 753s # * 753s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 753s # * 753s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 753s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 753s # * 753s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 753s # */ 753s # void 753s # org_project_useful_interface_proxy_new_for_bus ( 753s # GBusType bus_type, 753s # GDBusProxyFlags flags, 753s # const gchar *name, 753s # const gchar *object_path, 753s # GCancellable *cancellable, 753s # GAsyncReadyCallback callback, 753s # gpointer user_data) 753s # { 753s # g_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); 753s # } 753s # 753s # /** 753s # * org_project_useful_interface_proxy_new_for_bus_finish: 753s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 753s # * @error: Return location for error or %NULL 753s # * 753s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 753s # * 753s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 753s # */ 753s # OrgProjectUsefulInterface * 753s # org_project_useful_interface_proxy_new_for_bus_finish ( 753s # GAsyncResult *res, 753s # GError **error) 753s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpd2nl81_5/tmpdt7x8e4_.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd2nl81_5/tmpdt7x8e4_.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # gint16 arg_arg_n, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 3); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # g_marshal_value_peek_int (param_values + 2), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_n", 754s # (gchar *) "n", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodN", 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 754s # NULL, 754s # NULL 754s # }, 754s # "handle-single-arg-method-n", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_n ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * @arg_arg_n: Argument passed by remote caller. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-n", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_n, 754s # G_TYPE_BOOLEAN, 754s # 2, 754s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_n: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_n: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_n ( 754s # OrgProjectUsefulInterface *proxy, 754s # gint16 arg_arg_n, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodN", 754s # g_variant_new ("(n)", 754s # arg_arg_n), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_n_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_n_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_n_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_n: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_n_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # gint16 arg_arg_n, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodN", 754s # g_variant_new ("(n)", 754s # arg_arg_n), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_n: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_n ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("()")); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpd2nl81_5/tmpocj9cjgl.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd2nl81_5/tmpocj9cjgl.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # guint16 arg_arg_q, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 3); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # g_marshal_value_peek_uint (param_values + 2), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_q", 754s # (gchar *) "q", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodQ", 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 754s # NULL, 754s # NULL 754s # }, 754s # "handle-single-arg-method-q", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_q ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * @arg_arg_q: Argument passed by remote caller. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-q", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_q, 754s # G_TYPE_BOOLEAN, 754s # 2, 754s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_q: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_q: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_q ( 754s # OrgProjectUsefulInterface *proxy, 754s # guint16 arg_arg_q, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodQ", 754s # g_variant_new ("(q)", 754s # arg_arg_q), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_q_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_q_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_q_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_q: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_q_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # guint16 arg_arg_q, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodQ", 754s # g_variant_new ("(q)", 754s # arg_arg_q), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_q: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_q ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("()")); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpd2nl81_5/tmpajq3t8op.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd2nl81_5/tmpajq3t8op.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # gint arg_arg_i, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 3); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # g_marshal_value_peek_int (param_values + 2), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_i", 754s # (gchar *) "i", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodI", 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 754s # NULL, 754s # NULL 754s # }, 754s # "handle-single-arg-method-i", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_i ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * @arg_arg_i: Argument passed by remote caller. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-i", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_i, 754s # G_TYPE_BOOLEAN, 754s # 2, 754s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_i: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_i: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_i ( 754s # OrgProjectUsefulInterface *proxy, 754s # gint arg_arg_i, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodI", 754s # g_variant_new ("(i)", 754s # arg_arg_i), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_i_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_i_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_i_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_i: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_i_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # gint arg_arg_i, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodI", 754s # g_variant_new ("(i)", 754s # arg_arg_i), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_i: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_i ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("()")); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpd2nl81_5/tmprks1amuf.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd2nl81_5/tmprks1amuf.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # guint arg_arg_u, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 3); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # g_marshal_value_peek_uint (param_values + 2), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_u", 754s # (gchar *) "u", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodU", 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 754s # NULL, 754s # NULL 754s # }, 754s # "handle-single-arg-method-u", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_u ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * @arg_arg_u: Argument passed by remote caller. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-u", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_u, 754s # G_TYPE_BOOLEAN, 754s # 2, 754s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_u: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_u: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_u ( 754s # OrgProjectUsefulInterface *proxy, 754s # guint arg_arg_u, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodU", 754s # g_variant_new ("(u)", 754s # arg_arg_u), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_u_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_u_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_u_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_u: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_u_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # guint arg_arg_u, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodU", 754s # g_variant_new ("(u)", 754s # arg_arg_u), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_u: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_u ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("()")); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpd2nl81_5/tmpxw8li537.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd2nl81_5/tmpxw8li537.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # gint64 arg_arg_x, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 3); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # g_marshal_value_peek_int64 (param_values + 2), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_x", 754s # (gchar *) "x", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodX", 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 754s # NULL, 754s # NULL 754s # }, 754s # "handle-single-arg-method-x", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_x ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * @arg_arg_x: Argument passed by remote caller. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-x", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_x, 754s # G_TYPE_BOOLEAN, 754s # 2, 754s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_x: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_x: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_x ( 754s # OrgProjectUsefulInterface *proxy, 754s # gint64 arg_arg_x, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodX", 754s # g_variant_new ("(x)", 754s # arg_arg_x), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_x_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_x_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_x_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_x: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_x_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # gint64 arg_arg_x, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodX", 754s # g_variant_new ("(x)", 754s # arg_arg_x), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_x: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_x ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("()")); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpd2nl81_5/tmpon0dfeuu.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd2nl81_5/tmpon0dfeuu.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # guint64 arg_arg_t, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 3); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # g_marshal_value_peek_uint64 (param_values + 2), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_t", 754s # (gchar *) "t", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodT", 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 754s # NULL, 754s # NULL 754s # }, 754s # "handle-single-arg-method-t", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_t ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * @arg_arg_t: Argument passed by remote caller. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-t", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_t, 754s # G_TYPE_BOOLEAN, 754s # 2, 754s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_t: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_t: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_t ( 754s # OrgProjectUsefulInterface *proxy, 754s # guint64 arg_arg_t, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodT", 754s # g_variant_new ("(t)", 754s # arg_arg_t), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_t_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_t_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_t_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_t: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_t_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # guint64 arg_arg_t, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodT", 754s # g_variant_new ("(t)", 754s # arg_arg_t), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_t: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_t ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("()")); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpd2nl81_5/tmphalvr00v.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd2nl81_5/tmphalvr00v.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # gdouble arg_arg_d, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 3); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # g_marshal_value_peek_double (param_values + 2), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_d", 754s # (gchar *) "d", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodD", 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 754s # NULL, 754s # NULL 754s # }, 754s # "handle-single-arg-method-d", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_d ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * @arg_arg_d: Argument passed by remote caller. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-d", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_d, 754s # G_TYPE_BOOLEAN, 754s # 2, 754s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_d: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_d: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_d ( 754s # OrgProjectUsefulInterface *proxy, 754s # gdouble arg_arg_d, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodD", 754s # g_variant_new ("(d)", 754s # arg_arg_d), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_d_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_d_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_d_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_d: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_d_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # gdouble arg_arg_d, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodD", 754s # g_variant_new ("(d)", 754s # arg_arg_d), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_d: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_d ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("()")); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpd2nl81_5/tmp4z_0apw_.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd2nl81_5/tmp4z_0apw_.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # const gchar *arg_arg_s, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 3); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # g_marshal_value_peek_string (param_values + 2), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_s", 754s # (gchar *) "s", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodS", 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 754s # NULL, 754s # NULL 754s # }, 754s # "handle-single-arg-method-s", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_s ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * @arg_arg_s: Argument passed by remote caller. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-s", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_s, 754s # G_TYPE_BOOLEAN, 754s # 2, 754s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_s: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_s: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_s ( 754s # OrgProjectUsefulInterface *proxy, 754s # const gchar *arg_arg_s, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodS", 754s # g_variant_new ("(s)", 754s # arg_arg_s), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_s_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_s_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_s_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_s: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_s_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # const gchar *arg_arg_s, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodS", 754s # g_variant_new ("(s)", 754s # arg_arg_s), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_s: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_s ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("()")); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpd2nl81_5/tmpytaww5_t.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd2nl81_5/tmpytaww5_t.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # const gchar *arg_arg_o, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 3); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # g_marshal_value_peek_string (param_values + 2), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_o", 754s # (gchar *) "o", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodO", 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 754s # NULL, 754s # NULL 754s # }, 754s # "handle-single-arg-method-o", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_o ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * @arg_arg_o: Argument passed by remote caller. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-o", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_o, 754s # G_TYPE_BOOLEAN, 754s # 2, 754s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_o: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_o: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_o ( 754s # OrgProjectUsefulInterface *proxy, 754s # const gchar *arg_arg_o, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodO", 754s # g_variant_new ("(o)", 754s # arg_arg_o), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_o_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_o_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_o_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_o: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_o_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # const gchar *arg_arg_o, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodO", 754s # g_variant_new ("(o)", 754s # arg_arg_o), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_o: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_o ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("()")); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpd2nl81_5/tmp20e8c1dx.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd2nl81_5/tmp20e8c1dx.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # const gchar *arg_arg_g, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 3); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # g_marshal_value_peek_string (param_values + 2), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_g", 754s # (gchar *) "g", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodG", 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 754s # NULL, 754s # NULL 754s # }, 754s # "handle-single-arg-method-g", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_g ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * @arg_arg_g: Argument passed by remote caller. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-g", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_g, 754s # G_TYPE_BOOLEAN, 754s # 2, 754s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_g: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_g: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_g ( 754s # OrgProjectUsefulInterface *proxy, 754s # const gchar *arg_arg_g, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodG", 754s # g_variant_new ("(g)", 754s # arg_arg_g), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_g_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_g_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_g_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_g: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_g_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # const gchar *arg_arg_g, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodG", 754s # g_variant_new ("(g)", 754s # arg_arg_g), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_g: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_g ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("()")); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpd2nl81_5/tmpcv5rb9bl.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd2nl81_5/tmpcv5rb9bl.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # GVariant *arg_arg_h, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 3); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # g_marshal_value_peek_variant (param_values + 2), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_h", 754s # (gchar *) "h", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodH", 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 754s # NULL, 754s # NULL 754s # }, 754s # "handle-single-arg-method-h", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_h ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * @arg_arg_h: Argument passed by remote caller. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-h", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_h, 754s # G_TYPE_BOOLEAN, 754s # 2, 754s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_h: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_h: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_h ( 754s # OrgProjectUsefulInterface *proxy, 754s # GVariant *arg_arg_h, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodH", 754s # g_variant_new ("(@h)", 754s # arg_arg_h), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_h_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_h_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_h_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_h: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_h_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # GVariant *arg_arg_h, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodH", 754s # g_variant_new ("(@h)", 754s # arg_arg_h), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_h: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_h ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("()")); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpd2nl81_5/tmph6uq1q70.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd2nl81_5/tmph6uq1q70.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # const gchar *arg_arg_ay, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 3); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # g_marshal_value_peek_string (param_values + 2), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_ay", 754s # (gchar *) "ay", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodAy", 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 754s # NULL, 754s # NULL 754s # }, 754s # "handle-single-arg-method-ay", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * @arg_arg_ay: Argument passed by remote caller. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-ay", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_ay, 754s # G_TYPE_BOOLEAN, 754s # 2, 754s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_ay: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_ay: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_ay ( 754s # OrgProjectUsefulInterface *proxy, 754s # const gchar *arg_arg_ay, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodAy", 754s # g_variant_new ("(^ay)", 754s # arg_arg_ay), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_ay_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_ay_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_ay_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_ay: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_ay_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # const gchar *arg_arg_ay, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodAy", 754s # g_variant_new ("(^ay)", 754s # arg_arg_ay), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_ay: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_ay ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("()")); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpd2nl81_5/tmp16qfr_lh.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd2nl81_5/tmp16qfr_lh.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # const gchar *const *arg_arg_as, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 3); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # g_marshal_value_peek_boxed (param_values + 2), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_as", 754s # (gchar *) "as", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodAs", 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 754s # NULL, 754s # NULL 754s # }, 754s # "handle-single-arg-method-as", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_as ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * @arg_arg_as: Argument passed by remote caller. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-as", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_as, 754s # G_TYPE_BOOLEAN, 754s # 2, 754s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_as: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_as: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_as ( 754s # OrgProjectUsefulInterface *proxy, 754s # const gchar *const *arg_arg_as, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodAs", 754s # g_variant_new ("(^as)", 754s # arg_arg_as), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_as_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_as_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_as_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_as: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_as_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # const gchar *const *arg_arg_as, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodAs", 754s # g_variant_new ("(^as)", 754s # arg_arg_as), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_as: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_as ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("()")); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpd2nl81_5/tmpuogz5lst.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd2nl81_5/tmpuogz5lst.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # const gchar *const *arg_arg_ao, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 3); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # g_marshal_value_peek_boxed (param_values + 2), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_ao", 754s # (gchar *) "ao", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodAo", 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 754s # NULL, 754s # NULL 754s # }, 754s # "handle-single-arg-method-ao", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * @arg_arg_ao: Argument passed by remote caller. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-ao", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_ao, 754s # G_TYPE_BOOLEAN, 754s # 2, 754s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_ao: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_ao: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_ao ( 754s # OrgProjectUsefulInterface *proxy, 754s # const gchar *const *arg_arg_ao, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodAo", 754s # g_variant_new ("(^ao)", 754s # arg_arg_ao), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_ao_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_ao_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_ao_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_ao: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_ao_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # const gchar *const *arg_arg_ao, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodAo", 754s # g_variant_new ("(^ao)", 754s # arg_arg_ao), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_ao: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_ao ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("()")); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpd2nl81_5/tmp3mko2180.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd2nl81_5/tmp3mko2180.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # const gchar *const *arg_arg_aay, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 3); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # g_marshal_value_peek_boxed (param_values + 2), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_aay", 754s # (gchar *) "aay", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodAay", 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 754s # NULL, 754s # NULL 754s # }, 754s # "handle-single-arg-method-aay", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * @arg_arg_aay: Argument passed by remote caller. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-aay", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_aay, 754s # G_TYPE_BOOLEAN, 754s # 2, 754s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_aay: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_aay: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_aay ( 754s # OrgProjectUsefulInterface *proxy, 754s # const gchar *const *arg_arg_aay, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodAay", 754s # g_variant_new ("(^aay)", 754s # arg_arg_aay), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_aay_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_aay_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_aay_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_aay: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_aay_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # const gchar *const *arg_arg_aay, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodAay", 754s # g_variant_new ("(^aay)", 754s # arg_arg_aay), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_aay: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_aay ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("()")); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpd2nl81_5/tmpvfe7c4e6.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd2nl81_5/tmpvfe7c4e6.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # GVariant *arg_arg_asv, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 3); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # g_marshal_value_peek_variant (param_values + 2), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_asv", 754s # (gchar *) "a{sv}", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodAsv", 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 754s # NULL, 754s # NULL 754s # }, 754s # "handle-single-arg-method-asv", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * @arg_arg_asv: Argument passed by remote caller. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-asv", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_asv, 754s # G_TYPE_BOOLEAN, 754s # 2, 754s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_asv: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_asv: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_asv ( 754s # OrgProjectUsefulInterface *proxy, 754s # GVariant *arg_arg_asv, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodAsv", 754s # g_variant_new ("(@a{sv})", 754s # arg_arg_asv), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_asv_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_asv_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_asv_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @arg_arg_asv: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_asv_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # GVariant *arg_arg_asv, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodAsv", 754s # g_variant_new ("(@a{sv})", 754s # arg_arg_asv), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_asv: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_asv ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("()")); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 754s # gdbus-codegen: /usr/bin/gdbus-codegen 754s # tmpdir: /tmp/tmpo8xwinzp 754s # /tmp/tmpo8xwinzp/tmp_ys84b52.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8xwinzp/tmp_ys84b52.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 2); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_b", 754s # (gchar *) "b", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodB", 754s # NULL, 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 754s # NULL 754s # }, 754s # "handle-single-arg-method-b", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_b ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-b", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_b, 754s # G_TYPE_BOOLEAN, 754s # 1, 754s # G_TYPE_DBUS_METHOD_INVOCATION); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_b: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_b ( 754s # OrgProjectUsefulInterface *proxy, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodB", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_b_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_b_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # gboolean *out_arg_b, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(b)", 754s # out_arg_b); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_b_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_b_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # gboolean *out_arg_b, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodB", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(b)", 754s # out_arg_b); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_b: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * @arg_b: Parameter to return. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_b ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation, 754s # gboolean arg_b) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("(b)", 754s # arg_b)); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpo8xwinzp/tmp8tvpcv14.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8xwinzp/tmp8tvpcv14.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 2); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_y", 754s # (gchar *) "y", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodY", 754s # NULL, 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 754s # NULL 754s # }, 754s # "handle-single-arg-method-y", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_y ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-y", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_y, 754s # G_TYPE_BOOLEAN, 754s # 1, 754s # G_TYPE_DBUS_METHOD_INVOCATION); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_y: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_y ( 754s # OrgProjectUsefulInterface *proxy, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodY", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_y_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_y_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # guchar *out_arg_y, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(y)", 754s # out_arg_y); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_y_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_y_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # guchar *out_arg_y, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodY", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(y)", 754s # out_arg_y); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_y: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * @arg_y: Parameter to return. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_y ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation, 754s # guchar arg_y) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("(y)", 754s # arg_y)); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpo8xwinzp/tmpmey_ycro.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8xwinzp/tmpmey_ycro.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 2); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_n", 754s # (gchar *) "n", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodN", 754s # NULL, 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 754s # NULL 754s # }, 754s # "handle-single-arg-method-n", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_n ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-n", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_n, 754s # G_TYPE_BOOLEAN, 754s # 1, 754s # G_TYPE_DBUS_METHOD_INVOCATION); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_n: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_n ( 754s # OrgProjectUsefulInterface *proxy, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodN", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_n_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_n_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # gint16 *out_arg_n, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(n)", 754s # out_arg_n); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_n_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_n_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # gint16 *out_arg_n, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodN", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(n)", 754s # out_arg_n); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_n: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * @arg_n: Parameter to return. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_n ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation, 754s # gint16 arg_n) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("(n)", 754s # arg_n)); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpo8xwinzp/tmprtdq26ra.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8xwinzp/tmprtdq26ra.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 2); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_q", 754s # (gchar *) "q", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodQ", 754s # NULL, 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 754s # NULL 754s # }, 754s # "handle-single-arg-method-q", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_q ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-q", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_q, 754s # G_TYPE_BOOLEAN, 754s # 1, 754s # G_TYPE_DBUS_METHOD_INVOCATION); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_q: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_q ( 754s # OrgProjectUsefulInterface *proxy, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodQ", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_q_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_q_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # guint16 *out_arg_q, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(q)", 754s # out_arg_q); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_q_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_q_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # guint16 *out_arg_q, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodQ", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(q)", 754s # out_arg_q); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_q: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * @arg_q: Parameter to return. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_q ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation, 754s # guint16 arg_q) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("(q)", 754s # arg_q)); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpo8xwinzp/tmptt5r4mef.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8xwinzp/tmptt5r4mef.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 2); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_i", 754s # (gchar *) "i", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodI", 754s # NULL, 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 754s # NULL 754s # }, 754s # "handle-single-arg-method-i", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_i ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-i", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_i, 754s # G_TYPE_BOOLEAN, 754s # 1, 754s # G_TYPE_DBUS_METHOD_INVOCATION); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_i: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_i ( 754s # OrgProjectUsefulInterface *proxy, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodI", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_i_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_i_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # gint *out_arg_i, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(i)", 754s # out_arg_i); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_i_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_i_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # gint *out_arg_i, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodI", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(i)", 754s # out_arg_i); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_i: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * @arg_i: Parameter to return. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_i ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation, 754s # gint arg_i) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("(i)", 754s # arg_i)); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpo8xwinzp/tmpj0exiwvv.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8xwinzp/tmpj0exiwvv.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 2); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_u", 754s # (gchar *) "u", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodU", 754s # NULL, 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 754s # NULL 754s # }, 754s # "handle-single-arg-method-u", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_u ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-u", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_u, 754s # G_TYPE_BOOLEAN, 754s # 1, 754s # G_TYPE_DBUS_METHOD_INVOCATION); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_u: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_u ( 754s # OrgProjectUsefulInterface *proxy, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodU", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_u_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_u_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # guint *out_arg_u, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(u)", 754s # out_arg_u); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_u_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_u_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # guint *out_arg_u, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodU", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(u)", 754s # out_arg_u); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_u: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * @arg_u: Parameter to return. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_u ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation, 754s # guint arg_u) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("(u)", 754s # arg_u)); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpo8xwinzp/tmpmiu4biud.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8xwinzp/tmpmiu4biud.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 2); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_x", 754s # (gchar *) "x", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodX", 754s # NULL, 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 754s # NULL 754s # }, 754s # "handle-single-arg-method-x", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_x ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-x", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_x, 754s # G_TYPE_BOOLEAN, 754s # 1, 754s # G_TYPE_DBUS_METHOD_INVOCATION); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_x: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_x ( 754s # OrgProjectUsefulInterface *proxy, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodX", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_x_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_x_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # gint64 *out_arg_x, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(x)", 754s # out_arg_x); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_x_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_x_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # gint64 *out_arg_x, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodX", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(x)", 754s # out_arg_x); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_x: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * @arg_x: Parameter to return. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_x ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation, 754s # gint64 arg_x) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("(x)", 754s # arg_x)); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpo8xwinzp/tmpx56m3k1u.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8xwinzp/tmpx56m3k1u.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 2); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_t", 754s # (gchar *) "t", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodT", 754s # NULL, 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 754s # NULL 754s # }, 754s # "handle-single-arg-method-t", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_t ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-t", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_t, 754s # G_TYPE_BOOLEAN, 754s # 1, 754s # G_TYPE_DBUS_METHOD_INVOCATION); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_t: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_t ( 754s # OrgProjectUsefulInterface *proxy, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodT", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_t_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_t_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # guint64 *out_arg_t, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(t)", 754s # out_arg_t); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_t_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_t_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # guint64 *out_arg_t, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodT", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(t)", 754s # out_arg_t); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_t: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * @arg_t: Parameter to return. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_t ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation, 754s # guint64 arg_t) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("(t)", 754s # arg_t)); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpo8xwinzp/tmpk0b224r7.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8xwinzp/tmpk0b224r7.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 2); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_d", 754s # (gchar *) "d", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodD", 754s # NULL, 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 754s # NULL 754s # }, 754s # "handle-single-arg-method-d", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_d ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-d", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_d, 754s # G_TYPE_BOOLEAN, 754s # 1, 754s # G_TYPE_DBUS_METHOD_INVOCATION); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_d: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_d ( 754s # OrgProjectUsefulInterface *proxy, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodD", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_d_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_d_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # gdouble *out_arg_d, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(d)", 754s # out_arg_d); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_d_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_d_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # gdouble *out_arg_d, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodD", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(d)", 754s # out_arg_d); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_d: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * @arg_d: Parameter to return. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_d ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation, 754s # gdouble arg_d) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("(d)", 754s # arg_d)); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpo8xwinzp/tmpx8jboeqf.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8xwinzp/tmpx8jboeqf.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 2); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_s", 754s # (gchar *) "s", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodS", 754s # NULL, 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 754s # NULL 754s # }, 754s # "handle-single-arg-method-s", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_s ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-s", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_s, 754s # G_TYPE_BOOLEAN, 754s # 1, 754s # G_TYPE_DBUS_METHOD_INVOCATION); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_s: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_s ( 754s # OrgProjectUsefulInterface *proxy, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodS", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_s_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_s_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # gchar **out_arg_s, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(s)", 754s # out_arg_s); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_s_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_s_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # gchar **out_arg_s, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodS", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(s)", 754s # out_arg_s); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_s: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * @arg_s: Parameter to return. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_s ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation, 754s # const gchar *arg_s) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("(s)", 754s # arg_s)); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpo8xwinzp/tmpi15j6ri1.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8xwinzp/tmpi15j6ri1.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 2); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_o", 754s # (gchar *) "o", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodO", 754s # NULL, 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 754s # NULL 754s # }, 754s # "handle-single-arg-method-o", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_o ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-o", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_o, 754s # G_TYPE_BOOLEAN, 754s # 1, 754s # G_TYPE_DBUS_METHOD_INVOCATION); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_o: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_o ( 754s # OrgProjectUsefulInterface *proxy, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodO", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_o_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_o_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # gchar **out_arg_o, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(o)", 754s # out_arg_o); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_o_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_o_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # gchar **out_arg_o, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodO", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(o)", 754s # out_arg_o); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_o: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * @arg_o: Parameter to return. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_o ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation, 754s # const gchar *arg_o) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("(o)", 754s # arg_o)); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpo8xwinzp/tmpmygsvzsl.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8xwinzp/tmpmygsvzsl.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 2); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_g", 754s # (gchar *) "g", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodG", 754s # NULL, 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 754s # NULL 754s # }, 754s # "handle-single-arg-method-g", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_g ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-g", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_g, 754s # G_TYPE_BOOLEAN, 754s # 1, 754s # G_TYPE_DBUS_METHOD_INVOCATION); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_g: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_g ( 754s # OrgProjectUsefulInterface *proxy, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodG", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_g_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_g_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # gchar **out_arg_g, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(g)", 754s # out_arg_g); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_g_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_g_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # gchar **out_arg_g, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodG", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(g)", 754s # out_arg_g); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_g: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * @arg_g: Parameter to return. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_g ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation, 754s # const gchar *arg_g) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("(g)", 754s # arg_g)); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpo8xwinzp/tmp7vz8ko70.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8xwinzp/tmp7vz8ko70.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 2); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_h", 754s # (gchar *) "h", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodH", 754s # NULL, 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 754s # NULL 754s # }, 754s # "handle-single-arg-method-h", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_h ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-h", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_h, 754s # G_TYPE_BOOLEAN, 754s # 1, 754s # G_TYPE_DBUS_METHOD_INVOCATION); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_h: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_h ( 754s # OrgProjectUsefulInterface *proxy, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodH", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_h_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_h_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # GVariant **out_arg_h, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(@h)", 754s # out_arg_h); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_h_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_h_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # GVariant **out_arg_h, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodH", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(@h)", 754s # out_arg_h); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_h: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * @arg_h: Parameter to return. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_h ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation, 754s # GVariant *arg_h) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("(@h)", 754s # arg_h)); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpo8xwinzp/tmpar95x29s.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8xwinzp/tmpar95x29s.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 2); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_ay", 754s # (gchar *) "ay", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodAy", 754s # NULL, 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 754s # NULL 754s # }, 754s # "handle-single-arg-method-ay", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-ay", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_ay, 754s # G_TYPE_BOOLEAN, 754s # 1, 754s # G_TYPE_DBUS_METHOD_INVOCATION); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_ay: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_ay ( 754s # OrgProjectUsefulInterface *proxy, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodAy", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_ay_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_ay_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # gchar **out_arg_ay, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(^ay)", 754s # out_arg_ay); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_ay_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_ay_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # gchar **out_arg_ay, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodAy", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(^ay)", 754s # out_arg_ay); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_ay: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * @arg_ay: Parameter to return. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_ay ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation, 754s # const gchar *arg_ay) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("(^ay)", 754s # arg_ay)); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpo8xwinzp/tmp1r4zowuj.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8xwinzp/tmp1r4zowuj.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 2); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_as", 754s # (gchar *) "as", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodAs", 754s # NULL, 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 754s # NULL 754s # }, 754s # "handle-single-arg-method-as", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_as ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-as", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_as, 754s # G_TYPE_BOOLEAN, 754s # 1, 754s # G_TYPE_DBUS_METHOD_INVOCATION); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_as: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_as ( 754s # OrgProjectUsefulInterface *proxy, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodAs", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_as_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_as_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # gchar ***out_arg_as, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(^as)", 754s # out_arg_as); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_as_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_as_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # gchar ***out_arg_as, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodAs", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(^as)", 754s # out_arg_as); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_as: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * @arg_as: Parameter to return. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_as ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation, 754s # const gchar *const *arg_as) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("(^as)", 754s # arg_as)); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpo8xwinzp/tmpt9ai3oc7.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8xwinzp/tmpt9ai3oc7.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 2); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_ao", 754s # (gchar *) "ao", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodAo", 754s # NULL, 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 754s # NULL 754s # }, 754s # "handle-single-arg-method-ao", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-ao", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_ao, 754s # G_TYPE_BOOLEAN, 754s # 1, 754s # G_TYPE_DBUS_METHOD_INVOCATION); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_ao: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_ao ( 754s # OrgProjectUsefulInterface *proxy, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodAo", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_ao_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_ao_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # gchar ***out_arg_ao, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(^ao)", 754s # out_arg_ao); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_ao_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_ao_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # gchar ***out_arg_ao, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodAo", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(^ao)", 754s # out_arg_ao); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_ao: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * @arg_ao: Parameter to return. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_ao ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation, 754s # const gchar *const *arg_ao) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("(^ao)", 754s # arg_ao)); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpo8xwinzp/tmpc5h_4oeh.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8xwinzp/tmpc5h_4oeh.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 2); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_aay", 754s # (gchar *) "aay", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodAay", 754s # NULL, 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 754s # NULL 754s # }, 754s # "handle-single-arg-method-aay", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-aay", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_aay, 754s # G_TYPE_BOOLEAN, 754s # 1, 754s # G_TYPE_DBUS_METHOD_INVOCATION); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_aay: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_aay ( 754s # OrgProjectUsefulInterface *proxy, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodAay", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_aay_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_aay_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # gchar ***out_arg_aay, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(^aay)", 754s # out_arg_aay); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_aay_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_aay_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # gchar ***out_arg_aay, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodAay", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(^aay)", 754s # out_arg_aay); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_aay: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * @arg_aay: Parameter to return. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_aay ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation, 754s # const gchar *const *arg_aay) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("(^aay)", 754s # arg_aay)); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s # 754s # /tmp/tmpo8xwinzp/tmpyzrhpstv.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8xwinzp/tmpyzrhpstv.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 2); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.UsefulInterface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectUsefulInterface 754s # * @title: OrgProjectUsefulInterface 754s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 754s # { 754s # { 754s # -1, 754s # (gchar *) "arg_asv", 754s # (gchar *) "a{sv}", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgMethodAsv", 754s # NULL, 754s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 754s # NULL 754s # }, 754s # "handle-single-arg-method-asv", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 754s # { 754s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.UsefulInterface", 754s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-useful-interface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_useful_interface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_useful_interface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectUsefulInterface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 754s # */ 754s # 754s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * 754s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-single-arg-method-asv", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_useful_interface_method_marshal_single_arg_method_asv, 754s # G_TYPE_BOOLEAN, 754s # 1, 754s # G_TYPE_DBUS_METHOD_INVOCATION); 754s # 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_asv: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_useful_interface_call_single_arg_method_asv ( 754s # OrgProjectUsefulInterface *proxy, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodAsv", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_asv_finish: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_asv_finish ( 754s # OrgProjectUsefulInterface *proxy, 754s # GVariant **out_arg_asv, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(@a{sv})", 754s # out_arg_asv); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_call_single_arg_method_asv_sync: 754s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 754s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_useful_interface_call_single_arg_method_asv_sync ( 754s # OrgProjectUsefulInterface *proxy, 754s # GVariant **out_arg_asv, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SingleArgMethodAsv", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(@a{sv})", 754s # out_arg_asv); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_complete_single_arg_method_asv: 754s # * @object: A #OrgProjectUsefulInterface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * @arg_asv: Parameter to return. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_useful_interface_complete_single_arg_method_asv ( 754s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation, 754s # GVariant *arg_asv) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("(@a{sv})", 754s # arg_asv)); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxy: 754s # * 754s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 754s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 754s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCance# Executing: glib/codegen.py.test 754s llable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_useful_interface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_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); 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeleton: 754s # * 754s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectUsefulInterfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_useful_interface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_useful_interface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_useful_interface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 754s # { 754s # _org_project_useful_interface_skeleton_handle_method_call, 754s # _org_project_useful_interface_skeleton_handle_get_property, 754s # _org_project_useful_interface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_useful_interface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_useful_interface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_useful_interface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectUsefulInterface * 754s # org_project_useful_interface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 754s # gdbus-codegen: /usr/bin/gdbus-codegen 754s # tmpdir: /tmp/tmpmpa2k0jg 754s # /tmp/tmpmpa2k0jg/tmp_2in_kmo.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmpa2k0jg/tmp_2in_kmo.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # gboolean arg_an_b, 754s # guchar arg_an_y, 754s # gint16 arg_an_n, 754s # guint16 arg_an_q, 754s # gint arg_an_i, 754s # guint arg_an_u, 754s # gint64 arg_an_x, 754s # guint64 arg_an_t, 754s # gdouble arg_an_d, 754s # const gchar *arg_an_s, 754s # const gchar *arg_an_o, 754s # const gchar *arg_an_g, 754s # GVariant *arg_an_h, 754s # const gchar *arg_an_ay, 754s # const gchar *const *arg_an_as, 754s # const gchar *const *arg_an_ao, 754s # const gchar *const *arg_an_aay, 754s # GVariant *arg_an_asv, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 20); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # g_marshal_value_peek_boolean (param_values + 2), 754s # g_marshal_value_peek_uchar (param_values + 3), 754s # g_marshal_value_peek_int (param_values + 4), 754s # g_marshal_value_peek_uint (param_values + 5), 754s # g_marshal_value_peek_int (param_values + 6), 754s # g_marshal_value_peek_uint (param_values + 7), 754s # g_marshal_value_peek_int64 (param_values + 8), 754s # g_marshal_value_peek_uint64 (param_values + 9), 754s # g_marshal_value_peek_double (param_values + 10), 754s # g_marshal_value_peek_string (param_values + 11), 754s # g_marshal_value_peek_string (param_values + 12), 754s # g_marshal_value_peek_string (param_values + 13), 754s # g_marshal_value_peek_variant (param_values + 14), 754s # g_marshal_value_peek_string (param_values + 15), 754s # g_marshal_value_peek_boxed (param_values + 16), 754s # g_marshal_value_peek_boxed (param_values + 17), 754s # g_marshal_value_peek_boxed (param_values + 18), 754s # g_marshal_value_peek_variant (param_values + 19), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.CallableIface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectCallableIface 754s # * @title: OrgProjectCallableIface 754s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.CallableIface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_b", 754s # (gchar *) "b", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_y", 754s # (gchar *) "y", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_n", 754s # (gchar *) "n", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_q", 754s # (gchar *) "q", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_i", 754s # (gchar *) "i", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_u", 754s # (gchar *) "u", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_x", 754s # (gchar *) "x", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_t", 754s # (gchar *) "t", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_d", 754s # (gchar *) "d", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_s", 754s # (gchar *) "s", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_o", 754s # (gchar *) "o", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_g", 754s # (gchar *) "g", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_h", 754s # (gchar *) "h", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_ay", 754s # (gchar *) "ay", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_as", 754s # (gchar *) "as", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_ao", 754s # (gchar *) "ao", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_aay", 754s # (gchar *) "aay", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_asv", 754s # (gchar *) "a{sv}", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 754s # { 754s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 754s # { 754s # { 754s # -1, 754s # (gchar *) "MethodWithManyArgs", 754s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 754s # NULL, 754s # NULL 754s # }, 754s # "handle-method-with-many-args", 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_b", 754s # (gchar *) "b", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_y", 754s # (gchar *) "y", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_n", 754s # (gchar *) "n", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_q", 754s # (gchar *) "q", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_i", 754s # (gchar *) "i", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_u", 754s # (gchar *) "u", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_x", 754s # (gchar *) "x", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_t", 754s # (gchar *) "t", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_d", 754s # (gchar *) "d", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_s", 754s # (gchar *) "s", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_o", 754s # (gchar *) "o", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_g", 754s # (gchar *) "g", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_h", 754s # (gchar *) "h", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_ay", 754s # (gchar *) "ay", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_as", 754s # (gchar *) "as", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_ao", 754s # (gchar *) "ao", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_aay", 754s # (gchar *) "aay", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_asv", 754s # (gchar *) "a{sv}", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 754s # { 754s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 754s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 754s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 754s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 754s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 754s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 754s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 754s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 754s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 754s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 754s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 754s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 754s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 754s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 754s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 754s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 754s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 754s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SameMethodWithManyArgs", 754s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 754s # NULL, 754s # NULL 754s # }, 754s # "handle-same-method-with-many-args", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 754s # { 754s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 754s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.CallableIface", 754s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-callable-iface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_callable_iface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_callable_iface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_callable_iface_method_marshal_method_with_many_args ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _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, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # inline static void 754s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _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, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectCallableIface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 754s # */ 754s # 754s # /** 754s # * OrgProjectCallableIfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 754s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.CallableIface. 754s # */ 754s # 754s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectCallableIface::handle-method-with-many-args: 754s # * @object: A #OrgProjectCallableIface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * @arg_an_b: Argument passed by remote caller. 754s # * @arg_an_y: Argument passed by remote caller. 754s # * @arg_an_n: Argument passed by remote caller. 754s # * @arg_an_q: Argument passed by remote caller. 754s # * @arg_an_i: Argument passed by remote caller. 754s # * @arg_an_u: Argument passed by remote caller. 754s # * @arg_an_x: Argument passed by remote caller. 754s # * @arg_an_t: Argument passed by remote caller. 754s # * @arg_an_d: Argument passed by remote caller. 754s # * @arg_an_s: Argument passed by remote caller. 754s # * @arg_an_o: Argument passed by remote caller. 754s # * @arg_an_g: Argument passed by remote caller. 754s # * @arg_an_h: Argument passed by remote caller. 754s # * @arg_an_ay: Argument passed by remote caller. 754s # * @arg_an_as: Argument passed by remote caller. 754s # * @arg_an_ao: Argument passed by remote caller. 754s # * @arg_an_aay: Argument passed by remote caller. 754s # * @arg_an_asv: Argument passed by remote caller. 754s # * 754s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-method-with-many-args", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_callable_iface_method_marshal_method_with_many_args, 754s # G_TYPE_BOOLEAN, 754s # 19, 754s # 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); 754s # 754s # /** 754s # * OrgProjectCallableIface::handle-same-method-with-many-args: 754s # * @object: A #OrgProjectCallableIface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * @arg_an_b: Argument passed by remote caller. 754s # * @arg_an_y: Argument passed by remote caller. 754s # * @arg_an_n: Argument passed by remote caller. 754s # * @arg_an_q: Argument passed by remote caller. 754s # * @arg_an_i: Argument passed by remote caller. 754s # * @arg_an_u: Argument passed by remote caller. 754s # * @arg_an_x: Argument passed by remote caller. 754s # * @arg_an_t: Argument passed by remote caller. 754s # * @arg_an_d: Argument passed by remote caller. 754s # * @arg_an_s: Argument passed by remote caller. 754s # * @arg_an_o: Argument passed by remote caller. 754s # * @arg_an_g: Argument passed by remote caller. 754s # * @arg_an_h: Argument passed by remote caller. 754s # * @arg_an_ay: Argument passed by remote caller. 754s # * @arg_an_as: Argument passed by remote caller. 754s # * @arg_an_ao: Argument passed by remote caller. 754s # * @arg_an_aay: Argument passed by remote caller. 754s # * @arg_an_asv: Argument passed by remote caller. 754s # * 754s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-same-method-with-many-args", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_callable_iface_method_marshal_same_method_with_many_args, 754s # G_TYPE_BOOLEAN, 754s # 19, 754s # 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); 754s # 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_call_method_with_many_args: 754s # * @proxy: A #OrgProjectCallableIfaceProxy. 754s # * @arg_an_b: Argument to pass with the method invocation. 754s # * @arg_an_y: Argument to pass with the method invocation. 754s # * @arg_an_n: Argument to pass with the method invocation. 754s # * @arg_an_q: Argument to pass with the method invocation. 754s # * @arg_an_i: Argument to pass with the method invocation. 754s # * @arg_an_u: Argument to pass with the method invocation. 754s # * @arg_an_x: Argument to pass with the method invocation. 754s # * @arg_an_t: Argument to pass with the method invocation. 754s # * @arg_an_d: Argument to pass with the method invocation. 754s # * @arg_an_s: Argument to pass with the method invocation. 754s # * @arg_an_o: Argument to pass with the method invocation. 754s # * @arg_an_g: Argument to pass with the method invocation. 754s # * @arg_an_h: Argument to pass with the method invocation. 754s # * @arg_an_ay: Argument to pass with the method invocation. 754s # * @arg_an_as: Argument to pass with the method invocation. 754s # * @arg_an_ao: Argument to pass with the method invocation. 754s # * @arg_an_aay: Argument to pass with the method invocation. 754s # * @arg_an_asv: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 754s # * 754s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_callable_iface_call_method_with_many_args ( 754s # OrgProjectCallableIface *proxy, 754s # gboolean arg_an_b, 754s # guchar arg_an_y, 754s # gint16 arg_an_n, 754s # guint16 arg_an_q, 754s # gint arg_an_i, 754s # guint arg_an_u, 754s # gint64 arg_an_x, 754s # guint64 arg_an_t, 754s # gdouble arg_an_d, 754s # const gchar *arg_an_s, 754s # const gchar *arg_an_o, 754s # const gchar *arg_an_g, 754s # GVariant *arg_an_h, 754s # const gchar *arg_an_ay, 754s # const gchar *const *arg_an_as, 754s # const gchar *const *arg_an_ao, 754s # const gchar *const *arg_an_aay, 754s # GVariant *arg_an_asv, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "MethodWithManyArgs", 754s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 754s # arg_an_b, 754s # arg_an_y, 754s # arg_an_n, 754s # arg_an_q, 754s # arg_an_i, 754s # arg_an_u, 754s # arg_an_x, 754s # arg_an_t, 754s # arg_an_d, 754s # arg_an_s, 754s # arg_an_o, 754s # arg_an_g, 754s # arg_an_h, 754s # arg_an_ay, 754s # arg_an_as, 754s # arg_an_ao, 754s # arg_an_aay, 754s # arg_an_asv), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_call_method_with_many_args_finish: 754s # * @proxy: A #OrgProjectCallableIfaceProxy. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_callable_iface_call_method_with_many_args_finish ( 754s # OrgProjectCallableIface *proxy, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_call_method_with_many_args_sync: 754s # * @proxy: A #OrgProjectCallableIfaceProxy. 754s # * @arg_an_b: Argument to pass with the method invocation. 754s # * @arg_an_y: Argument to pass with the method invocation. 754s # * @arg_an_n: Argument to pass with the method invocation. 754s # * @arg_an_q: Argument to pass with the method invocation. 754s # * @arg_an_i: Argument to pass with the method invocation. 754s # * @arg_an_u: Argument to pass with the method invocation. 754s # * @arg_an_x: Argument to pass with the method invocation. 754s # * @arg_an_t: Argument to pass with the method invocation. 754s # * @arg_an_d: Argument to pass with the method invocation. 754s # * @arg_an_s: Argument to pass with the method invocation. 754s # * @arg_an_o: Argument to pass with the method invocation. 754s # * @arg_an_g: Argument to pass with the method invocation. 754s # * @arg_an_h: Argument to pass with the method invocation. 754s # * @arg_an_ay: Argument to pass with the method invocation. 754s # * @arg_an_as: Argument to pass with the method invocation. 754s # * @arg_an_ao: Argument to pass with the method invocation. 754s # * @arg_an_aay: Argument to pass with the method invocation. 754s # * @arg_an_asv: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_callable_iface_call_method_with_many_args_sync ( 754s # OrgProjectCallableIface *proxy, 754s # gboolean arg_an_b, 754s # guchar arg_an_y, 754s # gint16 arg_an_n, 754s # guint16 arg_an_q, 754s # gint arg_an_i, 754s # guint arg_an_u, 754s # gint64 arg_an_x, 754s # guint64 arg_an_t, 754s # gdouble arg_an_d, 754s # const gchar *arg_an_s, 754s # const gchar *arg_an_o, 754s # const gchar *arg_an_g, 754s # GVariant *arg_an_h, 754s # const gchar *arg_an_ay, 754s # const gchar *const *arg_an_as, 754s # const gchar *const *arg_an_ao, 754s # const gchar *const *arg_an_aay, 754s # GVariant *arg_an_asv, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "MethodWithManyArgs", 754s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 754s # arg_an_b, 754s # arg_an_y, 754s # arg_an_n, 754s # arg_an_q, 754s # arg_an_i, 754s # arg_an_u, 754s # arg_an_x, 754s # arg_an_t, 754s # arg_an_d, 754s # arg_an_s, 754s # arg_an_o, 754s # arg_an_g, 754s # arg_an_h, 754s # arg_an_ay, 754s # arg_an_as, 754s # arg_an_ao, 754s # arg_an_aay, 754s # arg_an_asv), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_call_same_method_with_many_args: 754s # * @proxy: A #OrgProjectCallableIfaceProxy. 754s # * @arg_an_b: Argument to pass with the method invocation. 754s # * @arg_an_y: Argument to pass with the method invocation. 754s # * @arg_an_n: Argument to pass with the method invocation. 754s # * @arg_an_q: Argument to pass with the method invocation. 754s # * @arg_an_i: Argument to pass with the method invocation. 754s # * @arg_an_u: Argument to pass with the method invocation. 754s # * @arg_an_x: Argument to pass with the method invocation. 754s # * @arg_an_t: Argument to pass with the method invocation. 754s # * @arg_an_d: Argument to pass with the method invocation. 754s # * @arg_an_s: Argument to pass with the method invocation. 754s # * @arg_an_o: Argument to pass with the method invocation. 754s # * @arg_an_g: Argument to pass with the method invocation. 754s # * @arg_an_h: Argument to pass with the method invocation. 754s # * @arg_an_ay: Argument to pass with the method invocation. 754s # * @arg_an_as: Argument to pass with the method invocation. 754s # * @arg_an_ao: Argument to pass with the method invocation. 754s # * @arg_an_aay: Argument to pass with the method invocation. 754s # * @arg_an_asv: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 754s # * 754s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_callable_iface_call_same_method_with_many_args ( 754s # OrgProjectCallableIface *proxy, 754s # gboolean arg_an_b, 754s # guchar arg_an_y, 754s # gint16 arg_an_n, 754s # guint16 arg_an_q, 754s # gint arg_an_i, 754s # guint arg_an_u, 754s # gint64 arg_an_x, 754s # guint64 arg_an_t, 754s # gdouble arg_an_d, 754s # const gchar *arg_an_s, 754s # const gchar *arg_an_o, 754s # const gchar *arg_an_g, 754s # GVariant *arg_an_h, 754s # const gchar *arg_an_ay, 754s # const gchar *const *arg_an_as, 754s # const gchar *const *arg_an_ao, 754s # const gchar *const *arg_an_aay, 754s # GVariant *arg_an_asv, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "SameMethodWithManyArgs", 754s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 754s # arg_an_b, 754s # arg_an_y, 754s # arg_an_n, 754s # arg_an_q, 754s # arg_an_i, 754s # arg_an_u, 754s # arg_an_x, 754s # arg_an_t, 754s # arg_an_d, 754s # arg_an_s, 754s # arg_an_o, 754s # arg_an_g, 754s # arg_an_h, 754s # arg_an_ay, 754s # arg_an_as, 754s # arg_an_ao, 754s # arg_an_aay, 754s # arg_an_asv), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_call_same_method_with_many_args_finish: 754s # * @proxy: A #OrgProjectCallableIfaceProxy. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_callable_iface_call_same_method_with_many_args_finish ( 754s # OrgProjectCallableIface *proxy, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_call_same_method_with_many_args_sync: 754s # * @proxy: A #OrgProjectCallableIfaceProxy. 754s # * @arg_an_b: Argument to pass with the method invocation. 754s # * @arg_an_y: Argument to pass with the method invocation. 754s # * @arg_an_n: Argument to pass with the method invocation. 754s # * @arg_an_q: Argument to pass with the method invocation. 754s # * @arg_an_i: Argument to pass with the method invocation. 754s # * @arg_an_u: Argument to pass with the method invocation. 754s # * @arg_an_x: Argument to pass with the method invocation. 754s # * @arg_an_t: Argument to pass with the method invocation. 754s # * @arg_an_d: Argument to pass with the method invocation. 754s # * @arg_an_s: Argument to pass with the method invocation. 754s # * @arg_an_o: Argument to pass with the method invocation. 754s # * @arg_an_g: Argument to pass with the method invocation. 754s # * @arg_an_h: Argument to pass with the method invocation. 754s # * @arg_an_ay: Argument to pass with the method invocation. 754s # * @arg_an_as: Argument to pass with the method invocation. 754s # * @arg_an_ao: Argument to pass with the method invocation. 754s # * @arg_an_aay: Argument to pass with the method invocation. 754s # * @arg_an_asv: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_callable_iface_call_same_method_with_many_args_sync ( 754s # OrgProjectCallableIface *proxy, 754s # gboolean arg_an_b, 754s # guchar arg_an_y, 754s # gint16 arg_an_n, 754s # guint16 arg_an_q, 754s # gint arg_an_i, 754s # guint arg_an_u, 754s # gint64 arg_an_x, 754s # guint64 arg_an_t, 754s # gdouble arg_an_d, 754s # const gchar *arg_an_s, 754s # const gchar *arg_an_o, 754s # const gchar *arg_an_g, 754s # GVariant *arg_an_h, 754s # const gchar *arg_an_ay, 754s # const gchar *const *arg_an_as, 754s # const gchar *const *arg_an_ao, 754s # const gchar *const *arg_an_aay, 754s # GVariant *arg_an_asv, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "SameMethodWithManyArgs", 754s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 754s # arg_an_b, 754s # arg_an_y, 754s # arg_an_n, 754s # arg_an_q, 754s # arg_an_i, 754s # arg_an_u, 754s # arg_an_x, 754s # arg_an_t, 754s # arg_an_d, 754s # arg_an_s, 754s # arg_an_o, 754s # arg_an_g, 754s # arg_an_h, 754s # arg_an_ay, 754s # arg_an_as, 754s # arg_an_ao, 754s # arg_an_aay, 754s # arg_an_asv), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_complete_method_with_many_args: 754s # * @object: A #OrgProjectCallableIface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_callable_iface_complete_method_with_many_args ( 754s # OrgProjectCallableIface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("()")); 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_complete_same_method_with_many_args: 754s # * @object: A #OrgProjectCallableIface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_callable_iface_complete_same_method_with_many_args ( 754s # OrgProjectCallableIface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("()")); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectCallableIfaceProxy: 754s # * 754s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectCallableIfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectCallableIfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectCallableIfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_callable_iface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 754s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 754s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_callable_iface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # 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); 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectCallableIface * 754s # org_project_callable_iface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_CALLABLE_IFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectCallableIface * 754s # org_project_callable_iface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_CALLABLE_IFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_callable_iface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_callable_iface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # 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); 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectCallableIface * 754s # org_project_callable_iface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_CALLABLE_IFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectCallableIface * 754s # org_project_callable_iface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_CALLABLE_IFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectCallableIfaceSkeleton: 754s # * 754s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectCallableIfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectCallableIfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectCallableIfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_callable_iface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_callable_iface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_callable_iface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 754s # { 754s # _org_project_callable_iface_skeleton_handle_method_call, 754s # _org_project_callable_iface_skeleton_handle_get_property, 754s # _org_project_callable_iface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_callable_iface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_callable_iface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectCallableIface * 754s # org_project_callable_iface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.OtherCallableIface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectOtherCallableIface 754s # * @title: OrgProjectOtherCallableIface 754s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_b", 754s # (gchar *) "b", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_y", 754s # (gchar *) "y", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_n", 754s # (gchar *) "n", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_q", 754s # (gchar *) "q", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_i", 754s # (gchar *) "i", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_u", 754s # (gchar *) "u", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_x", 754s # (gchar *) "x", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_t", 754s # (gchar *) "t", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_d", 754s # (gchar *) "d", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_s", 754s # (gchar *) "s", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_o", 754s # (gchar *) "o", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_g", 754s # (gchar *) "g", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_h", 754s # (gchar *) "h", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_ay", 754s # (gchar *) "ay", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_as", 754s # (gchar *) "as", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_ao", 754s # (gchar *) "ao", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_aay", 754s # (gchar *) "aay", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_asv", 754s # (gchar *) "a{sv}", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 754s # { 754s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 754s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 754s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 754s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 754s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 754s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 754s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 754s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 754s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 754s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 754s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 754s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 754s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 754s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 754s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 754s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 754s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 754s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 754s # { 754s # { 754s # -1, 754s # (gchar *) "MethodWithManyArgs", 754s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 754s # NULL, 754s # NULL 754s # }, 754s # "handle-method-with-many-args", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 754s # { 754s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.OtherCallableIface", 754s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-other-callable-iface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_other_callable_iface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_other_callable_iface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_other_callable_iface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _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, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectOtherCallableIface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 754s # */ 754s # 754s # /** 754s # * OrgProjectOtherCallableIfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 754s # */ 754s # 754s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 754s # * @object: A #OrgProjectOtherCallableIface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * @arg_an_b: Argument passed by remote caller. 754s # * @arg_an_y: Argument passed by remote caller. 754s # * @arg_an_n: Argument passed by remote caller. 754s # * @arg_an_q: Argument passed by remote caller. 754s # * @arg_an_i: Argument passed by remote caller. 754s # * @arg_an_u: Argument passed by remote caller. 754s # * @arg_an_x: Argument passed by remote caller. 754s # * @arg_an_t: Argument passed by remote caller. 754s # * @arg_an_d: Argument passed by remote caller. 754s # * @arg_an_s: Argument passed by remote caller. 754s # * @arg_an_o: Argument passed by remote caller. 754s # * @arg_an_g: Argument passed by remote caller. 754s # * @arg_an_h: Argument passed by remote caller. 754s # * @arg_an_ay: Argument passed by remote caller. 754s # * @arg_an_as: Argument passed by remote caller. 754s # * @arg_an_ao: Argument passed by remote caller. 754s # * @arg_an_aay: Argument passed by remote caller. 754s # * @arg_an_asv: Argument passed by remote caller. 754s # * 754s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-method-with-many-args", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_other_callable_iface_method_marshal_method_with_many_args, 754s # G_TYPE_BOOLEAN, 754s # 19, 754s # 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); 754s # 754s # } 754s # 754s # /** 754s # * org_project_other_callable_iface_call_method_with_many_args: 754s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 754s # * @arg_an_b: Argument to pass with the method invocation. 754s # * @arg_an_y: Argument to pass with the method invocation. 754s # * @arg_an_n: Argument to pass with the method invocation. 754s # * @arg_an_q: Argument to pass with the method invocation. 754s # * @arg_an_i: Argument to pass with the method invocation. 754s # * @arg_an_u: Argument to pass with the method invocation. 754s # * @arg_an_x: Argument to pass with the method invocation. 754s # * @arg_an_t: Argument to pass with the method invocation. 754s # * @arg_an_d: Argument to pass with the method invocation. 754s # * @arg_an_s: Argument to pass with the method invocation. 754s # * @arg_an_o: Argument to pass with the method invocation. 754s # * @arg_an_g: Argument to pass with the method invocation. 754s # * @arg_an_h: Argument to pass with the method invocation. 754s # * @arg_an_ay: Argument to pass with the method invocation. 754s # * @arg_an_as: Argument to pass with the method invocation. 754s # * @arg_an_ao: Argument to pass with the method invocation. 754s # * @arg_an_aay: Argument to pass with the method invocation. 754s # * @arg_an_asv: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 754s # * 754s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_other_callable_iface_call_method_with_many_args ( 754s # OrgProjectOtherCallableIface *proxy, 754s # gboolean arg_an_b, 754s # guchar arg_an_y, 754s # gint16 arg_an_n, 754s # guint16 arg_an_q, 754s # gint arg_an_i, 754s # guint arg_an_u, 754s # gint64 arg_an_x, 754s # guint64 arg_an_t, 754s # gdouble arg_an_d, 754s # const gchar *arg_an_s, 754s # const gchar *arg_an_o, 754s # const gchar *arg_an_g, 754s # GVariant *arg_an_h, 754s # const gchar *arg_an_ay, 754s # const gchar *const *arg_an_as, 754s # const gchar *const *arg_an_ao, 754s # const gchar *const *arg_an_aay, 754s # GVariant *arg_an_asv, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "MethodWithManyArgs", 754s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 754s # arg_an_b, 754s # arg_an_y, 754s # arg_an_n, 754s # arg_an_q, 754s # arg_an_i, 754s # arg_an_u, 754s # arg_an_x, 754s # arg_an_t, 754s # arg_an_d, 754s # arg_an_s, 754s # arg_an_o, 754s # arg_an_g, 754s # arg_an_h, 754s # arg_an_ay, 754s # arg_an_as, 754s # arg_an_ao, 754s # arg_an_aay, 754s # arg_an_asv), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_other_callable_iface_call_method_with_many_args_finish: 754s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_other_callable_iface_call_method_with_many_args_finish ( 754s # OrgProjectOtherCallableIface *proxy, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_other_callable_iface_call_method_with_many_args_sync: 754s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 754s # * @arg_an_b: Argument to pass with the method invocation. 754s # * @arg_an_y: Argument to pass with the method invocation. 754s # * @arg_an_n: Argument to pass with the method invocation. 754s # * @arg_an_q: Argument to pass with the method invocation. 754s # * @arg_an_i: Argument to pass with the method invocation. 754s # * @arg_an_u: Argument to pass with the method invocation. 754s # * @arg_an_x: Argument to pass with the method invocation. 754s # * @arg_an_t: Argument to pass with the method invocation. 754s # * @arg_an_d: Argument to pass with the method invocation. 754s # * @arg_an_s: Argument to pass with the method invocation. 754s # * @arg_an_o: Argument to pass with the method invocation. 754s # * @arg_an_g: Argument to pass with the method invocation. 754s # * @arg_an_h: Argument to pass with the method invocation. 754s # * @arg_an_ay: Argument to pass with the method invocation. 754s # * @arg_an_as: Argument to pass with the method invocation. 754s # * @arg_an_ao: Argument to pass with the method invocation. 754s # * @arg_an_aay: Argument to pass with the method invocation. 754s # * @arg_an_asv: Argument to pass with the method invocation. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_other_callable_iface_call_method_with_many_args_sync ( 754s # OrgProjectOtherCallableIface *proxy, 754s # gboolean arg_an_b, 754s # guchar arg_an_y, 754s # gint16 arg_an_n, 754s # guint16 arg_an_q, 754s # gint arg_an_i, 754s # guint arg_an_u, 754s # gint64 arg_an_x, 754s # guint64 arg_an_t, 754s # gdouble arg_an_d, 754s # const gchar *arg_an_s, 754s # const gchar *arg_an_o, 754s # const gchar *arg_an_g, 754s # GVariant *arg_an_h, 754s # const gchar *arg_an_ay, 754s # const gchar *const *arg_an_as, 754s # const gchar *const *arg_an_ao, 754s # const gchar *const *arg_an_aay, 754s # GVariant *arg_an_asv, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "MethodWithManyArgs", 754s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 754s # arg_an_b, 754s # arg_an_y, 754s # arg_an_n, 754s # arg_an_q, 754s # arg_an_i, 754s # arg_an_u, 754s # arg_an_x, 754s # arg_an_t, 754s # arg_an_d, 754s # arg_an_s, 754s # arg_an_o, 754s # arg_an_g, 754s # arg_an_h, 754s # arg_an_ay, 754s # arg_an_as, 754s # arg_an_ao, 754s # arg_an_aay, 754s # arg_an_asv), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "()"); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_other_callable_iface_complete_method_with_many_args: 754s # * @object: A #OrgProjectOtherCallableIface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_other_callable_iface_complete_method_with_many_args ( 754s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("()")); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectOtherCallableIfaceProxy: 754s # * 754s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectOtherCallableIfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectOtherCallableIfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_other_callable_iface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 754s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 754s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_other_callable_iface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_other_callable_iface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # 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); 754s # } 754s # 754s # /** 754s # * org_project_other_callable_iface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectOtherCallableIface * 754s # org_project_other_callable_iface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_other_callable_iface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectOtherCallableIface * 754s # org_project_other_callable_iface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_other_callable_iface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_other_callable_iface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # 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); 754s # } 754s # 754s # /** 754s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectOtherCallableIface * 754s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectOtherCallableIface * 754s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectOtherCallableIfaceSkeleton: 754s # * 754s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectOtherCallableIfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_other_callable_iface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_other_callable_iface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_other_callable_iface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 754s # { 754s # _org_project_other_callable_iface_skeleton_handle_method_call, 754s # _org_project_other_callable_iface_skeleton_handle_get_property, 754s # _org_project_other_callable_iface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_other_callable_iface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_other_callable_iface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectOtherCallableIface * 754s # org_project_other_callable_iface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 754s # gdbus-codegen: /usr/bin/gdbus-codegen 754s # tmpdir: /tmp/tmp5yx043_y 754s # /tmp/tmp5yx043_y/tmpuaf2h7rd.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5yx043_y/tmpuaf2h7rd.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 2); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.CallableIface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectCallableIface 754s # * @title: OrgProjectCallableIface 754s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for org.project.CallableIface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_b", 754s # (gchar *) "b", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_y", 754s # (gchar *) "y", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_n", 754s # (gchar *) "n", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_q", 754s # (gchar *) "q", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_i", 754s # (gchar *) "i", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_u", 754s # (gchar *) "u", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_x", 754s # (gchar *) "x", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_t", 754s # (gchar *) "t", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_d", 754s # (gchar *) "d", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_s", 754s # (gchar *) "s", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_o", 754s # (gchar *) "o", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_g", 754s # (gchar *) "g", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_h", 754s # (gchar *) "h", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_ay", 754s # (gchar *) "ay", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_as", 754s # (gchar *) "as", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_ao", 754s # (gchar *) "ao", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_aay", 754s # (gchar *) "aay", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_asv", 754s # (gchar *) "a{sv}", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 754s # { 754s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 754s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 754s # { 754s # { 754s # -1, 754s # (gchar *) "MethodWithManyArgs", 754s # NULL, 754s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 754s # NULL 754s # }, 754s # "handle-method-with-many-args", 754s # FALSE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 754s # { 754s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.CallableIface", 754s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-callable-iface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_callable_iface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_callable_iface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_callable_iface_method_marshal_method_with_many_args ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectCallableIface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 754s # */ 754s # 754s # /** 754s # * OrgProjectCallableIfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.CallableIface. 754s # */ 754s # 754s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * OrgProjectCallableIface::handle-method-with-many-args: 754s # * @object: A #OrgProjectCallableIface. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * 754s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-method-with-many-args", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # org_project_callable_iface_method_marshal_method_with_many_args, 754s # G_TYPE_BOOLEAN, 754s # 1, 754s # G_TYPE_DBUS_METHOD_INVOCATION); 754s # 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_call_method_with_many_args: 754s # * @proxy: A #OrgProjectCallableIfaceProxy. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 754s # * 754s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # org_project_callable_iface_call_method_with_many_args ( 754s # OrgProjectCallableIface *proxy, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 754s # "MethodWithManyArgs", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_call_method_with_many_args_finish: 754s # * @proxy: A #OrgProjectCallableIfaceProxy. 754s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 754s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 754s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 754s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_callable_iface_call_method_with_many_args_finish ( 754s # OrgProjectCallableIface *proxy, 754s # gboolean *out_an_b, 754s # guchar *out_an_y, 754s # gint16 *out_an_n, 754s # guint16 *out_an_q, 754s # gint *out_an_i, 754s # guint *out_an_u, 754s # gint64 *out_an_x, 754s # guint64 *out_an_t, 754s # gdouble *out_an_d, 754s # gchar **out_an_s, 754s # gchar **out_an_o, 754s # gchar **out_an_g, 754s # GVariant **out_an_h, 754s # gchar **out_an_ay, 754s # gchar ***out_an_as, 754s # gchar ***out_an_ao, 754s # gchar ***out_an_aay, 754s # GVariant **out_an_asv, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 754s # out_an_b, 754s # out_an_y, 754s # out_an_n, 754s # out_an_q, 754s # out_an_i, 754s # out_an_u, 754s # out_an_x, 754s # out_an_t, 754s # out_an_d, 754s # out_an_s, 754s # out_an_o, 754s # out_an_g, 754s # out_an_h, 754s # out_an_ay, 754s # out_an_as, 754s # out_an_ao, 754s # out_an_aay, 754s # out_an_asv); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_call_method_with_many_args_sync: 754s # * @proxy: A #OrgProjectCallableIfaceProxy. 754s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 754s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 754s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 754s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # org_project_callable_iface_call_method_with_many_args_sync ( 754s # OrgProjectCallableIface *proxy, 754s # gboolean *out_an_b, 754s # guchar *out_an_y, 754s # gint16 *out_an_n, 754s # guint16 *out_an_q, 754s # gint *out_an_i, 754s # guint *out_an_u, 754s # gint64 *out_an_x, 754s # guint64 *out_an_t, 754s # gdouble *out_an_d, 754s # gchar **out_an_s, 754s # gchar **out_an_o, 754s # gchar **out_an_g, 754s # GVariant **out_an_h, 754s # gchar **out_an_ay, 754s # gchar ***out_an_as, 754s # gchar ***out_an_ao, 754s # gchar ***out_an_aay, 754s # GVariant **out_an_asv, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 754s # "MethodWithManyArgs", 754s # g_variant_new ("()"), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 754s # out_an_b, 754s # out_an_y, 754s # out_an_n, 754s # out_an_q, 754s # out_an_i, 754s # out_an_u, 754s # out_an_x, 754s # out_an_t, 754s # out_an_d, 754s # out_an_s, 754s # out_an_o, 754s # out_an_g, 754s # out_an_h, 754s # out_an_ay, 754s # out_an_as, 754s # out_an_ao, 754s # out_an_aay, 754s # out_an_asv); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_complete_method_with_many_args: 754s # * @object: A #OrgProjectCallableIface. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * @an_b: Parameter to return. 754s # * @an_y: Parameter to return. 754s # * @an_n: Parameter to return. 754s # * @an_q: Parameter to return. 754s # * @an_i: Parameter to return. 754s # * @an_u: Parameter to return. 754s # * @an_x: Parameter to return. 754s # * @an_t: Parameter to return. 754s # * @an_d: Parameter to return. 754s # * @an_s: Parameter to return. 754s # * @an_o: Parameter to return. 754s # * @an_g: Parameter to return. 754s # * @an_h: Parameter to return. 754s # * @an_ay: Parameter to return. 754s # * @an_as: Parameter to return. 754s # * @an_ao: Parameter to return. 754s # * @an_aay: Parameter to return. 754s # * @an_asv: Parameter to return. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # org_project_callable_iface_complete_method_with_many_args ( 754s # OrgProjectCallableIface *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation, 754s # gboolean an_b, 754s # guchar an_y, 754s # gint16 an_n, 754s # guint16 an_q, 754s # gint an_i, 754s # guint an_u, 754s # gint64 an_x, 754s # guint64 an_t, 754s # gdouble an_d, 754s # const gchar *an_s, 754s # const gchar *an_o, 754s # const gchar *an_g, 754s # GVariant *an_h, 754s # const gchar *an_ay, 754s # const gchar *const *an_as, 754s # const gchar *const *an_ao, 754s # const gchar *const *an_aay, 754s # GVariant *an_asv) 754s # { 754s # g_dbus_method_invocation_return_value (invocation, 754s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 754s # an_b, 754s # an_y, 754s # an_n, 754s # an_q, 754s # an_i, 754s # an_u, 754s # an_x, 754s # an_t, 754s # an_d, 754s # an_s, 754s # an_o, 754s # an_g, 754s # an_h, 754s # an_ay, 754s # an_as, 754s # an_ao, 754s # an_aay, 754s # an_asv)); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectCallableIfaceProxy: 754s # * 754s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectCallableIfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectCallableIfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectCallableIfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_callable_iface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 754s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 754s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_callable_iface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # 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); 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectCallableIface * 754s # org_project_callable_iface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_CALLABLE_IFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectCallableIface * 754s # org_project_callable_iface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_CALLABLE_IFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_callable_iface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_callable_iface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # 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); 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectCallableIface * 754s # org_project_callable_iface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_CALLABLE_IFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectCallableIface * 754s # org_project_callable_iface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_CALLABLE_IFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectCallableIfaceSkeleton: 754s # * 754s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectCallableIfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectCallableIfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectCallableIfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_callable_iface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_callable_iface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_callable_iface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 754s # { 754s # _org_project_callable_iface_skeleton_handle_method_call, 754s # _org_project_callable_iface_skeleton_handle_get_property, 754s # _org_project_callable_iface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_callable_iface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_callable_iface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_callable_iface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectCallableIface * 754s # org_project_callable_iface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 754s # gdbus-codegen: /usr/bin/gdbus-codegen 754s # tmpdir: /tmp/tmp_t7b44ua 754s # /tmp/tmp_t7b44ua/tmp4_f8kyie.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_t7b44ua/tmp4_f8kyie.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 754s # (void *data1, 754s # GDBusMethodInvocation *arg_method_invocation, 754s # GUnixFDList *arg_fd_list, 754s # const gchar *arg_greeting, 754s # void *data2); 754s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # gboolean v_return; 754s # 754s # g_return_if_fail (return_value != NULL); 754s # g_return_if_fail (n_param_values == 4); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # v_return = 754s # callback (data1, 754s # g_marshal_value_peek_object (param_values + 1), 754s # g_marshal_value_peek_object (param_values + 2), 754s # g_marshal_value_peek_string (param_values + 3), 754s # data2); 754s # 754s # g_value_set_boolean (return_value, v_return); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface test.FDPassing 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:TestFDPassing 754s # * @title: TestFDPassing 754s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 754s # * 754s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 754s # */ 754s # 754s # /* ---- Introspection data for test.FDPassing ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 754s # { 754s # { 754s # -1, 754s # (gchar *) "greeting", 754s # (gchar *) "s", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 754s # { 754s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 754s # { 754s # { 754s # -1, 754s # (gchar *) "response", 754s # (gchar *) "s", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 754s # { 754s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 754s # { 754s # { 754s # -1, 754s # (gchar *) "HelloFD", 754s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 754s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 754s # NULL 754s # }, 754s # "handle-hello-fd", 754s # TRUE 754s # }; 754s # 754s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 754s # { 754s # &_test_fdpassing_method_info_hello_fd.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "test.FDPassing", 754s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 754s # NULL, 754s # NULL, 754s # NULL 754s # }, 754s # "test-fdpassing", 754s # }; 754s # 754s # 754s # /** 754s # * test_fdpassing_interface_info: 754s # * 754s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # test_fdpassing_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * test_fdpassing_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # test_fdpassing_method_marshal_hello_fd ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * TestFDPassing: 754s # * 754s # * Abstract interface type for the D-Bus interface test.FDPassing. 754s # */ 754s # 754s # /** 754s # * TestFDPassingIface: 754s # * @parent_iface: The parent interface. 754s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 754s # * 754s # * Virtual table for the D-Bus interface test.FDPassing. 754s # */ 754s # 754s # typedef TestFDPassingIface TestFDPassingInterface; 754s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 754s # 754s # static void 754s # test_fdpassing_default_init (TestFDPassingIface *iface) 754s # { 754s # /* GObject signals for incoming D-Bus method calls: */ 754s # /** 754s # * TestFDPassing::handle-hello-fd: 754s # * @object: A #TestFDPassing. 754s # * @invocation: A #GDBusMethodInvocation. 754s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 754s # * @arg_greeting: Argument passed by remote caller. 754s # * 754s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 754s # * 754s # * 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. 754s # * 754s # * 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. 754s # */ 754s # g_signal_new ("handle-hello-fd", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 754s # g_signal_accumulator_true_handled, 754s # NULL, 754s # test_fdpassing_method_marshal_hello_fd, 754s # G_TYPE_BOOLEAN, 754s # 3, 754s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 754s # 754s # } 754s # 754s # /** 754s # * test_fdpassing_call_hello_fd: 754s # * @proxy: A #TestFDPassingProxy. 754s # * @arg_greeting: Argument to pass with the method invocation. 754s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 754s # * 754s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 754s # */ 754s # void 754s # test_fdpassing_call_hello_fd ( 754s # TestFDPassing *proxy, 754s # const gchar *arg_greeting, 754s # GUnixFDList *fd_list, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 754s # "HelloFD", 754s # g_variant_new ("(s)", 754s # arg_greeting), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # fd_list, 754s # cancellable, 754s # callback, 754s # user_data); 754s # } 754s # 754s # /** 754s # * test_fdpassing_call_hello_fd_finish: 754s # * @proxy: A #TestFDPassingProxy. 754s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # test_fdpassing_call_hello_fd_finish ( 754s # TestFDPassing *proxy, 754s # gchar **out_response, 754s # GUnixFDList **out_fd_list, 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(s)", 754s # out_response); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * test_fdpassing_call_hello_fd_sync: 754s # * @proxy: A #TestFDPassingProxy. 754s # * @arg_greeting: Argument to pass with the method invocation. 754s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 754s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 754s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL. 754s # * 754s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 754s # * 754s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 754s # * 754s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 754s # */ 754s # gboolean 754s # test_fdpassing_call_hello_fd_sync ( 754s # TestFDPassing *proxy, 754s # const gchar *arg_greeting, 754s # GUnixFDList *fd_list, 754s # gchar **out_response, 754s # GUnixFDList **out_fd_list, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GVariant *_ret; 754s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 754s # "HelloFD", 754s # g_variant_new ("(s)", 754s # arg_greeting), 754s # G_DBUS_CALL_FLAGS_NONE, 754s # -1, 754s # fd_list, 754s # out_fd_list, 754s # cancellable, 754s # error); 754s # if (_ret == NULL) 754s # goto _out; 754s # g_variant_get (_ret, 754s # "(s)", 754s # out_response); 754s # g_variant_unref (_ret); 754s # _out: 754s # return _ret != NULL; 754s # } 754s # 754s # /** 754s # * test_fdpassing_complete_hello_fd: 754s # * @object: A #TestFDPassing. 754s # * @invocation: (transfer full): A #GDBusMethodInvocation. 754s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 754s # * @response: Parameter to return. 754s # * 754s # * 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. 754s # * 754s # * This method will free @invocation, you cannot use it afterwards. 754s # */ 754s # void 754s # test_fdpassing_complete_hello_fd ( 754s # TestFDPassing *object G_GNUC_UNUSED, 754s # GDBusMethodInvocation *invocation, 754s # GUnixFDList *fd_list, 754s # const gchar *response) 754s # { 754s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 754s # g_variant_new ("(s)", 754s # response), 754s # fd_list); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * TestFDPassingProxy: 754s # * 754s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * TestFDPassingProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #TestFDPassingProxy. 754s # */ 754s # 754s # struct _TestFDPassingProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (TestFDPassingProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # test_fdpassing_proxy_finalize (GObject *object) 754s # { 754s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 754s # } 754s # 754s # static void 754s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = test_fdpassing_proxy_finalize; 754s # gobject_class->get_property = test_fdpassing_proxy_get_property; 754s # gobject_class->set_property = test_fdpassing_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 754s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * test_fdpassing_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # test_fdpassing_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # 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); 754s # } 754s # 754s # /** 754s # * test_fdpassing_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with test_fdpassing_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # TestFDPassing * 754s # test_fdpassing_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return TEST_FDPASSING (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * test_fdpassing_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # TestFDPassing * 754s # test_fdpassing_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return TEST_FDPASSING (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * test_fdpassing_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # test_fdpassing_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # 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); 754s # } 754s # 754s # /** 754s # * test_fdpassing_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # TestFDPassing * 754s # test_fdpassing_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return TEST_FDPASSING (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * test_fdpassing_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # TestFDPassing * 754s # test_fdpassing_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return TEST_FDPASSING (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * TestFDPassingSkeleton: 754s # * 754s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * TestFDPassingSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #TestFDPassingSkeleton. 754s # */ 754s # 754s # struct _TestFDPassingSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _test_fdpassing_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _test_fdpassing_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _test_fdpassing_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 754s # { 754s # _test_fdpassing_skeleton_handle_method_call, 754s # _test_fdpassing_skeleton_handle_get_property, 754s # _test_fdpassing_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return test_fdpassing_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (TestFDPassingSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # test_fdpassing_skeleton_finalize (GObject *object) 754s # { 754s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * test_fdpassing_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 754s # * 754s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 754s # */ 754s # TestFDPassing * 754s # test_fdpassing_skeleton_new (void) 754s # { 754s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 754s # } 754s # Error: 754s ok 15 __main__.TestCodegen.test_generate_rst 754s # gdbus-codegen: /usr/bin/gdbus-codegen 754s # tmpdir: /tmp/tmp46zvt89s 754s # /tmp/tmp46zvt89s/tmphkyxcve9.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp46zvt89s/tmphkyxcve9.xml', '--generate-rst', 'test'] 754s # Return code: 0 754s # Output: 754s # 754s # Error: 754s ok 16 __main__.TestCodegen.test_generate_rst_method 754s # gdbus-codegen: /usr/bin/gdbus-codegen 754s # tmpdir: /tmp/tmp8s3nir_1 754s # /tmp/tmp8s3nir_1/tmpl8x3c90r.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8s3nir_1/tmpl8x3c90r.xml', '--generate-rst', 'test'] 754s # Return code: 0 754s # Output: 754s # 754s # Error: 754s ok 17 __main__.TestCodegen.test_generate_rst_property 754s # gdbus-codegen: /usr/bin/gdbus-codegen 754s # tmpdir: /tmp/tmpfsxmjftb 754s # /tmp/tmpfsxmjftb/tmpgg7tlkck.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfsxmjftb/tmpgg7tlkck.xml', '--generate-rst', 'test'] 754s # Return code: 0 754s # Output: 754s # 754s # Error: 754s ok 18 __main__.TestCodegen.test_generate_rst_signal 754s # gdbus-codegen: /usr/bin/gdbus-codegen 754s # tmpdir: /tmp/tmpx2xcr_hf 754s # /tmp/tmpx2xcr_hf/tmp34znk8bm.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx2xcr_hf/tmp34znk8bm.xml', '--generate-rst', 'test'] 754s # Return code: 0 754s # Output: 754s # 754s # Error: 754s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 754s # gdbus-codegen: /usr/bin/gdbus-codegen 754s # tmpdir: /tmp/tmp3vpgq_l1 754s # /tmp/tmp3vpgq_l1/tmps29qtis7.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3vpgq_l1/tmps29qtis7.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 754s # GClosure *closure, 754s # GValue *return_value G_GNUC_UNUSED, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 754s # (void *data1, 754s # gboolean arg_an_b, 754s # guchar arg_an_y, 754s # gint16 arg_an_n, 754s # guint16 arg_an_q, 754s # gint arg_an_i, 754s # guint arg_an_u, 754s # gint64 arg_an_x, 754s # guint64 arg_an_t, 754s # gdouble arg_an_d, 754s # const gchar *arg_an_s, 754s # const gchar *arg_an_o, 754s # const gchar *arg_an_g, 754s # GVariant *arg_an_h, 754s # const gchar *arg_an_ay, 754s # const gchar *const *arg_an_as, 754s # const gchar *const *arg_an_ao, 754s # const gchar *const *arg_an_aay, 754s # GVariant *arg_an_asv, 754s # void *data2); 754s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # 754s # g_return_if_fail (n_param_values == 19); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # callback (data1, 754s # g_marshal_value_peek_boolean (param_values + 1), 754s # g_marshal_value_peek_uchar (param_values + 2), 754s # g_marshal_value_peek_int (param_values + 3), 754s # g_marshal_value_peek_uint (param_values + 4), 754s # g_marshal_value_peek_int (param_values + 5), 754s # g_marshal_value_peek_uint (param_values + 6), 754s # g_marshal_value_peek_int64 (param_values + 7), 754s # g_marshal_value_peek_uint64 (param_values + 8), 754s # g_marshal_value_peek_double (param_values + 9), 754s # g_marshal_value_peek_string (param_values + 10), 754s # g_marshal_value_peek_string (param_values + 11), 754s # g_marshal_value_peek_string (param_values + 12), 754s # g_marshal_value_peek_variant (param_values + 13), 754s # g_marshal_value_peek_string (param_values + 14), 754s # g_marshal_value_peek_boxed (param_values + 15), 754s # g_marshal_value_peek_boxed (param_values + 16), 754s # g_marshal_value_peek_boxed (param_values + 17), 754s # g_marshal_value_peek_variant (param_values + 18), 754s # data2); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.SignalingIface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectSignalingIface 754s # * @title: OrgProjectSignalingIface 754s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 754s # */ 754s # 754s # enum 754s # { 754s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 754s # }; 754s # 754s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 754s # 754s # /* ---- Introspection data for org.project.SignalingIface ---- */ 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_b", 754s # (gchar *) "b", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_y", 754s # (gchar *) "y", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_n", 754s # (gchar *) "n", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_q", 754s # (gchar *) "q", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_i", 754s # (gchar *) "i", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_u", 754s # (gchar *) "u", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_x", 754s # (gchar *) "x", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_t", 754s # (gchar *) "t", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_d", 754s # (gchar *) "d", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_s", 754s # (gchar *) "s", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_o", 754s # (gchar *) "o", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_g", 754s # (gchar *) "g", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_h", 754s # (gchar *) "h", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_ay", 754s # (gchar *) "ay", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_as", 754s # (gchar *) "as", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_ao", 754s # (gchar *) "ao", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_aay", 754s # (gchar *) "aay", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_asv", 754s # (gchar *) "a{sv}", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 754s # { 754s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 754s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 754s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 754s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 754s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 754s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 754s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 754s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 754s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 754s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 754s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 754s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 754s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 754s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 754s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 754s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 754s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 754s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SignalWithManyArgs", 754s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 754s # NULL 754s # }, 754s # "signal-with-many-args" 754s # }; 754s # 754s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 754s # { 754s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.SignalingIface", 754s # NULL, 754s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-signaling-iface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_signaling_iface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_signaling_iface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_signaling_iface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectSignalingIface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 754s # */ 754s # 754s # /** 754s # * OrgProjectSignalingIfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.SignalingIface. 754s # */ 754s # 754s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 754s # { 754s # /* GObject signals for received D-Bus signals: */ 754s # /** 754s # * OrgProjectSignalingIface::signal-with-many-args: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_b: Argument. 754s # * @arg_an_y: Argument. 754s # * @arg_an_n: Argument. 754s # * @arg_an_q: Argument. 754s # * @arg_an_i: Argument. 754s # * @arg_an_u: Argument. 754s # * @arg_an_x: Argument. 754s # * @arg_an_t: Argument. 754s # * @arg_an_d: Argument. 754s # * @arg_an_s: Argument. 754s # * @arg_an_o: Argument. 754s # * @arg_an_g: Argument. 754s # * @arg_an_h: Argument. 754s # * @arg_an_ay: Argument. 754s # * @arg_an_as: Argument. 754s # * @arg_an_ao: Argument. 754s # * @arg_an_aay: Argument. 754s # * @arg_an_asv: Argument. 754s # * 754s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 754s # * 754s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 754s # */ 754s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 754s # g_signal_new ("signal-with-many-args", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 754s # NULL, 754s # NULL, 754s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 754s # G_TYPE_NONE, 754s # 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); 754s # 754s # } 754s # 754s # /** 754s # * org_project_signaling_iface_emit_signal_with_many_args: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_b: Argument to pass with the signal. 754s # * @arg_an_y: Argument to pass with the signal. 754s # * @arg_an_n: Argument to pass with the signal. 754s # * @arg_an_q: Argument to pass with the signal. 754s # * @arg_an_i: Argument to pass with the signal. 754s # * @arg_an_u: Argument to pass with the signal. 754s # * @arg_an_x: Argument to pass with the signal. 754s # * @arg_an_t: Argument to pass with the signal. 754s # * @arg_an_d: Argument to pass with the signal. 754s # * @arg_an_s: Argument to pass with the signal. 754s # * @arg_an_o: Argument to pass with the signal. 754s # * @arg_an_g: Argument to pass with the signal. 754s # * @arg_an_h: Argument to pass with the signal. 754s # * @arg_an_ay: Argument to pass with the signal. 754s # * @arg_an_as: Argument to pass with the signal. 754s # * @arg_an_ao: Argument to pass with the signal. 754s # * @arg_an_aay: Argument to pass with the signal. 754s # * @arg_an_asv: Argument to pass with the signal. 754s # * 754s # * Emits the "SignalWithManyArgs" D-Bus signal. 754s # */ 754s # void 754s # org_project_signaling_iface_emit_signal_with_many_args ( 754s # OrgProjectSignalingIface *object, 754s # gboolean arg_an_b, 754s # guchar arg_an_y, 754s # gint16 arg_an_n, 754s # guint16 arg_an_q, 754s # gint arg_an_i, 754s # guint arg_an_u, 754s # gint64 arg_an_x, 754s # guint64 arg_an_t, 754s # gdouble arg_an_d, 754s # const gchar *arg_an_s, 754s # const gchar *arg_an_o, 754s # const gchar *arg_an_g, 754s # GVariant *arg_an_h, 754s # const gchar *arg_an_ay, 754s # const gchar *const *arg_an_as, 754s # const gchar *const *arg_an_ao, 754s # const gchar *const *arg_an_aay, 754s # GVariant *arg_an_asv) 754s # { 754s # 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); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectSignalingIfaceProxy: 754s # * 754s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectSignalingIfaceProxyClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectSignalingIfaceProxy. 754s # */ 754s # 754s # struct _OrgProjectSignalingIfaceProxyPrivate 754s # { 754s # GData *qdata; 754s # }; 754s # 754s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 754s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_signaling_iface_proxy_finalize (GObject *object) 754s # { 754s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 754s # g_datalist_clear (&proxy->priv->qdata); 754s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 754s # guint prop_id G_GNUC_UNUSED, 754s # const GValue *value G_GNUC_UNUSED, 754s # GParamSpec *pspec G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 754s # const gchar *sender_name G_GNUC_UNUSED, 754s # const gchar *signal_name, 754s # GVariant *parameters) 754s # { 754s # _ExtendedGDBusSignalInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # gsize n; 754s # guint signal_id; 754s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 754s # if (info == NULL) 754s # return; 754s # num_params = g_variant_n_children (parameters); 754s # paramv = g_new0 (GValue, num_params + 1); 754s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 754s # g_value_set_object (¶mv[0], proxy); 754s # g_variant_iter_init (&iter, parameters); 754s # n = 1; 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 754s # g_signal_emitv (paramv, signal_id, 0, NULL); 754s # for (n = 0; n < num_params + 1; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static void 754s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 754s # GVariant *changed_properties, 754s # const gchar *const *invalidated_properties) 754s # { 754s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 754s # guint n; 754s # const gchar *key; 754s # GVariantIter *iter; 754s # _ExtendedGDBusPropertyInfo *info; 754s # g_variant_get (changed_properties, "a{sv}", &iter); 754s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 754s # g_datalist_remove_data (&proxy->priv->qdata, key); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # g_variant_iter_free (iter); 754s # for (n = 0; invalidated_properties[n] != NULL; n++) 754s # { 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 754s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 754s # if (info != NULL) 754s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 754s # } 754s # } 754s # 754s # static void 754s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 754s # #else 754s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 754s # #endif 754s # 754s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 754s # } 754s # 754s # static void 754s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusProxyClass *proxy_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 754s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 754s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 754s # 754s # proxy_class = G_DBUS_PROXY_CLASS (klass); 754s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 754s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # /** 754s # * org_project_signaling_iface_proxy_new: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 754s # * 754s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_signaling_iface_proxy_new ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # 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); 754s # } 754s # 754s # /** 754s # * org_project_signaling_iface_proxy_new_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectSignalingIface * 754s # org_project_signaling_iface_proxy_new_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_SIGNALING_IFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_signaling_iface_proxy_new_sync: 754s # * @connection: A #GDBusConnection. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectSignalingIface * 754s # org_project_signaling_iface_proxy_new_sync ( 754s # GDBusConnection *connection, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_SIGNALING_IFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /** 754s # * org_project_signaling_iface_proxy_new_for_bus: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 754s # * @user_data: User data to pass to @callback. 754s # * 754s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 754s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 754s # * 754s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 754s # */ 754s # void 754s # org_project_signaling_iface_proxy_new_for_bus ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GAsyncReadyCallback callback, 754s # gpointer user_data) 754s # { 754s # 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); 754s # } 754s # 754s # /** 754s # * org_project_signaling_iface_proxy_new_for_bus_finish: 754s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 754s # * @error: Return location for error or %NULL 754s # * 754s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 754s # * 754s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectSignalingIface * 754s # org_project_signaling_iface_proxy_new_for_bus_finish ( 754s # GAsyncResult *res, 754s # GError **error) 754s # { 754s # GObject *ret; 754s # GObject *source_object; 754s # source_object = g_async_result_get_source_object (res); 754s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 754s # g_object_unref (source_object); 754s # if (ret != NULL) 754s # return ORG_PROJECT_SIGNALING_IFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # /** 754s # * org_project_signaling_iface_proxy_new_for_bus_sync: 754s # * @bus_type: A #GBusType. 754s # * @flags: Flags from the #GDBusProxyFlags enumeration. 754s # * @name: A bus name (well-known or unique). 754s # * @object_path: An object path. 754s # * @cancellable: (nullable): A #GCancellable or %NULL. 754s # * @error: Return location for error or %NULL 754s # * 754s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 754s # * 754s # * The calling thread is blocked until a reply is received. 754s # * 754s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 754s # * 754s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 754s # */ 754s # OrgProjectSignalingIface * 754s # org_project_signaling_iface_proxy_new_for_bus_sync ( 754s # GBusType bus_type, 754s # GDBusProxyFlags flags, 754s # const gchar *name, 754s # const gchar *object_path, 754s # GCancellable *cancellable, 754s # GError **error) 754s # { 754s # GInitable *ret; 754s # 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); 754s # if (ret != NULL) 754s # return ORG_PROJECT_SIGNALING_IFACE (ret); 754s # else 754s # return NULL; 754s # } 754s # 754s # 754s # /* ------------------------------------------------------------------------ */ 754s # 754s # /** 754s # * OrgProjectSignalingIfaceSkeleton: 754s # * 754s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 754s # */ 754s # 754s # /** 754s # * OrgProjectSignalingIfaceSkeletonClass: 754s # * @parent_class: The parent class. 754s # * 754s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 754s # */ 754s # 754s # struct _OrgProjectSignalingIfaceSkeletonPrivate 754s # { 754s # GValue *properties; 754s # GList *changed_properties; 754s # GSource *changed_properties_idle_source; 754s # GMainContext *context; 754s # GMutex lock; 754s # }; 754s # 754s # static void 754s # _org_project_signaling_iface_skeleton_handle_method_call ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name, 754s # const gchar *method_name, 754s # GVariant *parameters, 754s # GDBusMethodInvocation *invocation, 754s # gpointer user_data) 754s # { 754s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 754s # _ExtendedGDBusMethodInfo *info; 754s # GVariantIter iter; 754s # GVariant *child; 754s # GValue *paramv; 754s # gsize num_params; 754s # guint num_extra; 754s # gsize n; 754s # guint signal_id; 754s # GValue return_value = G_VALUE_INIT; 754s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 754s # g_assert (info != NULL); 754s # num_params = g_variant_n_children (parameters); 754s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 754s # n = 0; 754s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 754s # g_value_set_object (¶mv[n++], skeleton); 754s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 754s # g_value_set_object (¶mv[n++], invocation); 754s # if (info->pass_fdlist) 754s # { 754s # #ifdef G_OS_UNIX 754s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 754s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 754s # #else 754s # g_assert_not_reached (); 754s # #endif 754s # } 754s # g_variant_iter_init (&iter, parameters); 754s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 754s # { 754s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 754s # if (arg_info->use_gvariant) 754s # { 754s # g_value_init (¶mv[n], G_TYPE_VARIANT); 754s # g_value_set_variant (¶mv[n], child); 754s # n++; 754s # } 754s # else 754s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 754s # g_variant_unref (child); 754s # } 754s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 754s # g_value_init (&return_value, G_TYPE_BOOLEAN); 754s # g_signal_emitv (paramv, signal_id, 0, &return_value); 754s # if (!g_value_get_boolean (&return_value)) 754s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 754s # g_value_unset (&return_value); 754s # for (n = 0; n < num_params + num_extra; n++) 754s # g_value_unset (¶mv[n]); 754s # g_free (paramv); 754s # } 754s # 754s # static GVariant * 754s # _org_project_signaling_iface_skeleton_handle_get_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # GVariant *ret; 754s # ret = NULL; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # g_value_init (&value, pspec->value_type); 754s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 754s # g_value_unset (&value); 754s # } 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _org_project_signaling_iface_skeleton_handle_set_property ( 754s # GDBusConnection *connection G_GNUC_UNUSED, 754s # const gchar *sender G_GNUC_UNUSED, 754s # const gchar *object_path G_GNUC_UNUSED, 754s # const gchar *interface_name G_GNUC_UNUSED, 754s # const gchar *property_name, 754s # GVariant *variant, 754s # GError **error, 754s # gpointer user_data) 754s # { 754s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 754s # GValue value = G_VALUE_INIT; 754s # GParamSpec *pspec; 754s # _ExtendedGDBusPropertyInfo *info; 754s # gboolean ret; 754s # ret = FALSE; 754s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 754s # g_assert (info != NULL); 754s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 754s # if (pspec == NULL) 754s # { 754s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 754s # } 754s # else 754s # { 754s # if (info->use_gvariant) 754s # g_value_set_variant (&value, variant); 754s # else 754s # g_dbus_gvariant_to_gvalue (variant, &value); 754s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 754s # g_value_unset (&value); 754s # ret = TRUE; 754s # } 754s # return ret; 754s # } 754s # 754s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 754s # { 754s # _org_project_signaling_iface_skeleton_handle_method_call, 754s # _org_project_signaling_iface_skeleton_handle_get_property, 754s # _org_project_signaling_iface_skeleton_handle_set_property, 754s # {NULL} 754s # }; 754s # 754s # static GDBusInterfaceInfo * 754s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return org_project_signaling_iface_interface_info (); 754s # } 754s # 754s # static GDBusInterfaceVTable * 754s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 754s # { 754s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 754s # } 754s # 754s # static GVariant * 754s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 754s # { 754s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 754s # 754s # GVariantBuilder builder; 754s # guint n; 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 754s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #else 754s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 754s # #endif 754s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 754s # goto out; 754s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 754s # { 754s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 754s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 754s # { 754s # GVariant *value; 754s # 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); 754s # if (value != NULL) 754s # { 754s # g_variant_take_ref (value); 754s # g_variant_builder_add (&builder, "{sv}", info->name, value); 754s # g_variant_unref (value); 754s # } 754s # } 754s # } 754s # out: 754s # return g_variant_builder_end (&builder); 754s # } 754s # 754s # static void 754s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 754s # { 754s # } 754s # 754s # static void 754s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 754s # OrgProjectSignalingIface *object, 754s # gboolean arg_an_b, 754s # guchar arg_an_y, 754s # gint16 arg_an_n, 754s # guint16 arg_an_q, 754s # gint arg_an_i, 754s # guint arg_an_u, 754s # gint64 arg_an_x, 754s # guint64 arg_an_t, 754s # gdouble arg_an_d, 754s # const gchar *arg_an_s, 754s # const gchar *arg_an_o, 754s # const gchar *arg_an_g, 754s # GVariant *arg_an_h, 754s # const gchar *arg_an_ay, 754s # const gchar *const *arg_an_as, 754s # const gchar *const *arg_an_ao, 754s # const gchar *const *arg_an_aay, 754s # GVariant *arg_an_asv) 754s # { 754s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 754s # 754s # GList *connections, *l; 754s # GVariant *signal_variant; 754s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 754s # 754s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 754s # arg_an_b, 754s # arg_an_y, 754s # arg_an_n, 754s # arg_an_q, 754s # arg_an_i, 754s # arg_an_u, 754s # arg_an_x, 754s # arg_an_t, 754s # arg_an_d, 754s # arg_an_s, 754s # arg_an_o, 754s # arg_an_g, 754s # arg_an_h, 754s # arg_an_ay, 754s # arg_an_as, 754s # arg_an_ao, 754s # arg_an_aay, 754s # arg_an_asv)); 754s # for (l = connections; l != NULL; l = l->next) 754s # { 754s # GDBusConnection *connection = l->data; 754s # g_dbus_connection_emit_signal (connection, 754s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 754s # signal_variant, NULL); 754s # } 754s # g_variant_unref (signal_variant); 754s # g_list_free_full (connections, g_object_unref); 754s # } 754s # 754s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 754s # 754s # #else 754s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 754s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 754s # 754s # #endif 754s # static void 754s # org_project_signaling_iface_skeleton_finalize (GObject *object) 754s # { 754s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 754s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 754s # if (skeleton->priv->changed_properties_idle_source != NULL) 754s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 754s # g_main_context_unref (skeleton->priv->context); 754s # g_mutex_clear (&skeleton->priv->lock); 754s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 754s # } 754s # 754s # static void 754s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 754s # { 754s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 754s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 754s # #else 754s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 754s # #endif 754s # 754s # g_mutex_init (&skeleton->priv->lock); 754s # skeleton->priv->context = g_main_context_ref_thread_default (); 754s # } 754s # 754s # static void 754s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 754s # { 754s # GObjectClass *gobject_class; 754s # GDBusInterfaceSkeletonClass *skeleton_class; 754s # 754s # gobject_class = G_OBJECT_CLASS (klass); 754s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 754s # 754s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 754s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 754s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 754s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 754s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 754s # 754s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 754s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 754s # #endif 754s # } 754s # 754s # static void 754s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 754s # { 754s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 754s # } 754s # 754s # /** 754s # * org_project_signaling_iface_skeleton_new: 754s # * 754s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 754s # * 754s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 754s # */ 754s # OrgProjectSignalingIface * 754s # org_project_signaling_iface_skeleton_new (void) 754s # { 754s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 754s # } 754s # Error: 754s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 754s # gdbus-codegen: /usr/bin/gdbus-codegen 754s # tmpdir: /tmp/tmp229bq4_9 754s # /tmp/tmp229bq4_9/tmpzoh8f8tt.xml: 754s # 754s # 754s # 754s # 754s # 754s # 754s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp229bq4_9/tmpzoh8f8tt.xml', '--output', '-', '--body'] 754s # Return code: 0 754s # Output: 754s # /* 754s # * This file is generated by gdbus-codegen, do not modify it. 754s # * 754s # * The license of this code is the same as for the D-Bus interface description 754s # * it was derived from. Note that it links to GLib, so must comply with the 754s # * LGPL linking clauses. 754s # */ 754s # 754s # #ifdef HAVE_CONFIG_H 754s # # include "config.h" 754s # #endif 754s # 754s # #include 754s # #ifdef G_OS_UNIX 754s # # include 754s # #endif 754s # 754s # #ifdef G_ENABLE_DEBUG 754s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 754s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 754s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 754s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 754s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 754s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 754s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 754s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 754s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 754s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 754s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 754s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 754s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 754s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 754s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 754s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 754s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 754s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 754s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 754s # #else /* !G_ENABLE_DEBUG */ 754s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 754s # * Do not access GValues directly in your code. Instead, use the 754s # * g_value_get_*() functions 754s # */ 754s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 754s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 754s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 754s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 754s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 754s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 754s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 754s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 754s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 754s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 754s # #endif /* !G_ENABLE_DEBUG */ 754s # 754s # typedef struct 754s # { 754s # GDBusArgInfo parent_struct; 754s # gboolean use_gvariant; 754s # } _ExtendedGDBusArgInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusMethodInfo parent_struct; 754s # const gchar *signal_name; 754s # gboolean pass_fdlist; 754s # } _ExtendedGDBusMethodInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusSignalInfo parent_struct; 754s # const gchar *signal_name; 754s # } _ExtendedGDBusSignalInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusPropertyInfo parent_struct; 754s # const gchar *hyphen_name; 754s # guint use_gvariant : 1; 754s # guint emits_changed_signal : 1; 754s # } _ExtendedGDBusPropertyInfo; 754s # 754s # typedef struct 754s # { 754s # GDBusInterfaceInfo parent_struct; 754s # const gchar *hyphen_name; 754s # } _ExtendedGDBusInterfaceInfo; 754s # 754s # typedef struct 754s # { 754s # const _ExtendedGDBusPropertyInfo *info; 754s # guint prop_id; 754s # GValue orig_value; /* the value before the change */ 754s # } ChangedProperty; 754s # 754s # static void 754s # _changed_property_free (ChangedProperty *data) 754s # { 754s # g_value_unset (&data->orig_value); 754s # g_free (data); 754s # } 754s # 754s # static gboolean 754s # _g_strv_equal0 (gchar **a, gchar **b) 754s # { 754s # gboolean ret = FALSE; 754s # guint n; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # if (g_strv_length (a) != g_strv_length (b)) 754s # goto out; 754s # for (n = 0; a[n] != NULL; n++) 754s # if (g_strcmp0 (a[n], b[n]) != 0) 754s # goto out; 754s # ret = TRUE; 754s # out: 754s # return ret; 754s # } 754s # 754s # static gboolean 754s # _g_variant_equal0 (GVariant *a, GVariant *b) 754s # { 754s # gboolean ret = FALSE; 754s # if (a == NULL && b == NULL) 754s # { 754s # ret = TRUE; 754s # goto out; 754s # } 754s # if (a == NULL || b == NULL) 754s # goto out; 754s # ret = g_variant_equal (a, b); 754s # out: 754s # return ret; 754s # } 754s # 754s # G_GNUC_UNUSED static gboolean 754s # _g_value_equal (const GValue *a, const GValue *b) 754s # { 754s # gboolean ret = FALSE; 754s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 754s # switch (G_VALUE_TYPE (a)) 754s # { 754s # case G_TYPE_BOOLEAN: 754s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 754s # break; 754s # case G_TYPE_UCHAR: 754s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 754s # break; 754s # case G_TYPE_INT: 754s # ret = (g_value_get_int (a) == g_value_get_int (b)); 754s # break; 754s # case G_TYPE_UINT: 754s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 754s # break; 754s # case G_TYPE_INT64: 754s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 754s # break; 754s # case G_TYPE_UINT64: 754s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 754s # break; 754s # case G_TYPE_DOUBLE: 754s # { 754s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 754s # gdouble da = g_value_get_double (a); 754s # gdouble db = g_value_get_double (b); 754s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 754s # } 754s # break; 754s # case G_TYPE_STRING: 754s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 754s # break; 754s # case G_TYPE_VARIANT: 754s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 754s # break; 754s # default: 754s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 754s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 754s # else 754s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 754s # break; 754s # } 754s # return ret; 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_VOID__INT64 ( 754s # GClosure *closure, 754s # GValue *return_value G_GNUC_UNUSED, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 754s # (void *data1, 754s # gint64 arg_an_x, 754s # void *data2); 754s # _GDbusCodegenMarshalVoid_Int64Func callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # 754s # g_return_if_fail (n_param_values == 2); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # callback (data1, 754s # g_marshal_value_peek_int64 (param_values + 1), 754s # data2); 754s # } 754s # 754s # static void 754s # _g_dbus_codegen_marshal_VOID__UINT64 ( 754s # GClosure *closure, 754s # GValue *return_value G_GNUC_UNUSED, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint G_GNUC_UNUSED, 754s # void *marshal_data) 754s # { 754s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 754s # (void *data1, 754s # guint64 arg_an_t, 754s # void *data2); 754s # _GDbusCodegenMarshalVoid_Uint64Func callback; 754s # GCClosure *cc = (GCClosure*) closure; 754s # void *data1, *data2; 754s # 754s # g_return_if_fail (n_param_values == 2); 754s # 754s # if (G_CCLOSURE_SWAP_DATA (closure)) 754s # { 754s # data1 = closure->data; 754s # data2 = g_value_peek_pointer (param_values + 0); 754s # } 754s # else 754s # { 754s # data1 = g_value_peek_pointer (param_values + 0); 754s # data2 = closure->data; 754s # } 754s # 754s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 754s # (marshal_data ? marshal_data : cc->callback); 754s # 754s # callback (data1, 754s # g_marshal_value_peek_uint64 (param_values + 1), 754s # data2); 754s # } 754s # 754s # /* ------------------------------------------------------------------------ 754s # * Code for interface org.project.SignalingIface 754s # * ------------------------------------------------------------------------ 754s # */ 754s # 754s # /** 754s # * SECTION:OrgProjectSignalingIface 754s # * @title: OrgProjectSignalingIface 754s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 754s # * 754s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 754s # */ 754s # 754s # enum 754s # { 754s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 754s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 754s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 754s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 754s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 754s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 754s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 754s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 754s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 754s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 754s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 754s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 754s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 754s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 754s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 754s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 754s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 754s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 754s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 754s # }; 754s # 754s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 754s # 754s # /* ---- Introspection data for org.project.SignalingIface ---- */ 754s # 754s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 754s # { 754s # { 754s # -1, 754s # (gchar *) "NoArgSignal", 754s # NULL, 754s # NULL 754s # }, 754s # "no-arg-signal" 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_b", 754s # (gchar *) "b", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 754s # { 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgSignalB", 754s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 754s # NULL 754s # }, 754s # "single-arg-signal-b" 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_y", 754s # (gchar *) "y", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 754s # { 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgSignalY", 754s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 754s # NULL 754s # }, 754s # "single-arg-signal-y" 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_n", 754s # (gchar *) "n", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 754s # { 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgSignalN", 754s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 754s # NULL 754s # }, 754s # "single-arg-signal-n" 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_q", 754s # (gchar *) "q", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 754s # { 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgSignalQ", 754s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 754s # NULL 754s # }, 754s # "single-arg-signal-q" 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_i", 754s # (gchar *) "i", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 754s # { 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgSignalI", 754s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 754s # NULL 754s # }, 754s # "single-arg-signal-i" 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_u", 754s # (gchar *) "u", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 754s # { 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgSignalU", 754s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 754s # NULL 754s # }, 754s # "single-arg-signal-u" 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_x", 754s # (gchar *) "x", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 754s # { 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgSignalX", 754s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 754s # NULL 754s # }, 754s # "single-arg-signal-x" 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_t", 754s # (gchar *) "t", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 754s # { 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgSignalT", 754s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 754s # NULL 754s # }, 754s # "single-arg-signal-t" 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_d", 754s # (gchar *) "d", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 754s # { 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgSignalD", 754s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 754s # NULL 754s # }, 754s # "single-arg-signal-d" 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_s", 754s # (gchar *) "s", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 754s # { 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgSignalS", 754s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 754s # NULL 754s # }, 754s # "single-arg-signal-s" 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_o", 754s # (gchar *) "o", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 754s # { 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgSignalO", 754s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 754s # NULL 754s # }, 754s # "single-arg-signal-o" 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_g", 754s # (gchar *) "g", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 754s # { 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgSignalG", 754s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 754s # NULL 754s # }, 754s # "single-arg-signal-g" 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_h", 754s # (gchar *) "h", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 754s # { 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgSignalH", 754s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 754s # NULL 754s # }, 754s # "single-arg-signal-h" 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_ay", 754s # (gchar *) "ay", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 754s # { 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgSignalAY", 754s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 754s # NULL 754s # }, 754s # "single-arg-signal-ay" 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_as", 754s # (gchar *) "as", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 754s # { 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgSignalAS", 754s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 754s # NULL 754s # }, 754s # "single-arg-signal-as" 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_ao", 754s # (gchar *) "ao", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 754s # { 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgSignalAO", 754s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 754s # NULL 754s # }, 754s # "single-arg-signal-ao" 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_aay", 754s # (gchar *) "aay", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 754s # { 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgSignalAAY", 754s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 754s # NULL 754s # }, 754s # "single-arg-signal-aay" 754s # }; 754s # 754s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 754s # { 754s # { 754s # -1, 754s # (gchar *) "an_asv", 754s # (gchar *) "a{sv}", 754s # NULL 754s # }, 754s # FALSE 754s # }; 754s # 754s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 754s # { 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 754s # { 754s # { 754s # -1, 754s # (gchar *) "SingleArgSignalASV", 754s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 754s # NULL 754s # }, 754s # "single-arg-signal-asv" 754s # }; 754s # 754s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 754s # { 754s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 754s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 754s # NULL 754s # }; 754s # 754s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 754s # { 754s # { 754s # -1, 754s # (gchar *) "org.project.SignalingIface", 754s # NULL, 754s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 754s # NULL, 754s # NULL 754s # }, 754s # "org-project-signaling-iface", 754s # }; 754s # 754s # 754s # /** 754s # * org_project_signaling_iface_interface_info: 754s # * 754s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 754s # * 754s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 754s # */ 754s # GDBusInterfaceInfo * 754s # org_project_signaling_iface_interface_info (void) 754s # { 754s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 754s # } 754s # 754s # /** 754s # * org_project_signaling_iface_override_properties: 754s # * @klass: The class structure for a #GObject derived class. 754s # * @property_id_begin: The property id to assign to the first overridden property. 754s # * 754s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 754s # * The properties are overridden in the order they are defined. 754s # * 754s # * Returns: The last property id. 754s # */ 754s # guint 754s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 754s # { 754s # return property_id_begin - 1; 754s # } 754s # 754s # 754s # inline static void 754s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # g_cclosure_marshal_VOID__VOID (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # inline static void 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # g_cclosure_marshal_VOID__BOOLEAN (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # inline static void 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # g_cclosure_marshal_VOID__UCHAR (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # inline static void 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # g_cclosure_marshal_VOID__INT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # inline static void 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # g_cclosure_marshal_VOID__UINT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # inline static void 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # g_cclosure_marshal_VOID__INT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # inline static void 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # g_cclosure_marshal_VOID__UINT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # inline static void 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # inline static void 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # inline static void 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # g_cclosure_marshal_VOID__DOUBLE (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # inline static void 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # g_cclosure_marshal_VOID__STRING (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # inline static void 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # g_cclosure_marshal_VOID__STRING (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # inline static void 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # g_cclosure_marshal_VOID__STRING (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # inline static void 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # g_cclosure_marshal_VOID__VARIANT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # inline static void 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # g_cclosure_marshal_VOID__STRING (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # inline static void 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # g_cclosure_marshal_VOID__BOXED (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # inline static void 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # g_cclosure_marshal_VOID__BOXED (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # inline static void 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # g_cclosure_marshal_VOID__BOXED (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # inline static void 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 754s # GClosure *closure, 754s # GValue *return_value, 754s # unsigned int n_param_values, 754s # const GValue *param_values, 754s # void *invocation_hint, 754s # void *marshal_data) 754s # { 754s # g_cclosure_marshal_VOID__VARIANT (closure, 754s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 754s # } 754s # 754s # 754s # /** 754s # * OrgProjectSignalingIface: 754s # * 754s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 754s # */ 754s # 754s # /** 754s # * OrgProjectSignalingIfaceIface: 754s # * @parent_iface: The parent interface. 754s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 754s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 754s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 754s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 754s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 754s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 754s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 754s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 754s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 754s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 754s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 754s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 754s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 754s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 754s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 754s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 754s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 754s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 754s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 754s # * 754s # * Virtual table for the D-Bus interface org.project.SignalingIface. 754s # */ 754s # 754s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 754s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 754s # 754s # static void 754s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 754s # { 754s # /* GObject signals for received D-Bus signals: */ 754s # /** 754s # * OrgProjectSignalingIface::no-arg-signal: 754s # * @object: A #OrgProjectSignalingIface. 754s # * 754s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 754s # * 754s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 754s # */ 754s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 754s # g_signal_new ("no-arg-signal", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 754s # NULL, 754s # NULL, 754s # org_project_signaling_iface_signal_marshal_no_arg_signal, 754s # G_TYPE_NONE, 754s # 0); 754s # 754s # /** 754s # * OrgProjectSignalingIface::single-arg-signal-b: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_b: Argument. 754s # * 754s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 754s # * 754s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 754s # */ 754s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 754s # g_signal_new ("single-arg-signal-b", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 754s # NULL, 754s # NULL, 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 754s # G_TYPE_NONE, 754s # 1, G_TYPE_BOOLEAN); 754s # 754s # /** 754s # * OrgProjectSignalingIface::single-arg-signal-y: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_y: Argument. 754s # * 754s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 754s # * 754s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 754s # */ 754s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 754s # g_signal_new ("single-arg-signal-y", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 754s # NULL, 754s # NULL, 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 754s # G_TYPE_NONE, 754s # 1, G_TYPE_UCHAR); 754s # 754s # /** 754s # * OrgProjectSignalingIface::single-arg-signal-n: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_n: Argument. 754s # * 754s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 754s # * 754s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 754s # */ 754s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 754s # g_signal_new ("single-arg-signal-n", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 754s # NULL, 754s # NULL, 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 754s # G_TYPE_NONE, 754s # 1, G_TYPE_INT); 754s # 754s # /** 754s # * OrgProjectSignalingIface::single-arg-signal-q: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_q: Argument. 754s # * 754s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 754s # * 754s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 754s # */ 754s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 754s # g_signal_new ("single-arg-signal-q", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 754s # NULL, 754s # NULL, 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 754s # G_TYPE_NONE, 754s # 1, G_TYPE_UINT); 754s # 754s # /** 754s # * OrgProjectSignalingIface::single-arg-signal-i: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_i: Argument. 754s # * 754s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 754s # * 754s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 754s # */ 754s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 754s # g_signal_new ("single-arg-signal-i", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 754s # NULL, 754s # NULL, 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 754s # G_TYPE_NONE, 754s # 1, G_TYPE_INT); 754s # 754s # /** 754s # * OrgProjectSignalingIface::single-arg-signal-u: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_u: Argument. 754s # * 754s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 754s # * 754s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 754s # */ 754s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 754s # g_signal_new ("single-arg-signal-u", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 754s # NULL, 754s # NULL, 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 754s # G_TYPE_NONE, 754s # 1, G_TYPE_UINT); 754s # 754s # /** 754s # * OrgProjectSignalingIface::single-arg-signal-x: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_x: Argument. 754s # * 754s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 754s # * 754s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 754s # */ 754s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 754s # g_signal_new ("single-arg-signal-x", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 754s # NULL, 754s # NULL, 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 754s # G_TYPE_NONE, 754s # 1, G_TYPE_INT64); 754s # 754s # /** 754s # * OrgProjectSignalingIface::single-arg-signal-t: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_t: Argument. 754s # * 754s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 754s # * 754s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 754s # */ 754s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 754s # g_signal_new ("single-arg-signal-t", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 754s # NULL, 754s # NULL, 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 754s # G_TYPE_NONE, 754s # 1, G_TYPE_UINT64); 754s # 754s # /** 754s # * OrgProjectSignalingIface::single-arg-signal-d: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_d: Argument. 754s # * 754s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 754s # * 754s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 754s # */ 754s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 754s # g_signal_new ("single-arg-signal-d", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 754s # NULL, 754s # NULL, 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 754s # G_TYPE_NONE, 754s # 1, G_TYPE_DOUBLE); 754s # 754s # /** 754s # * OrgProjectSignalingIface::single-arg-signal-s: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_s: Argument. 754s # * 754s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 754s # * 754s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 754s # */ 754s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 754s # g_signal_new ("single-arg-signal-s", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 754s # NULL, 754s # NULL, 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 754s # G_TYPE_NONE, 754s # 1, G_TYPE_STRING); 754s # 754s # /** 754s # * OrgProjectSignalingIface::single-arg-signal-o: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_o: Argument. 754s # * 754s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 754s # * 754s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 754s # */ 754s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 754s # g_signal_new ("single-arg-signal-o", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 754s # NULL, 754s # NULL, 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 754s # G_TYPE_NONE, 754s # 1, G_TYPE_STRING); 754s # 754s # /** 754s # * OrgProjectSignalingIface::single-arg-signal-g: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_g: Argument. 754s # * 754s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 754s # * 754s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 754s # */ 754s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 754s # g_signal_new ("single-arg-signal-g", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 754s # NULL, 754s # NULL, 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 754s # G_TYPE_NONE, 754s # 1, G_TYPE_STRING); 754s # 754s # /** 754s # * OrgProjectSignalingIface::single-arg-signal-h: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_h: Argument. 754s # * 754s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 754s # * 754s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 754s # */ 754s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 754s # g_signal_new ("single-arg-signal-h", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 754s # NULL, 754s # NULL, 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 754s # G_TYPE_NONE, 754s # 1, G_TYPE_VARIANT); 754s # 754s # /** 754s # * OrgProjectSignalingIface::single-arg-signal-ay: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_ay: Argument. 754s # * 754s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 754s # * 754s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 754s # */ 754s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 754s # g_signal_new ("single-arg-signal-ay", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 754s # NULL, 754s # NULL, 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 754s # G_TYPE_NONE, 754s # 1, G_TYPE_STRING); 754s # 754s # /** 754s # * OrgProjectSignalingIface::single-arg-signal-as: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_as: Argument. 754s # * 754s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 754s # * 754s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 754s # */ 754s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 754s # g_signal_new ("single-arg-signal-as", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 754s # NULL, 754s # NULL, 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 754s # G_TYPE_NONE, 754s # 1, G_TYPE_STRV); 754s # 754s # /** 754s # * OrgProjectSignalingIface::single-arg-signal-ao: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_ao: Argument. 754s # * 754s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 754s # * 754s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 754s # */ 754s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 754s # g_signal_new ("single-arg-signal-ao", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 754s # NULL, 754s # NULL, 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 754s # G_TYPE_NONE, 754s # 1, G_TYPE_STRV); 754s # 754s # /** 754s # * OrgProjectSignalingIface::single-arg-signal-aay: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_aay: Argument. 754s # * 754s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 754s # * 754s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 754s # */ 754s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 754s # g_signal_new ("single-arg-signal-aay", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 754s # NULL, 754s # NULL, 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 754s # G_TYPE_NONE, 754s # 1, G_TYPE_STRV); 754s # 754s # /** 754s # * OrgProjectSignalingIface::single-arg-signal-asv: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_asv: Argument. 754s # * 754s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 754s # * 754s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 754s # */ 754s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 754s # g_signal_new ("single-arg-signal-asv", 754s # G_TYPE_FROM_INTERFACE (iface), 754s # G_SIGNAL_RUN_LAST, 754s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 754s # NULL, 754s # NULL, 754s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 754s # G_TYPE_NONE, 754s # 1, G_TYPE_VARIANT); 754s # 754s # } 754s # 754s # /** 754s # * org_project_signaling_iface_emit_no_arg_signal: 754s # * @object: A #OrgProjectSignalingIface. 754s # * 754s # * Emits the "NoArgSignal" D-Bus signal. 754s # */ 754s # void 754s # org_project_signaling_iface_emit_no_arg_signal ( 754s # OrgProjectSignalingIface *object) 754s # { 754s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 754s # } 754s # 754s # /** 754s # * org_project_signaling_iface_emit_single_arg_signal_b: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_b: Argument to pass with the signal. 754s # * 754s # * Emits the "SingleArgSignalB" D-Bus signal. 754s # */ 754s # void 754s # org_project_signaling_iface_emit_single_arg_signal_b ( 754s # OrgProjectSignalingIface *object, 754s # gboolean arg_an_b) 754s # { 754s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 754s # } 754s # 754s # /** 754s # * org_project_signaling_iface_emit_single_arg_signal_y: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_y: Argument to pass with the signal. 754s # * 754s # * Emits the "SingleArgSignalY" D-Bus signal. 754s # */ 754s # void 754s # org_project_signaling_iface_emit_single_arg_signal_y ( 754s # OrgProjectSignalingIface *object, 754s # guchar arg_an_y) 754s # { 754s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 754s # } 754s # 754s # /** 754s # * org_project_signaling_iface_emit_single_arg_signal_n: 754s # * @object: A #OrgProjectSignalingIface. 754s # * @arg_an_n: Argument to pass with the signal. 754s # * 754s # * Emits the "SingleArgSignalN" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_n ( 755s # OrgProjectSignalingIface *object, 755s # gint16 arg_an_n) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_q: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_an_q: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalQ" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_q ( 755s # OrgProjectSignalingIface *object, 755s # guint16 arg_an_q) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_i: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_an_i: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalI" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_i ( 755s # OrgProjectSignalingIface *object, 755s # gint arg_an_i) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_u: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_an_u: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalU" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_u ( 755s # OrgProjectSignalingIface *object, 755s # guint arg_an_u) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_x: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_an_x: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalX" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_x ( 755s # OrgProjectSignalingIface *object, 755s # gint64 arg_an_x) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_t: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_an_t: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalT" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_t ( 755s # OrgProjectSignalingIface *object, 755s # guint64 arg_an_t) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_d: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_an_d: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalD" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_d ( 755s # OrgProjectSignalingIface *object, 755s # gdouble arg_an_d) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_s: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_an_s: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalS" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_s ( 755s # OrgProjectSignalingIface *object, 755s # const gchar *arg_an_s) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_o: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_an_o: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalO" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_o ( 755s # OrgProjectSignalingIface *object, 755s # const gchar *arg_an_o) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_g: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_an_g: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalG" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_g ( 755s # OrgProjectSignalingIface *object, 755s # const gchar *arg_an_g) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_h: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_an_h: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalH" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_h ( 755s # OrgProjectSignalingIface *object, 755s # GVariant *arg_an_h) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_ay: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_an_ay: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalAY" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_ay ( 755s # OrgProjectSignalingIface *object, 755s # const gchar *arg_an_ay) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_as: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_an_as: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalAS" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_as ( 755s # OrgProjectSignalingIface *object, 755s # const gchar *const *arg_an_as) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_ao: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_an_ao: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalAO" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_ao ( 755s # OrgProjectSignalingIface *object, 755s # const gchar *const *arg_an_ao) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_aay: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_an_aay: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalAAY" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_aay ( 755s # OrgProjectSignalingIface *object, 755s # const gchar *const *arg_an_aay) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_asv: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_an_asv: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalASV" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_asv ( 755s # OrgProjectSignalingIface *object, 755s # GVariant *arg_an_asv) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxy: 755s # * 755s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxyClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceProxy. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceProxyPrivate 755s # { 755s # GData *qdata; 755s # }; 755s # 755s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_proxy_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 755s # g_datalist_clear (&proxy->priv->qdata); 755s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # const GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 755s # const gchar *sender_name G_GNUC_UNUSED, 755s # const gchar *signal_name, 755s # GVariant *parameters) 755s # { 755s # _ExtendedGDBusSignalInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # gsize n; 755s # guint signal_id; 755s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 755s # if (info == NULL) 755s # return; 755s # num_params = g_variant_n_children (parameters); 755s # paramv = g_new0 (GValue, num_params + 1); 755s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[0], proxy); 755s # g_variant_iter_init (&iter, parameters); 755s # n = 1; 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_signal_emitv (paramv, signal_id, 0, NULL); 755s # for (n = 0; n < num_params + 1; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 755s # GVariant *changed_properties, 755s # const gchar *const *invalidated_properties) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 755s # guint n; 755s # const gchar *key; 755s # GVariantIter *iter; 755s # _ExtendedGDBusPropertyInfo *info; 755s # g_variant_get (changed_properties, "a{sv}", &iter); 755s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 755s # g_datalist_remove_data (&proxy->priv->qdata, key); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # g_variant_iter_free (iter); 755s # for (n = 0; invalidated_properties[n] != NULL; n++) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 755s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 755s # #else 755s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 755s # #endif 755s # 755s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusProxyClass *proxy_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 755s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 755s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 755s # 755s # proxy_class = G_DBUS_PROXY_CLASS (klass); 755s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 755s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_sync: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_sync ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new_for_bus ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_sync: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_sync ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeleton: 755s # * 755s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeletonClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceSkeletonPrivate 755s # { 755s # GValue *properties; 755s # GList *changed_properties; 755s # GSource *changed_properties_idle_source; 755s # GMainContext *context; 755s # GMutex lock; 755s # }; 755s # 755s # static void 755s # _org_project_signaling_iface_skeleton_handle_method_call ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name, 755s # const gchar *method_name, 755s # GVariant *parameters, 755s # GDBusMethodInvocation *invocation, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # _ExtendedGDBusMethodInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # guint num_extra; 755s # gsize n; 755s # guint signal_id; 755s # GValue return_value = G_VALUE_INIT; 755s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 755s # g_assert (info != NULL); 755s # num_params = g_variant_n_children (parameters); 755s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 755s # n = 0; 755s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[n++], skeleton); 755s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 755s # g_value_set_object (¶mv[n++], invocation); 755s # if (info->pass_fdlist) 755s # { 755s # #ifdef G_OS_UNIX 755s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 755s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 755s # #else 755s # g_assert_not_reached (); 755s # #endif 755s # } 755s # g_variant_iter_init (&iter, parameters); 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_init (&return_value, G_TYPE_BOOLEAN); 755s # g_signal_emitv (paramv, signal_id, 0, &return_value); 755s # if (!g_value_get_boolean (&return_value)) 755s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 755s # g_value_unset (&return_value); 755s # for (n = 0; n < num_params + num_extra; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static GVariant * 755s # _org_project_signaling_iface_skeleton_handle_get_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # GVariant *ret; 755s # ret = NULL; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # g_value_init (&value, pspec->value_type); 755s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 755s # g_value_unset (&value); 755s # } 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _org_project_signaling_iface_skeleton_handle_set_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GVariant *variant, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # gboolean ret; 755s # ret = FALSE; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # if (info->use_gvariant) 755s # g_value_set_variant (&value, variant); 755s # else 755s # g_dbus_gvariant_to_gvalue (variant, &value); 755s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # g_value_unset (&value); 755s # ret = TRUE; 755s # } 755s # return ret; 755s # } 755s # 755s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 755s # { 755s # _org_project_signaling_iface_skeleton_handle_method_call, 755s # _org_project_signaling_iface_skeleton_handle_get_property, 755s # _org_project_signaling_iface_skeleton_handle_set_property, 755s # {NULL} 755s # }; 755s # 755s # static GDBusInterfaceInfo * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return org_project_signaling_iface_interface_info (); 755s # } 755s # 755s # static GDBusInterfaceVTable * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 755s # } 755s # 755s # static GVariant * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 755s # 755s # GVariantBuilder builder; 755s # guint n; 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 755s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #else 755s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #endif 755s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 755s # goto out; 755s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 755s # { 755s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 755s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 755s # { 755s # GVariant *value; 755s # 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); 755s # if (value != NULL) 755s # { 755s # g_variant_take_ref (value); 755s # g_variant_builder_add (&builder, "{sv}", info->name, value); 755s # g_variant_unref (value); 755s # } 755s # } 755s # } 755s # out: 755s # return g_variant_builder_end (&builder); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_no_arg_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 755s # OrgProjectSignalingIface *object, 755s # gboolean arg_an_b) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 755s # arg_an_b)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 755s # OrgProjectSignalingIface *object, 755s # guchar arg_an_y) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 755s # arg_an_y)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 755s # OrgProjectSignalingIface *object, 755s # gint16 arg_an_n) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 755s # arg_an_n)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 755s # OrgProjectSignalingIface *object, 755s # guint16 arg_an_q) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 755s # arg_an_q)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 755s # OrgProjectSignalingIface *object, 755s # gint arg_an_i) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 755s # arg_an_i)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 755s # OrgProjectSignalingIface *object, 755s # guint arg_an_u) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 755s # arg_an_u)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 755s # OrgProjectSignalingIface *object, 755s # gint64 arg_an_x) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 755s # arg_an_x)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 755s # OrgProjectSignalingIface *object, 755s # guint64 arg_an_t) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 755s # arg_an_t)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 755s # OrgProjectSignalingIface *object, 755s # gdouble arg_an_d) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 755s # arg_an_d)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 755s # OrgProjectSignalingIface *object, 755s # const gchar *arg_an_s) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 755s # arg_an_s)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 755s # OrgProjectSignalingIface *object, 755s # const gchar *arg_an_o) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 755s # arg_an_o)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 755s # OrgProjectSignalingIface *object, 755s # const gchar *arg_an_g) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 755s # arg_an_g)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 755s # OrgProjectSignalingIface *object, 755s # GVariant *arg_an_h) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 755s # arg_an_h)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 755s # OrgProjectSignalingIface *object, 755s # const gchar *arg_an_ay) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 755s # arg_an_ay)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 755s # OrgProjectSignalingIface *object, 755s # const gchar *const *arg_an_as) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 755s # arg_an_as)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 755s # OrgProjectSignalingIface *object, 755s # const gchar *const *arg_an_ao) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 755s # arg_an_ao)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 755s # OrgProjectSignalingIface *object, 755s # const gchar *const *arg_an_aay) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 755s # arg_an_aay)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 755s # OrgProjectSignalingIface *object, 755s # GVariant *arg_an_asv) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 755s # arg_an_asv)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_skeleton_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 755s # if (skeleton->priv->changed_properties_idle_source != NULL) 755s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 755s # g_main_context_unref (skeleton->priv->context); 755s # g_mutex_clear (&skeleton->priv->lock); 755s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 755s # #else 755s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 755s # #endif 755s # 755s # g_mutex_init (&skeleton->priv->lock); 755s # skeleton->priv->context = g_main_context_ref_thread_default (); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusInterfaceSkeletonClass *skeleton_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 755s # 755s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 755s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 755s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 755s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 755s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 755s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 755s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 755s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 755s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 755s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 755s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 755s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 755s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 755s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 755s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 755s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 755s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 755s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 755s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 755s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 755s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 755s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 755s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_skeleton_new: 755s # * 755s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_skeleton_new (void) 755s # { 755s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 755s # } 755s # Error: 755s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 755s # gdbus-codegen: /usr/bin/gdbus-codegen 755s # tmpdir: /tmp/tmpzou63ctr 755s # /tmp/tmpzou63ctr/tmpy8uwfrpx.xml: 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzou63ctr/tmpy8uwfrpx.xml', '--output', '-', '--body'] 755s # Return code: 0 755s # Output: 755s # /* 755s # * This file is generated by gdbus-codegen, do not modify it. 755s # * 755s # * The license of this code is the same as for the D-Bus interface description 755s # * it was derived from. Note that it links to GLib, so must comply with the 755s # * LGPL linking clauses. 755s # */ 755s # 755s # #ifdef HAVE_CONFIG_H 755s # # include "config.h" 755s # #endif 755s # 755s # #include 755s # #ifdef G_OS_UNIX 755s # # include 755s # #endif 755s # 755s # #ifdef G_ENABLE_DEBUG 755s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 755s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 755s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 755s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 755s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 755s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 755s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 755s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 755s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 755s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 755s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 755s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 755s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 755s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 755s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 755s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 755s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 755s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 755s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 755s # #else /* !G_ENABLE_DEBUG */ 755s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 755s # * Do not access GValues directly in your code. Instead, use the 755s # * g_value_get_*() functions 755s # */ 755s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 755s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 755s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 755s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 755s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 755s # #endif /* !G_ENABLE_DEBUG */ 755s # 755s # typedef struct 755s # { 755s # GDBusArgInfo parent_struct; 755s # gboolean use_gvariant; 755s # } _ExtendedGDBusArgInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusMethodInfo parent_struct; 755s # const gchar *signal_name; 755s # gboolean pass_fdlist; 755s # } _ExtendedGDBusMethodInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusSignalInfo parent_struct; 755s # const gchar *signal_name; 755s # } _ExtendedGDBusSignalInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusPropertyInfo parent_struct; 755s # const gchar *hyphen_name; 755s # guint use_gvariant : 1; 755s # guint emits_changed_signal : 1; 755s # } _ExtendedGDBusPropertyInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusInterfaceInfo parent_struct; 755s # const gchar *hyphen_name; 755s # } _ExtendedGDBusInterfaceInfo; 755s # 755s # typedef struct 755s # { 755s # const _ExtendedGDBusPropertyInfo *info; 755s # guint prop_id; 755s # GValue orig_value; /* the value before the change */ 755s # } ChangedProperty; 755s # 755s # static void 755s # _changed_property_free (ChangedProperty *data) 755s # { 755s # g_value_unset (&data->orig_value); 755s # g_free (data); 755s # } 755s # 755s # static gboolean 755s # _g_strv_equal0 (gchar **a, gchar **b) 755s # { 755s # gboolean ret = FALSE; 755s # guint n; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # if (g_strv_length (a) != g_strv_length (b)) 755s # goto out; 755s # for (n = 0; a[n] != NULL; n++) 755s # if (g_strcmp0 (a[n], b[n]) != 0) 755s # goto out; 755s # ret = TRUE; 755s # out: 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _g_variant_equal0 (GVariant *a, GVariant *b) 755s # { 755s # gboolean ret = FALSE; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # ret = g_variant_equal (a, b); 755s # out: 755s # return ret; 755s # } 755s # 755s # G_GNUC_UNUSED static gboolean 755s # _g_value_equal (const GValue *a, const GValue *b) 755s # { 755s # gboolean ret = FALSE; 755s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 755s # switch (G_VALUE_TYPE (a)) 755s # { 755s # case G_TYPE_BOOLEAN: 755s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 755s # break; 755s # case G_TYPE_UCHAR: 755s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 755s # break; 755s # case G_TYPE_INT: 755s # ret = (g_value_get_int (a) == g_value_get_int (b)); 755s # break; 755s # case G_TYPE_UINT: 755s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 755s # break; 755s # case G_TYPE_INT64: 755s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 755s # break; 755s # case G_TYPE_UINT64: 755s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 755s # break; 755s # case G_TYPE_DOUBLE: 755s # { 755s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 755s # gdouble da = g_value_get_double (a); 755s # gdouble db = g_value_get_double (b); 755s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 755s # } 755s # break; 755s # case G_TYPE_STRING: 755s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 755s # break; 755s # case G_TYPE_VARIANT: 755s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 755s # break; 755s # default: 755s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 755s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 755s # else 755s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 755s # break; 755s # } 755s # return ret; 755s # } 755s # 755s # /* ------------------------------------------------------------------------ 755s # * Code for interface org.project.UsefulInterface 755s # * ------------------------------------------------------------------------ 755s # */ 755s # 755s # /** 755s # * SECTION:OrgProjectUsefulInterface 755s # * @title: OrgProjectUsefulInterface 755s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 755s # * 755s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 755s # */ 755s # 755s # enum 755s # { 755s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 755s # }; 755s # 755s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 755s # 755s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SimpleSignal", 755s # NULL, 755s # NULL 755s # }, 755s # "simple-signal" 755s # }; 755s # 755s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 755s # { 755s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 755s # { 755s # { 755s # -1, 755s # (gchar *) "org.project.UsefulInterface", 755s # NULL, 755s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 755s # NULL, 755s # NULL 755s # }, 755s # "org-project-useful-interface", 755s # }; 755s # 755s # 755s # /** 755s # * org_project_useful_interface_interface_info: 755s # * 755s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 755s # * 755s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 755s # */ 755s # GDBusInterfaceInfo * 755s # org_project_useful_interface_interface_info (void) 755s # { 755s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 755s # } 755s # 755s # /** 755s # * org_project_useful_interface_override_properties: 755s # * @klass: The class structure for a #GObject derived class. 755s # * @property_id_begin: The property id to assign to the first overridden property. 755s # * 755s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 755s # * The properties are overridden in the order they are defined. 755s # * 755s # * Returns: The last property id. 755s # */ 755s # guint 755s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 755s # { 755s # return property_id_begin - 1; 755s # } 755s # 755s # 755s # inline static void 755s # org_project_useful_interface_signal_marshal_simple_signal ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__VOID (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # 755s # /** 755s # * OrgProjectUsefulInterface: 755s # * 755s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 755s # */ 755s # 755s # /** 755s # * OrgProjectUsefulInterfaceIface: 755s # * @parent_iface: The parent interface. 755s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 755s # * 755s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 755s # */ 755s # 755s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 755s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 755s # 755s # static void 755s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 755s # { 755s # /* GObject signals for received D-Bus signals: */ 755s # /** 755s # * OrgProjectUsefulInterface::simple-signal: 755s # * @object: A #OrgProjectUsefulInterface. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 755s # g_signal_new ("simple-signal", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 755s # NULL, 755s # NULL, 755s # org_project_useful_interface_signal_marshal_simple_signal, 755s # G_TYPE_NONE, 755s # 0); 755s # 755s # } 755s # 755s # /** 755s # * org_project_useful_interface_emit_simple_signal: 755s # * @object: A #OrgProjectUsefulInterface. 755s # * 755s # * Emits the "SimpleSignal" D-Bus signal. 755s # */ 755s # void 755s # org_project_useful_interface_emit_simple_signal ( 755s # OrgProjectUsefulInterface *object) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectUsefulInterfaceProxy: 755s # * 755s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectUsefulInterfaceProxyClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectUsefulInterfaceProxy. 755s # */ 755s # 755s # struct _OrgProjectUsefulInterfaceProxyPrivate 755s # { 755s # GData *qdata; 755s # }; 755s # 755s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 755s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_useful_interface_proxy_finalize (GObject *object) 755s # { 755s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 755s # g_datalist_clear (&proxy->priv->qdata); 755s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # const GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 755s # const gchar *sender_name G_GNUC_UNUSED, 755s # const gchar *signal_name, 755s # GVariant *parameters) 755s # { 755s # _ExtendedGDBusSignalInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # gsize n; 755s # guint signal_id; 755s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 755s # if (info == NULL) 755s # return; 755s # num_params = g_variant_n_children (parameters); 755s # paramv = g_new0 (GValue, num_params + 1); 755s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 755s # g_value_set_object (¶mv[0], proxy); 755s # g_variant_iter_init (&iter, parameters); 755s # n = 1; 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 755s # g_signal_emitv (paramv, signal_id, 0, NULL); 755s # for (n = 0; n < num_params + 1; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static void 755s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 755s # GVariant *changed_properties, 755s # const gchar *const *invalidated_properties) 755s # { 755s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 755s # guint n; 755s # const gchar *key; 755s # GVariantIter *iter; 755s # _ExtendedGDBusPropertyInfo *info; 755s # g_variant_get (changed_properties, "a{sv}", &iter); 755s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 755s # g_datalist_remove_data (&proxy->priv->qdata, key); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # g_variant_iter_free (iter); 755s # for (n = 0; invalidated_properties[n] != NULL; n++) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 755s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # } 755s # 755s # static void 755s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 755s # #else 755s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 755s # #endif 755s # 755s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 755s # } 755s # 755s # static void 755s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusProxyClass *proxy_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 755s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 755s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 755s # 755s # proxy_class = G_DBUS_PROXY_CLASS (klass); 755s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 755s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # /** 755s # * org_project_useful_interface_proxy_new: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 755s # * 755s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_useful_interface_proxy_new ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # g_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); 755s # } 755s # 755s # /** 755s # * org_project_useful_interface_proxy_new_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectUsefulInterface * 755s # org_project_useful_interface_proxy_new_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_useful_interface_proxy_new_sync: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectUsefulInterface * 755s # org_project_useful_interface_proxy_new_sync ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /** 755s # * org_project_useful_interface_proxy_new_for_bus: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 755s # * 755s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_useful_interface_proxy_new_for_bus ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # g_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); 755s # } 755s # 755s # /** 755s # * org_project_useful_interface_proxy_new_for_bus_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectUsefulInterface * 755s # org_project_useful_interface_proxy_new_for_bus_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_useful_interface_proxy_new_for_bus_sync: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectUsefulInterface * 755s # org_project_useful_interface_proxy_new_for_bus_sync ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectUsefulInterfaceSkeleton: 755s # * 755s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectUsefulInterfaceSkeletonClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 755s # */ 755s # 755s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 755s # { 755s # GValue *properties; 755s # GList *changed_properties; 755s # GSource *changed_properties_idle_source; 755s # GMainContext *context; 755s # GMutex lock; 755s # }; 755s # 755s # static void 755s # _org_project_useful_interface_skeleton_handle_method_call ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name, 755s # const gchar *method_name, 755s # GVariant *parameters, 755s # GDBusMethodInvocation *invocation, 755s # gpointer user_data) 755s # { 755s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 755s # _ExtendedGDBusMethodInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # guint num_extra; 755s # gsize n; 755s # guint signal_id; 755s # GValue return_value = G_VALUE_INIT; 755s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 755s # g_assert (info != NULL); 755s # num_params = g_variant_n_children (parameters); 755s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 755s # n = 0; 755s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 755s # g_value_set_object (¶mv[n++], skeleton); 755s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 755s # g_value_set_object (¶mv[n++], invocation); 755s # if (info->pass_fdlist) 755s # { 755s # #ifdef G_OS_UNIX 755s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 755s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 755s # #else 755s # g_assert_not_reached (); 755s # #endif 755s # } 755s # g_variant_iter_init (&iter, parameters); 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 755s # g_value_init (&return_value, G_TYPE_BOOLEAN); 755s # g_signal_emitv (paramv, signal_id, 0, &return_value); 755s # if (!g_value_get_boolean (&return_value)) 755s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 755s # g_value_unset (&return_value); 755s # for (n = 0; n < num_params + num_extra; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static GVariant * 755s # _org_project_useful_interface_skeleton_handle_get_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # GVariant *ret; 755s # ret = NULL; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # g_value_init (&value, pspec->value_type); 755s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 755s # g_value_unset (&value); 755s # } 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _org_project_useful_interface_skeleton_handle_set_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GVariant *variant, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # gboolean ret; 755s # ret = FALSE; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # if (info->use_gvariant) 755s # g_value_set_variant (&value, variant); 755s # else 755s # g_dbus_gvariant_to_gvalue (variant, &value); 755s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # g_value_unset (&value); 755s # ret = TRUE; 755s # } 755s # return ret; 755s # } 755s # 755s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 755s # { 755s # _org_project_useful_interface_skeleton_handle_method_call, 755s # _org_project_useful_interface_skeleton_handle_get_property, 755s # _org_project_useful_interface_skeleton_handle_set_property, 755s # {NULL} 755s # }; 755s # 755s # static GDBusInterfaceInfo * 755s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return org_project_useful_interface_interface_info (); 755s # } 755s # 755s # static GDBusInterfaceVTable * 755s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 755s # } 755s # 755s # static GVariant * 755s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 755s # { 755s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 755s # 755s # GVariantBuilder builder; 755s # guint n; 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 755s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #else 755s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #endif 755s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 755s # goto out; 755s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 755s # { 755s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 755s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 755s # { 755s # GVariant *value; 755s # 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); 755s # if (value != NULL) 755s # { 755s # g_variant_take_ref (value); 755s # g_variant_builder_add (&builder, "{sv}", info->name, value); 755s # g_variant_unref (value); 755s # } 755s # } 755s # } 755s # out: 755s # return g_variant_builder_end (&builder); 755s # } 755s # 755s # static void 755s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # _org_project_useful_interface_on_signal_simple_signal ( 755s # OrgProjectUsefulInterface *object) 755s # { 755s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_useful_interface_skeleton_finalize (GObject *object) 755s # { 755s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 755s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 755s # if (skeleton->priv->changed_properties_idle_source != NULL) 755s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 755s # g_main_context_unref (skeleton->priv->context); 755s # g_mutex_clear (&skeleton->priv->lock); 755s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 755s # #else 755s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 755s # #endif 755s # 755s # g_mutex_init (&skeleton->priv->lock); 755s # skeleton->priv->context = g_main_context_ref_thread_default (); 755s # } 755s # 755s # static void 755s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusInterfaceSkeletonClass *skeleton_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 755s # 755s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 755s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 755s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 755s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 755s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 755s # { 755s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 755s # } 755s # 755s # /** 755s # * org_project_useful_interface_skeleton_new: 755s # * 755s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 755s # * 755s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 755s # */ 755s # OrgProjectUsefulInterface * 755s # org_project_useful_interface_skeleton_new (void) 755s # { 755s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ 755s # * Code for interface org.project.OtherIface 755s # * ------------------------------------------------------------------------ 755s # */ 755s # 755s # /** 755s # * SECTION:OrgProjectOtherIface 755s # * @title: OrgProjectOtherIface 755s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 755s # * 755s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 755s # */ 755s # 755s # enum 755s # { 755s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 755s # }; 755s # 755s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 755s # 755s # /* ---- Introspection data for org.project.OtherIface ---- */ 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SimpleSignal", 755s # NULL, 755s # NULL 755s # }, 755s # "simple-signal" 755s # }; 755s # 755s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 755s # { 755s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 755s # { 755s # { 755s # -1, 755s # (gchar *) "org.project.OtherIface", 755s # NULL, 755s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 755s # NULL, 755s # NULL 755s # }, 755s # "org-project-other-iface", 755s # }; 755s # 755s # 755s # /** 755s # * org_project_other_iface_interface_info: 755s # * 755s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 755s # * 755s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 755s # */ 755s # GDBusInterfaceInfo * 755s # org_project_other_iface_interface_info (void) 755s # { 755s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 755s # } 755s # 755s # /** 755s # * org_project_other_iface_override_properties: 755s # * @klass: The class structure for a #GObject derived class. 755s # * @property_id_begin: The property id to assign to the first overridden property. 755s # * 755s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 755s # * The properties are overridden in the order they are defined. 755s # * 755s # * Returns: The last property id. 755s # */ 755s # guint 755s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 755s # { 755s # return property_id_begin - 1; 755s # } 755s # 755s # 755s # inline static void 755s # org_project_other_iface_signal_marshal_simple_signal ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__VOID (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # 755s # /** 755s # * OrgProjectOtherIface: 755s # * 755s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 755s # */ 755s # 755s # /** 755s # * OrgProjectOtherIfaceIface: 755s # * @parent_iface: The parent interface. 755s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 755s # * 755s # * Virtual table for the D-Bus interface org.project.OtherIface. 755s # */ 755s # 755s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 755s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 755s # 755s # static void 755s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 755s # { 755s # /* GObject signals for received D-Bus signals: */ 755s # /** 755s # * OrgProjectOtherIface::simple-signal: 755s # * @object: A #OrgProjectOtherIface. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 755s # g_signal_new ("simple-signal", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 755s # NULL, 755s # NULL, 755s # org_project_other_iface_signal_marshal_simple_signal, 755s # G_TYPE_NONE, 755s # 0); 755s # 755s # } 755s # 755s # /** 755s # * org_project_other_iface_emit_simple_signal: 755s # * @object: A #OrgProjectOtherIface. 755s # * 755s # * Emits the "SimpleSignal" D-Bus signal. 755s # */ 755s # void 755s # org_project_other_iface_emit_simple_signal ( 755s # OrgProjectOtherIface *object) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectOtherIfaceProxy: 755s # * 755s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectOtherIfaceProxyClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectOtherIfaceProxy. 755s # */ 755s # 755s # struct _OrgProjectOtherIfaceProxyPrivate 755s # { 755s # GData *qdata; 755s # }; 755s # 755s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_other_iface_proxy_finalize (GObject *object) 755s # { 755s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 755s # g_datalist_clear (&proxy->priv->qdata); 755s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # const GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 755s # const gchar *sender_name G_GNUC_UNUSED, 755s # const gchar *signal_name, 755s # GVariant *parameters) 755s # { 755s # _ExtendedGDBusSignalInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # gsize n; 755s # guint signal_id; 755s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 755s # if (info == NULL) 755s # return; 755s # num_params = g_variant_n_children (parameters); 755s # paramv = g_new0 (GValue, num_params + 1); 755s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 755s # g_value_set_object (¶mv[0], proxy); 755s # g_variant_iter_init (&iter, parameters); 755s # n = 1; 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 755s # g_signal_emitv (paramv, signal_id, 0, NULL); 755s # for (n = 0; n < num_params + 1; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static void 755s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 755s # GVariant *changed_properties, 755s # const gchar *const *invalidated_properties) 755s # { 755s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 755s # guint n; 755s # const gchar *key; 755s # GVariantIter *iter; 755s # _ExtendedGDBusPropertyInfo *info; 755s # g_variant_get (changed_properties, "a{sv}", &iter); 755s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 755s # g_datalist_remove_data (&proxy->priv->qdata, key); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # g_variant_iter_free (iter); 755s # for (n = 0; invalidated_properties[n] != NULL; n++) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 755s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # } 755s # 755s # static void 755s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 755s # #else 755s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 755s # #endif 755s # 755s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 755s # } 755s # 755s # static void 755s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusProxyClass *proxy_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 755s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 755s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 755s # 755s # proxy_class = G_DBUS_PROXY_CLASS (klass); 755s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 755s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # /** 755s # * org_project_other_iface_proxy_new: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 755s # * 755s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_other_iface_proxy_new ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_other_iface_proxy_new_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_other_iface_proxy_new(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectOtherIface * 755s # org_project_other_iface_proxy_new_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_OTHER_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_other_iface_proxy_new_sync: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectOtherIface * 755s # org_project_other_iface_proxy_new_sync ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_OTHER_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /** 755s # * org_project_other_iface_proxy_new_for_bus: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 755s # * 755s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_other_iface_proxy_new_for_bus ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_other_iface_proxy_new_for_bus_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectOtherIface * 755s # org_project_other_iface_proxy_new_for_bus_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_OTHER_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_other_iface_proxy_new_for_bus_sync: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectOtherIface * 755s # org_project_other_iface_proxy_new_for_bus_sync ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_OTHER_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectOtherIfaceSkeleton: 755s # * 755s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectOtherIfaceSkeletonClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectOtherIfaceSkeleton. 755s # */ 755s # 755s # struct _OrgProjectOtherIfaceSkeletonPrivate 755s # { 755s # GValue *properties; 755s # GList *changed_properties; 755s # GSource *changed_properties_idle_source; 755s # GMainContext *context; 755s # GMutex lock; 755s # }; 755s # 755s # static void 755s # _org_project_other_iface_skeleton_handle_method_call ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name, 755s # const gchar *method_name, 755s # GVariant *parameters, 755s # GDBusMethodInvocation *invocation, 755s # gpointer user_data) 755s # { 755s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 755s # _ExtendedGDBusMethodInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # guint num_extra; 755s # gsize n; 755s # guint signal_id; 755s # GValue return_value = G_VALUE_INIT; 755s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 755s # g_assert (info != NULL); 755s # num_params = g_variant_n_children (parameters); 755s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 755s # n = 0; 755s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 755s # g_value_set_object (¶mv[n++], skeleton); 755s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 755s # g_value_set_object (¶mv[n++], invocation); 755s # if (info->pass_fdlist) 755s # { 755s # #ifdef G_OS_UNIX 755s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 755s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 755s # #else 755s # g_assert_not_reached (); 755s # #endif 755s # } 755s # g_variant_iter_init (&iter, parameters); 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 755s # g_value_init (&return_value, G_TYPE_BOOLEAN); 755s # g_signal_emitv (paramv, signal_id, 0, &return_value); 755s # if (!g_value_get_boolean (&return_value)) 755s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 755s # g_value_unset (&return_value); 755s # for (n = 0; n < num_params + num_extra; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static GVariant * 755s # _org_project_other_iface_skeleton_handle_get_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # GVariant *ret; 755s # ret = NULL; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # g_value_init (&value, pspec->value_type); 755s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 755s # g_value_unset (&value); 755s # } 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _org_project_other_iface_skeleton_handle_set_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GVariant *variant, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # gboolean ret; 755s # ret = FALSE; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # if (info->use_gvariant) 755s # g_value_set_variant (&value, variant); 755s # else 755s # g_dbus_gvariant_to_gvalue (variant, &value); 755s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # g_value_unset (&value); 755s # ret = TRUE; 755s # } 755s # return ret; 755s # } 755s # 755s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 755s # { 755s # _org_project_other_iface_skeleton_handle_method_call, 755s # _org_project_other_iface_skeleton_handle_get_property, 755s # _org_project_other_iface_skeleton_handle_set_property, 755s # {NULL} 755s # }; 755s # 755s # static GDBusInterfaceInfo * 755s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return org_project_other_iface_interface_info (); 755s # } 755s # 755s # static GDBusInterfaceVTable * 755s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 755s # } 755s # 755s # static GVariant * 755s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 755s # { 755s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 755s # 755s # GVariantBuilder builder; 755s # guint n; 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 755s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #else 755s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #endif 755s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 755s # goto out; 755s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 755s # { 755s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 755s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 755s # { 755s # GVariant *value; 755s # 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); 755s # if (value != NULL) 755s # { 755s # g_variant_take_ref (value); 755s # g_variant_builder_add (&builder, "{sv}", info->name, value); 755s # g_variant_unref (value); 755s # } 755s # } 755s # } 755s # out: 755s # return g_variant_builder_end (&builder); 755s # } 755s # 755s # static void 755s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # _org_project_other_iface_on_signal_simple_signal ( 755s # OrgProjectOtherIface *object) 755s # { 755s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_other_iface_skeleton_finalize (GObject *object) 755s # { 755s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 755s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 755s # if (skeleton->priv->changed_properties_idle_source != NULL) 755s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 755s # g_main_context_unref (skeleton->priv->context); 755s # g_mutex_clear (&skeleton->priv->lock); 755s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 755s # #else 755s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 755s # #endif 755s # 755s # g_mutex_init (&skeleton->priv->lock); 755s # skeleton->priv->context = g_main_context_ref_thread_default (); 755s # } 755s # 755s # static void 755s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusInterfaceSkeletonClass *skeleton_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 755s # 755s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 755s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 755s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 755s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 755s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 755s # { 755s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 755s # } 755s # 755s # /** 755s # * org_project_other_iface_skeleton_new: 755s # * 755s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 755s # * 755s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 755s # */ 755s # OrgProjectOtherIface * 755s # org_project_other_iface_skeleton_new (void) 755s # { 755s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 755s # } 755s # Error: 755s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 755s # gdbus-codegen: /usr/bin/gdbus-codegen 755s # tmpdir: /tmp/tmp0wpgajyg 755s # /tmp/tmp0wpgajyg/tmp9gki28ye.xml: 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0wpgajyg/tmp9gki28ye.xml', '--output', '-', '--body'] 755s # Return code: 0 755s # Output: 755s # /* 755s # * This file is generated by gdbus-codegen, do not modify it. 755s # * 755s # * The license of this code is the same as for the D-Bus interface description 755s # * it was derived from. Note that it links to GLib, so must comply with the 755s # * LGPL linking clauses. 755s # */ 755s # 755s # #ifdef HAVE_CONFIG_H 755s # # include "config.h" 755s # #endif 755s # 755s # #include 755s # #ifdef G_OS_UNIX 755s # # include 755s # #endif 755s # 755s # #ifdef G_ENABLE_DEBUG 755s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 755s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 755s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 755s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 755s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 755s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 755s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 755s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 755s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 755s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 755s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 755s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 755s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 755s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 755s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 755s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 755s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 755s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 755s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 755s # #else /* !G_ENABLE_DEBUG */ 755s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 755s # * Do not access GValues directly in your code. Instead, use the 755s # * g_value_get_*() functions 755s # */ 755s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 755s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 755s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 755s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 755s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 755s # #endif /* !G_ENABLE_DEBUG */ 755s # 755s # typedef struct 755s # { 755s # GDBusArgInfo parent_struct; 755s # gboolean use_gvariant; 755s # } _ExtendedGDBusArgInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusMethodInfo parent_struct; 755s # const gchar *signal_name; 755s # gboolean pass_fdlist; 755s # } _ExtendedGDBusMethodInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusSignalInfo parent_struct; 755s # const gchar *signal_name; 755s # } _ExtendedGDBusSignalInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusPropertyInfo parent_struct; 755s # const gchar *hyphen_name; 755s # guint use_gvariant : 1; 755s # guint emits_changed_signal : 1; 755s # } _ExtendedGDBusPropertyInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusInterfaceInfo parent_struct; 755s # const gchar *hyphen_name; 755s # } _ExtendedGDBusInterfaceInfo; 755s # 755s # typedef struct 755s # { 755s # const _ExtendedGDBusPropertyInfo *info; 755s # guint prop_id; 755s # GValue orig_value; /* the value before the change */ 755s # } ChangedProperty; 755s # 755s # static void 755s # _changed_property_free (ChangedProperty *data) 755s # { 755s # g_value_unset (&data->orig_value); 755s # g_free (data); 755s # } 755s # 755s # static gboolean 755s # _g_strv_equal0 (gchar **a, gchar **b) 755s # { 755s # gboolean ret = FALSE; 755s # guint n; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # if (g_strv_length (a) != g_strv_length (b)) 755s # goto out; 755s # for (n = 0; a[n] != NULL; n++) 755s # if (g_strcmp0 (a[n], b[n]) != 0) 755s # goto out; 755s # ret = TRUE; 755s # out: 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _g_variant_equal0 (GVariant *a, GVariant *b) 755s # { 755s # gboolean ret = FALSE; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # ret = g_variant_equal (a, b); 755s # out: 755s # return ret; 755s # } 755s # 755s # G_GNUC_UNUSED static gboolean 755s # _g_value_equal (const GValue *a, const GValue *b) 755s # { 755s # gboolean ret = FALSE; 755s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 755s # switch (G_VALUE_TYPE (a)) 755s # { 755s # case G_TYPE_BOOLEAN: 755s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 755s # break; 755s # case G_TYPE_UCHAR: 755s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 755s # break; 755s # case G_TYPE_INT: 755s # ret = (g_value_get_int (a) == g_value_get_int (b)); 755s # break; 755s # case G_TYPE_UINT: 755s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 755s # break; 755s # case G_TYPE_INT64: 755s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 755s # break; 755s # case G_TYPE_UINT64: 755s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 755s # break; 755s # case G_TYPE_DOUBLE: 755s # { 755s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 755s # gdouble da = g_value_get_double (a); 755s # gdouble db = g_value_get_double (b); 755s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 755s # } 755s # break; 755s # case G_TYPE_STRING: 755s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 755s # break; 755s # case G_TYPE_VARIANT: 755s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 755s # break; 755s # default: 755s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 755s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 755s # else 755s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 755s # break; 755s # } 755s # return ret; 755s # } 755s # 755s # /* ------------------------------------------------------------------------ 755s # * Code for interface org.project.SignalingIface 755s # * ------------------------------------------------------------------------ 755s # */ 755s # 755s # /** 755s # * SECTION:OrgProjectSignalingIface 755s # * @title: OrgProjectSignalingIface 755s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 755s # * 755s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 755s # */ 755s # 755s # enum 755s # { 755s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 755s # }; 755s # 755s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 755s # 755s # /* ---- Introspection data for org.project.SignalingIface ---- */ 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SimpleSignal", 755s # NULL, 755s # NULL 755s # }, 755s # "simple-signal" 755s # }; 755s # 755s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 755s # { 755s # { 755s # -1, 755s # (gchar *) "org.project.SignalingIface", 755s # NULL, 755s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 755s # NULL, 755s # NULL 755s # }, 755s # "org-project-signaling-iface", 755s # }; 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_interface_info: 755s # * 755s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 755s # * 755s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 755s # */ 755s # GDBusInterfaceInfo * 755s # org_project_signaling_iface_interface_info (void) 755s # { 755s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_override_properties: 755s # * @klass: The class structure for a #GObject derived class. 755s # * @property_id_begin: The property id to assign to the first overridden property. 755s # * 755s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 755s # * The properties are overridden in the order they are defined. 755s # * 755s # * Returns: The last property id. 755s # */ 755s # guint 755s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 755s # { 755s # return property_id_begin - 1; 755s # } 755s # 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_simple_signal ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__VOID (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # 755s # /** 755s # * OrgProjectSignalingIface: 755s # * 755s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceIface: 755s # * @parent_iface: The parent interface. 755s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 755s # * 755s # * Virtual table for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 755s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 755s # 755s # static void 755s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # /* GObject signals for received D-Bus signals: */ 755s # /** 755s # * OrgProjectSignalingIface::simple-signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 755s # g_signal_new ("simple-signal", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_simple_signal, 755s # G_TYPE_NONE, 755s # 0); 755s # 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_simple_signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * Emits the "SimpleSignal" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxy: 755s # * 755s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxyClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceProxy. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceProxyPrivate 755s # { 755s # GData *qdata; 755s # }; 755s # 755s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_proxy_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 755s # g_datalist_clear (&proxy->priv->qdata); 755s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # const GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 755s # const gchar *sender_name G_GNUC_UNUSED, 755s # const gchar *signal_name, 755s # GVariant *parameters) 755s # { 755s # _ExtendedGDBusSignalInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # gsize n; 755s # guint signal_id; 755s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 755s # if (info == NULL) 755s # return; 755s # num_params = g_variant_n_children (parameters); 755s # paramv = g_new0 (GValue, num_params + 1); 755s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[0], proxy); 755s # g_variant_iter_init (&iter, parameters); 755s # n = 1; 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_signal_emitv (paramv, signal_id, 0, NULL); 755s # for (n = 0; n < num_params + 1; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 755s # GVariant *changed_properties, 755s # const gchar *const *invalidated_properties) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 755s # guint n; 755s # const gchar *key; 755s # GVariantIter *iter; 755s # _ExtendedGDBusPropertyInfo *info; 755s # g_variant_get (changed_properties, "a{sv}", &iter); 755s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 755s # g_datalist_remove_data (&proxy->priv->qdata, key); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # g_variant_iter_free (iter); 755s # for (n = 0; invalidated_properties[n] != NULL; n++) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 755s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 755s # #else 755s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 755s # #endif 755s # 755s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusProxyClass *proxy_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 755s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 755s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 755s # 755s # proxy_class = G_DBUS_PROXY_CLASS (klass); 755s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 755s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_sync: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_sync ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new_for_bus ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_sync: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_sync ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeleton: 755s # * 755s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeletonClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceSkeletonPrivate 755s # { 755s # GValue *properties; 755s # GList *changed_properties; 755s # GSource *changed_properties_idle_source; 755s # GMainContext *context; 755s # GMutex lock; 755s # }; 755s # 755s # static void 755s # _org_project_signaling_iface_skeleton_handle_method_call ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name, 755s # const gchar *method_name, 755s # GVariant *parameters, 755s # GDBusMethodInvocation *invocation, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # _ExtendedGDBusMethodInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # guint num_extra; 755s # gsize n; 755s # guint signal_id; 755s # GValue return_value = G_VALUE_INIT; 755s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 755s # g_assert (info != NULL); 755s # num_params = g_variant_n_children (parameters); 755s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 755s # n = 0; 755s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[n++], skeleton); 755s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 755s # g_value_set_object (¶mv[n++], invocation); 755s # if (info->pass_fdlist) 755s # { 755s # #ifdef G_OS_UNIX 755s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 755s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 755s # #else 755s # g_assert_not_reached (); 755s # #endif 755s # } 755s # g_variant_iter_init (&iter, parameters); 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_init (&return_value, G_TYPE_BOOLEAN); 755s # g_signal_emitv (paramv, signal_id, 0, &return_value); 755s # if (!g_value_get_boolean (&return_value)) 755s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 755s # g_value_unset (&return_value); 755s # for (n = 0; n < num_params + num_extra; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static GVariant * 755s # _org_project_signaling_iface_skeleton_handle_get_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # GVariant *ret; 755s # ret = NULL; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # g_value_init (&value, pspec->value_type); 755s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 755s # g_value_unset (&value); 755s # } 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _org_project_signaling_iface_skeleton_handle_set_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GVariant *variant, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # gboolean ret; 755s # ret = FALSE; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # if (info->use_gvariant) 755s # g_value_set_variant (&value, variant); 755s # else 755s # g_dbus_gvariant_to_gvalue (variant, &value); 755s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # g_value_unset (&value); 755s # ret = TRUE; 755s # } 755s # return ret; 755s # } 755s # 755s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 755s # { 755s # _org_project_signaling_iface_skeleton_handle_method_call, 755s # _org_project_signaling_iface_skeleton_handle_get_property, 755s # _org_project_signaling_iface_skeleton_handle_set_property, 755s # {NULL} 755s # }; 755s # 755s # static GDBusInterfaceInfo * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return org_project_signaling_iface_interface_info (); 755s # } 755s # 755s # static GDBusInterfaceVTable * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 755s # } 755s # 755s # static GVariant * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 755s # 755s # GVariantBuilder builder; 755s # guint n; 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 755s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #else 755s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #endif 755s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 755s # goto out; 755s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 755s # { 755s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 755s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 755s # { 755s # GVariant *value; 755s # 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); 755s # if (value != NULL) 755s # { 755s # g_variant_take_ref (value); 755s # g_variant_builder_add (&builder, "{sv}", info->name, value); 755s # g_variant_unref (value); 755s # } 755s # } 755s # } 755s # out: 755s # return g_variant_builder_end (&builder); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_skeleton_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 755s # if (skeleton->priv->changed_properties_idle_source != NULL) 755s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 755s # g_main_context_unref (skeleton->priv->context); 755s # g_mutex_clear (&skeleton->priv->lock); 755s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 755s # #else 755s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 755s # #endif 755s # 755s # g_mutex_init (&skeleton->priv->lock); 755s # skeleton->priv->context = g_main_context_ref_thread_default (); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusInterfaceSkeletonClass *skeleton_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 755s # 755s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 755s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 755s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 755s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 755s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_skeleton_new: 755s # * 755s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_skeleton_new (void) 755s # { 755s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ 755s # * Code for interface org.project.OtherSignalingIface 755s # * ------------------------------------------------------------------------ 755s # */ 755s # 755s # /** 755s # * SECTION:OrgProjectOtherSignalingIface 755s # * @title: OrgProjectOtherSignalingIface 755s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 755s # * 755s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 755s # */ 755s # 755s # enum 755s # { 755s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 755s # }; 755s # 755s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 755s # 755s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SimpleSignal", 755s # NULL, 755s # NULL 755s # }, 755s # "simple-signal" 755s # }; 755s # 755s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 755s # { 755s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 755s # { 755s # { 755s # -1, 755s # (gchar *) "org.project.OtherSignalingIface", 755s # NULL, 755s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 755s # NULL, 755s # NULL 755s # }, 755s # "org-project-other-signaling-iface", 755s # }; 755s # 755s # 755s # /** 755s # * org_project_other_signaling_iface_interface_info: 755s # * 755s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 755s # * 755s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 755s # */ 755s # GDBusInterfaceInfo * 755s # org_project_other_signaling_iface_interface_info (void) 755s # { 755s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 755s # } 755s # 755s # /** 755s # * org_project_other_signaling_iface_override_properties: 755s # * @klass: The class structure for a #GObject derived class. 755s # * @property_id_begin: The property id to assign to the first overridden property. 755s # * 755s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 755s # * The properties are overridden in the order they are defined. 755s # * 755s # * Returns: The last property id. 755s # */ 755s # guint 755s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 755s # { 755s # return property_id_begin - 1; 755s # } 755s # 755s # 755s # inline static void 755s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__VOID (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # 755s # /** 755s # * OrgProjectOtherSignalingIface: 755s # * 755s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 755s # */ 755s # 755s # /** 755s # * OrgProjectOtherSignalingIfaceIface: 755s # * @parent_iface: The parent interface. 755s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 755s # * 755s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 755s # */ 755s # 755s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 755s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 755s # 755s # static void 755s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 755s # { 755s # /* GObject signals for received D-Bus signals: */ 755s # /** 755s # * OrgProjectOtherSignalingIface::simple-signal: 755s # * @object: A #OrgProjectOtherSignalingIface. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 755s # g_signal_new ("simple-signal", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 755s # NULL, 755s # NULL, 755s # org_project_other_signaling_iface_signal_marshal_simple_signal, 755s # G_TYPE_NONE, 755s # 0); 755s # 755s # } 755s # 755s # /** 755s # * org_project_other_signaling_iface_emit_simple_signal: 755s # * @object: A #OrgProjectOtherSignalingIface. 755s # * 755s # * Emits the "SimpleSignal" D-Bus signal. 755s # */ 755s # void 755s # org_project_other_signaling_iface_emit_simple_signal ( 755s # OrgProjectOtherSignalingIface *object) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectOtherSignalingIfaceProxy: 755s # * 755s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectOtherSignalingIfaceProxyClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 755s # */ 755s # 755s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 755s # { 755s # GData *qdata; 755s # }; 755s # 755s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 755s # { 755s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 755s # g_datalist_clear (&proxy->priv->qdata); 755s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # const GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 755s # const gchar *sender_name G_GNUC_UNUSED, 755s # const gchar *signal_name, 755s # GVariant *parameters) 755s # { 755s # _ExtendedGDBusSignalInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # gsize n; 755s # guint signal_id; 755s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 755s # if (info == NULL) 755s # return; 755s # num_params = g_variant_n_children (parameters); 755s # paramv = g_new0 (GValue, num_params + 1); 755s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[0], proxy); 755s # g_variant_iter_init (&iter, parameters); 755s # n = 1; 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 755s # g_signal_emitv (paramv, signal_id, 0, NULL); 755s # for (n = 0; n < num_params + 1; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static void 755s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 755s # GVariant *changed_properties, 755s # const gchar *const *invalidated_properties) 755s # { 755s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 755s # guint n; 755s # const gchar *key; 755s # GVariantIter *iter; 755s # _ExtendedGDBusPropertyInfo *info; 755s # g_variant_get (changed_properties, "a{sv}", &iter); 755s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 755s # g_datalist_remove_data (&proxy->priv->qdata, key); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # g_variant_iter_free (iter); 755s # for (n = 0; invalidated_properties[n] != NULL; n++) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 755s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # } 755s # 755s # static void 755s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 755s # #else 755s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 755s # #endif 755s # 755s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 755s # } 755s # 755s # static void 755s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusProxyClass *proxy_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 755s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 755s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 755s # 755s # proxy_class = G_DBUS_PROXY_CLASS (klass); 755s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 755s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # /** 755s # * org_project_other_signaling_iface_proxy_new: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 755s # * 755s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_other_signaling_iface_proxy_new ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_other_signaling_iface_proxy_new_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectOtherSignalingIface * 755s # org_project_other_signaling_iface_proxy_new_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_other_signaling_iface_proxy_new_sync: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectOtherSignalingIface * 755s # org_project_other_signaling_iface_proxy_new_sync ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /** 755s # * org_project_other_signaling_iface_proxy_new_for_bus: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 755s # * 755s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_other_signaling_iface_proxy_new_for_bus ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectOtherSignalingIface * 755s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectOtherSignalingIface * 755s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectOtherSignalingIfaceSkeleton: 755s # * 755s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectOtherSignalingIfaceSkeletonClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 755s # */ 755s # 755s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 755s # { 755s # GValue *properties; 755s # GList *changed_properties; 755s # GSource *changed_properties_idle_source; 755s # GMainContext *context; 755s # GMutex lock; 755s # }; 755s # 755s # static void 755s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name, 755s # const gchar *method_name, 755s # GVariant *parameters, 755s # GDBusMethodInvocation *invocation, 755s # gpointer user_data) 755s # { 755s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 755s # _ExtendedGDBusMethodInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # guint num_extra; 755s # gsize n; 755s # guint signal_id; 755s # GValue return_value = G_VALUE_INIT; 755s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 755s # g_assert (info != NULL); 755s # num_params = g_variant_n_children (parameters); 755s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 755s # n = 0; 755s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[n++], skeleton); 755s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 755s # g_value_set_object (¶mv[n++], invocation); 755s # if (info->pass_fdlist) 755s # { 755s # #ifdef G_OS_UNIX 755s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 755s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 755s # #else 755s # g_assert_not_reached (); 755s # #endif 755s # } 755s # g_variant_iter_init (&iter, parameters); 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 755s # g_value_init (&return_value, G_TYPE_BOOLEAN); 755s # g_signal_emitv (paramv, signal_id, 0, &return_value); 755s # if (!g_value_get_boolean (&return_value)) 755s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 755s # g_value_unset (&return_value); 755s # for (n = 0; n < num_params + num_extra; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static GVariant * 755s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # GVariant *ret; 755s # ret = NULL; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # g_value_init (&value, pspec->value_type); 755s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 755s # g_value_unset (&value); 755s # } 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GVariant *variant, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # gboolean ret; 755s # ret = FALSE; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # if (info->use_gvariant) 755s # g_value_set_variant (&value, variant); 755s # else 755s # g_dbus_gvariant_to_gvalue (variant, &value); 755s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # g_value_unset (&value); 755s # ret = TRUE; 755s # } 755s # return ret; 755s # } 755s # 755s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 755s # { 755s # _org_project_other_signaling_iface_skeleton_handle_method_call, 755s # _org_project_other_signaling_iface_skeleton_handle_get_property, 755s # _org_project_other_signaling_iface_skeleton_handle_set_property, 755s # {NULL} 755s # }; 755s # 755s # static GDBusInterfaceInfo * 755s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return org_project_other_signaling_iface_interface_info (); 755s # } 755s # 755s # static GDBusInterfaceVTable * 755s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 755s # } 755s # 755s # static GVariant * 755s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 755s # { 755s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 755s # 755s # GVariantBuilder builder; 755s # guint n; 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 755s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #else 755s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #endif 755s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 755s # goto out; 755s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 755s # { 755s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 755s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 755s # { 755s # GVariant *value; 755s # 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); 755s # if (value != NULL) 755s # { 755s # g_variant_take_ref (value); 755s # g_variant_builder_add (&builder, "{sv}", info->name, value); 755s # g_variant_unref (value); 755s # } 755s # } 755s # } 755s # out: 755s # return g_variant_builder_end (&builder); 755s # } 755s # 755s # static void 755s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # _org_project_other_signaling_iface_on_signal_simple_signal ( 755s # OrgProjectOtherSignalingIface *object) 755s # { 755s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 755s # { 755s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 755s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 755s # if (skeleton->priv->changed_properties_idle_source != NULL) 755s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 755s # g_main_context_unref (skeleton->priv->context); 755s # g_mutex_clear (&skeleton->priv->lock); 755s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 755s # #else 755s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 755s # #endif 755s # 755s # g_mutex_init (&skeleton->priv->lock); 755s # skeleton->priv->context = g_main_context_ref_thread_default (); 755s # } 755s # 755s # static void 755s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusInterfaceSkeletonClass *skeleton_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 755s # 755s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 755s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 755s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 755s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 755s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 755s # { 755s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 755s # } 755s # 755s # /** 755s # * org_project_other_signaling_iface_skeleton_new: 755s # * 755s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 755s # * 755s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 755s # */ 755s # OrgProjectOtherSignalingIface * 755s # org_project_other_signaling_iface_skeleton_new (void) 755s # { 755s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 755s # } 755s # Error: 755s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 755s # gdbus-codegen: /usr/bin/gdbus-codegen 755s # tmpdir: /tmp/tmpcyoquvv4 755s # /tmp/tmpcyoquvv4/tmpwzfmyj7n.xml: 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcyoquvv4/tmpwzfmyj7n.xml', '--output', '-', '--body'] 755s # Return code: 0 755s # Output: 755s # /* 755s # * This file is generated by gdbus-codegen, do not modify it. 755s # * 755s # * The license of this code is the same as for the D-Bus interface description 755s # * it was derived from. Note that it links to GLib, so must comply with the 755s # * LGPL linking clauses. 755s # */ 755s # 755s # #ifdef HAVE_CONFIG_H 755s # # include "config.h" 755s # #endif 755s # 755s # #include 755s # #ifdef G_OS_UNIX 755s # # include 755s # #endif 755s # 755s # #ifdef G_ENABLE_DEBUG 755s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 755s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 755s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 755s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 755s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 755s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 755s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 755s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 755s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 755s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 755s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 755s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 755s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 755s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 755s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 755s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 755s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 755s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 755s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 755s # #else /* !G_ENABLE_DEBUG */ 755s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 755s # * Do not access GValues directly in your code. Instead, use the 755s # * g_value_get_*() functions 755s # */ 755s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 755s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 755s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 755s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 755s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 755s # #endif /* !G_ENABLE_DEBUG */ 755s # 755s # typedef struct 755s # { 755s # GDBusArgInfo parent_struct; 755s # gboolean use_gvariant; 755s # } _ExtendedGDBusArgInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusMethodInfo parent_struct; 755s # const gchar *signal_name; 755s # gboolean pass_fdlist; 755s # } _ExtendedGDBusMethodInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusSignalInfo parent_struct; 755s # const gchar *signal_name; 755s # } _ExtendedGDBusSignalInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusPropertyInfo parent_struct; 755s # const gchar *hyphen_name; 755s # guint use_gvariant : 1; 755s # guint emits_changed_signal : 1; 755s # } _ExtendedGDBusPropertyInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusInterfaceInfo parent_struct; 755s # const gchar *hyphen_name; 755s # } _ExtendedGDBusInterfaceInfo; 755s # 755s # typedef struct 755s # { 755s # const _ExtendedGDBusPropertyInfo *info; 755s # guint prop_id; 755s # GValue orig_value; /* the value before the change */ 755s # } ChangedProperty; 755s # 755s # static void 755s # _changed_property_free (ChangedProperty *data) 755s # { 755s # g_value_unset (&data->orig_value); 755s # g_free (data); 755s # } 755s # 755s # static gboolean 755s # _g_strv_equal0 (gchar **a, gchar **b) 755s # { 755s # gboolean ret = FALSE; 755s # guint n; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # if (g_strv_length (a) != g_strv_length (b)) 755s # goto out; 755s # for (n = 0; a[n] != NULL; n++) 755s # if (g_strcmp0 (a[n], b[n]) != 0) 755s # goto out; 755s # ret = TRUE; 755s # out: 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _g_variant_equal0 (GVariant *a, GVariant *b) 755s # { 755s # gboolean ret = FALSE; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # ret = g_variant_equal (a, b); 755s # out: 755s # return ret; 755s # } 755s # 755s # G_GNUC_UNUSED static gboolean 755s # _g_value_equal (const GValue *a, const GValue *b) 755s # { 755s # gboolean ret = FALSE; 755s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 755s # switch (G_VALUE_TYPE (a)) 755s # { 755s # case G_TYPE_BOOLEAN: 755s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 755s # break; 755s # case G_TYPE_UCHAR: 755s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 755s # break; 755s # case G_TYPE_INT: 755s # ret = (g_value_get_int (a) == g_value_get_int (b)); 755s # break; 755s # case G_TYPE_UINT: 755s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 755s # break; 755s # case G_TYPE_INT64: 755s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 755s # break; 755s # case G_TYPE_UINT64: 755s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 755s # break; 755s # case G_TYPE_DOUBLE: 755s # { 755s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 755s # gdouble da = g_value_get_double (a); 755s # gdouble db = g_value_get_double (b); 755s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 755s # } 755s # break; 755s # case G_TYPE_STRING: 755s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 755s # break; 755s # case G_TYPE_VARIANT: 755s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 755s # break; 755s # default: 755s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 755s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 755s # else 755s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 755s # break; 755s # } 755s # return ret; 755s # } 755s # 755s # /* ------------------------------------------------------------------------ 755s # * Code for interface org.project.SignalingIface 755s # * ------------------------------------------------------------------------ 755s # */ 755s # 755s # /** 755s # * SECTION:OrgProjectSignalingIface 755s # * @title: OrgProjectSignalingIface 755s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 755s # * 755s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 755s # */ 755s # 755s # enum 755s # { 755s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 755s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 755s # }; 755s # 755s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 755s # 755s # /* ---- Introspection data for org.project.SignalingIface ---- */ 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SimpleSignal", 755s # NULL, 755s # NULL 755s # }, 755s # "simple-signal" 755s # }; 755s # 755s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 755s # { 755s # { 755s # -1, 755s # (gchar *) "arg_b", 755s # (gchar *) "b", 755s # NULL 755s # }, 755s # FALSE 755s # }; 755s # 755s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SingleArgSignalB", 755s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 755s # NULL 755s # }, 755s # "single-arg-signal-b" 755s # }; 755s # 755s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 755s # { 755s # { 755s # -1, 755s # (gchar *) "org.project.SignalingIface", 755s # NULL, 755s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 755s # NULL, 755s # NULL 755s # }, 755s # "org-project-signaling-iface", 755s # }; 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_interface_info: 755s # * 755s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 755s # * 755s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 755s # */ 755s # GDBusInterfaceInfo * 755s # org_project_signaling_iface_interface_info (void) 755s # { 755s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_override_properties: 755s # * @klass: The class structure for a #GObject derived class. 755s # * @property_id_begin: The property id to assign to the first overridden property. 755s # * 755s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 755s # * The properties are overridden in the order they are defined. 755s # * 755s # * Returns: The last property id. 755s # */ 755s # guint 755s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 755s # { 755s # return property_id_begin - 1; 755s # } 755s # 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_simple_signal ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__VOID (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__BOOLEAN (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # 755s # /** 755s # * OrgProjectSignalingIface: 755s # * 755s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceIface: 755s # * @parent_iface: The parent interface. 755s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 755s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 755s # * 755s # * Virtual table for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 755s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 755s # 755s # static void 755s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # /* GObject signals for received D-Bus signals: */ 755s # /** 755s # * OrgProjectSignalingIface::simple-signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 755s # g_signal_new ("simple-signal", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_simple_signal, 755s # G_TYPE_NONE, 755s # 0); 755s # 755s # /** 755s # * OrgProjectSignalingIface::single-arg-signal-b: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_b: Argument. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 755s # g_signal_new ("single-arg-signal-b", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 755s # G_TYPE_NONE, 755s # 1, G_TYPE_BOOLEAN); 755s # 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_simple_signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * Emits the "SimpleSignal" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_b: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_b: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalB" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_b ( 755s # OrgProjectSignalingIface *object, 755s # gboolean arg_arg_b) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxy: 755s # * 755s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxyClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceProxy. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceProxyPrivate 755s # { 755s # GData *qdata; 755s # }; 755s # 755s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_proxy_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 755s # g_datalist_clear (&proxy->priv->qdata); 755s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # const GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 755s # const gchar *sender_name G_GNUC_UNUSED, 755s # const gchar *signal_name, 755s # GVariant *parameters) 755s # { 755s # _ExtendedGDBusSignalInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # gsize n; 755s # guint signal_id; 755s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 755s # if (info == NULL) 755s # return; 755s # num_params = g_variant_n_children (parameters); 755s # paramv = g_new0 (GValue, num_params + 1); 755s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[0], proxy); 755s # g_variant_iter_init (&iter, parameters); 755s # n = 1; 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_signal_emitv (paramv, signal_id, 0, NULL); 755s # for (n = 0; n < num_params + 1; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 755s # GVariant *changed_properties, 755s # const gchar *const *invalidated_properties) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 755s # guint n; 755s # const gchar *key; 755s # GVariantIter *iter; 755s # _ExtendedGDBusPropertyInfo *info; 755s # g_variant_get (changed_properties, "a{sv}", &iter); 755s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 755s # g_datalist_remove_data (&proxy->priv->qdata, key); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # g_variant_iter_free (iter); 755s # for (n = 0; invalidated_properties[n] != NULL; n++) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 755s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 755s # #else 755s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 755s # #endif 755s # 755s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusProxyClass *proxy_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 755s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 755s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 755s # 755s # proxy_class = G_DBUS_PROXY_CLASS (klass); 755s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 755s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_sync: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_sync ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new_for_bus ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_sync: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_sync ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeleton: 755s # * 755s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeletonClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceSkeletonPrivate 755s # { 755s # GValue *properties; 755s # GList *changed_properties; 755s # GSource *changed_properties_idle_source; 755s # GMainContext *context; 755s # GMutex lock; 755s # }; 755s # 755s # static void 755s # _org_project_signaling_iface_skeleton_handle_method_call ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name, 755s # const gchar *method_name, 755s # GVariant *parameters, 755s # GDBusMethodInvocation *invocation, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # _ExtendedGDBusMethodInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # guint num_extra; 755s # gsize n; 755s # guint signal_id; 755s # GValue return_value = G_VALUE_INIT; 755s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 755s # g_assert (info != NULL); 755s # num_params = g_variant_n_children (parameters); 755s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 755s # n = 0; 755s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[n++], skeleton); 755s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 755s # g_value_set_object (¶mv[n++], invocation); 755s # if (info->pass_fdlist) 755s # { 755s # #ifdef G_OS_UNIX 755s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 755s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 755s # #else 755s # g_assert_not_reached (); 755s # #endif 755s # } 755s # g_variant_iter_init (&iter, parameters); 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_init (&return_value, G_TYPE_BOOLEAN); 755s # g_signal_emitv (paramv, signal_id, 0, &return_value); 755s # if (!g_value_get_boolean (&return_value)) 755s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 755s # g_value_unset (&return_value); 755s # for (n = 0; n < num_params + num_extra; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static GVariant * 755s # _org_project_signaling_iface_skeleton_handle_get_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # GVariant *ret; 755s # ret = NULL; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # g_value_init (&value, pspec->value_type); 755s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 755s # g_value_unset (&value); 755s # } 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _org_project_signaling_iface_skeleton_handle_set_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GVariant *variant, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # gboolean ret; 755s # ret = FALSE; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # if (info->use_gvariant) 755s # g_value_set_variant (&value, variant); 755s # else 755s # g_dbus_gvariant_to_gvalue (variant, &value); 755s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # g_value_unset (&value); 755s # ret = TRUE; 755s # } 755s # return ret; 755s # } 755s # 755s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 755s # { 755s # _org_project_signaling_iface_skeleton_handle_method_call, 755s # _org_project_signaling_iface_skeleton_handle_get_property, 755s # _org_project_signaling_iface_skeleton_handle_set_property, 755s # {NULL} 755s # }; 755s # 755s # static GDBusInterfaceInfo * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return org_project_signaling_iface_interface_info (); 755s # } 755s # 755s # static GDBusInterfaceVTable * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 755s # } 755s # 755s # static GVariant * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 755s # 755s # GVariantBuilder builder; 755s # guint n; 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 755s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #else 755s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #endif 755s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 755s # goto out; 755s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 755s # { 755s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 755s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 755s # { 755s # GVariant *value; 755s # 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); 755s # if (value != NULL) 755s # { 755s # g_variant_take_ref (value); 755s # g_variant_builder_add (&builder, "{sv}", info->name, value); 755s # g_variant_unref (value); 755s # } 755s # } 755s # } 755s # out: 755s # return g_variant_builder_end (&builder); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 755s # OrgProjectSignalingIface *object, 755s # gboolean arg_arg_b) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 755s # arg_arg_b)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_skeleton_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 755s # if (skeleton->priv->changed_properties_idle_source != NULL) 755s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 755s # g_main_context_unref (skeleton->priv->context); 755s # g_mutex_clear (&skeleton->priv->lock); 755s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 755s # #else 755s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 755s # #endif 755s # 755s # g_mutex_init (&skeleton->priv->lock); 755s # skeleton->priv->context = g_main_context_ref_thread_default (); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusInterfaceSkeletonClass *skeleton_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 755s # 755s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 755s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 755s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 755s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 755s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 755s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_skeleton_new: 755s # * 755s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_skeleton_new (void) 755s # { 755s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 755s # } 755s # Error: 755s # 755s # /tmp/tmpcyoquvv4/tmpndntfcuv.xml: 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcyoquvv4/tmpndntfcuv.xml', '--output', '-', '--body'] 755s # Return code: 0 755s # Output: 755s # /* 755s # * This file is generated by gdbus-codegen, do not modify it. 755s # * 755s # * The license of this code is the same as for the D-Bus interface description 755s # * it was derived from. Note that it links to GLib, so must comply with the 755s # * LGPL linking clauses. 755s # */ 755s # 755s # #ifdef HAVE_CONFIG_H 755s # # include "config.h" 755s # #endif 755s # 755s # #include 755s # #ifdef G_OS_UNIX 755s # # include 755s # #endif 755s # 755s # #ifdef G_ENABLE_DEBUG 755s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 755s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 755s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 755s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 755s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 755s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 755s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 755s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 755s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 755s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 755s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 755s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 755s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 755s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 755s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 755s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 755s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 755s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 755s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 755s # #else /* !G_ENABLE_DEBUG */ 755s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 755s # * Do not access GValues directly in your code. Instead, use the 755s # * g_value_get_*() functions 755s # */ 755s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 755s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 755s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 755s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 755s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 755s # #endif /* !G_ENABLE_DEBUG */ 755s # 755s # typedef struct 755s # { 755s # GDBusArgInfo parent_struct; 755s # gboolean use_gvariant; 755s # } _ExtendedGDBusArgInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusMethodInfo parent_struct; 755s # const gchar *signal_name; 755s # gboolean pass_fdlist; 755s # } _ExtendedGDBusMethodInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusSignalInfo parent_struct; 755s # const gchar *signal_name; 755s # } _ExtendedGDBusSignalInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusPropertyInfo parent_struct; 755s # const gchar *hyphen_name; 755s # guint use_gvariant : 1; 755s # guint emits_changed_signal : 1; 755s # } _ExtendedGDBusPropertyInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusInterfaceInfo parent_struct; 755s # const gchar *hyphen_name; 755s # } _ExtendedGDBusInterfaceInfo; 755s # 755s # typedef struct 755s # { 755s # const _ExtendedGDBusPropertyInfo *info; 755s # guint prop_id; 755s # GValue orig_value; /* the value before the change */ 755s # } ChangedProperty; 755s # 755s # static void 755s # _changed_property_free (ChangedProperty *data) 755s # { 755s # g_value_unset (&data->orig_value); 755s # g_free (data); 755s # } 755s # 755s # static gboolean 755s # _g_strv_equal0 (gchar **a, gchar **b) 755s # { 755s # gboolean ret = FALSE; 755s # guint n; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # if (g_strv_length (a) != g_strv_length (b)) 755s # goto out; 755s # for (n = 0; a[n] != NULL; n++) 755s # if (g_strcmp0 (a[n], b[n]) != 0) 755s # goto out; 755s # ret = TRUE; 755s # out: 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _g_variant_equal0 (GVariant *a, GVariant *b) 755s # { 755s # gboolean ret = FALSE; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # ret = g_variant_equal (a, b); 755s # out: 755s # return ret; 755s # } 755s # 755s # G_GNUC_UNUSED static gboolean 755s # _g_value_equal (const GValue *a, const GValue *b) 755s # { 755s # gboolean ret = FALSE; 755s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 755s # switch (G_VALUE_TYPE (a)) 755s # { 755s # case G_TYPE_BOOLEAN: 755s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 755s # break; 755s # case G_TYPE_UCHAR: 755s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 755s # break; 755s # case G_TYPE_INT: 755s # ret = (g_value_get_int (a) == g_value_get_int (b)); 755s # break; 755s # case G_TYPE_UINT: 755s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 755s # break; 755s # case G_TYPE_INT64: 755s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 755s # break; 755s # case G_TYPE_UINT64: 755s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 755s # break; 755s # case G_TYPE_DOUBLE: 755s # { 755s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 755s # gdouble da = g_value_get_double (a); 755s # gdouble db = g_value_get_double (b); 755s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 755s # } 755s # break; 755s # case G_TYPE_STRING: 755s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 755s # break; 755s # case G_TYPE_VARIANT: 755s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 755s # break; 755s # default: 755s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 755s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 755s # else 755s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 755s # break; 755s # } 755s # return ret; 755s # } 755s # 755s # /* ------------------------------------------------------------------------ 755s # * Code for interface org.project.SignalingIface 755s # * ------------------------------------------------------------------------ 755s # */ 755s # 755s # /** 755s # * SECTION:OrgProjectSignalingIface 755s # * @title: OrgProjectSignalingIface 755s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 755s # * 755s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 755s # */ 755s # 755s # enum 755s # { 755s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 755s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 755s # }; 755s # 755s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 755s # 755s # /* ---- Introspection data for org.project.SignalingIface ---- */ 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SimpleSignal", 755s # NULL, 755s # NULL 755s # }, 755s # "simple-signal" 755s # }; 755s # 755s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 755s # { 755s # { 755s # -1, 755s # (gchar *) "arg_y", 755s # (gchar *) "y", 755s # NULL 755s # }, 755s # FALSE 755s # }; 755s # 755s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SingleArgSignalY", 755s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 755s # NULL 755s # }, 755s # "single-arg-signal-y" 755s # }; 755s # 755s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 755s # { 755s # { 755s # -1, 755s # (gchar *) "org.project.SignalingIface", 755s # NULL, 755s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 755s # NULL, 755s # NULL 755s # }, 755s # "org-project-signaling-iface", 755s # }; 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_interface_info: 755s # * 755s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 755s # * 755s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 755s # */ 755s # GDBusInterfaceInfo * 755s # org_project_signaling_iface_interface_info (void) 755s # { 755s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_override_properties: 755s # * @klass: The class structure for a #GObject derived class. 755s # * @property_id_begin: The property id to assign to the first overridden property. 755s # * 755s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 755s # * The properties are overridden in the order they are defined. 755s # * 755s # * Returns: The last property id. 755s # */ 755s # guint 755s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 755s # { 755s # return property_id_begin - 1; 755s # } 755s # 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_simple_signal ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__VOID (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__UCHAR (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # 755s # /** 755s # * OrgProjectSignalingIface: 755s # * 755s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceIface: 755s # * @parent_iface: The parent interface. 755s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 755s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 755s # * 755s # * Virtual table for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 755s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 755s # 755s # static void 755s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # /* GObject signals for received D-Bus signals: */ 755s # /** 755s # * OrgProjectSignalingIface::simple-signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 755s # g_signal_new ("simple-signal", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_simple_signal, 755s # G_TYPE_NONE, 755s # 0); 755s # 755s # /** 755s # * OrgProjectSignalingIface::single-arg-signal-y: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_y: Argument. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 755s # g_signal_new ("single-arg-signal-y", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 755s # G_TYPE_NONE, 755s # 1, G_TYPE_UCHAR); 755s # 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_simple_signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * Emits the "SimpleSignal" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_y: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_y: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalY" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_y ( 755s # OrgProjectSignalingIface *object, 755s # guchar arg_arg_y) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxy: 755s # * 755s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxyClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceProxy. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceProxyPrivate 755s # { 755s # GData *qdata; 755s # }; 755s # 755s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_proxy_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 755s # g_datalist_clear (&proxy->priv->qdata); 755s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # const GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 755s # const gchar *sender_name G_GNUC_UNUSED, 755s # const gchar *signal_name, 755s # GVariant *parameters) 755s # { 755s # _ExtendedGDBusSignalInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # gsize n; 755s # guint signal_id; 755s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 755s # if (info == NULL) 755s # return; 755s # num_params = g_variant_n_children (parameters); 755s # paramv = g_new0 (GValue, num_params + 1); 755s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[0], proxy); 755s # g_variant_iter_init (&iter, parameters); 755s # n = 1; 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_signal_emitv (paramv, signal_id, 0, NULL); 755s # for (n = 0; n < num_params + 1; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 755s # GVariant *changed_properties, 755s # const gchar *const *invalidated_properties) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 755s # guint n; 755s # const gchar *key; 755s # GVariantIter *iter; 755s # _ExtendedGDBusPropertyInfo *info; 755s # g_variant_get (changed_properties, "a{sv}", &iter); 755s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 755s # g_datalist_remove_data (&proxy->priv->qdata, key); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # g_variant_iter_free (iter); 755s # for (n = 0; invalidated_properties[n] != NULL; n++) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 755s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 755s # #else 755s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 755s # #endif 755s # 755s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusProxyClass *proxy_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 755s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 755s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 755s # 755s # proxy_class = G_DBUS_PROXY_CLASS (klass); 755s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 755s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_sync: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_sync ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new_for_bus ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_sync: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_sync ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeleton: 755s # * 755s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeletonClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceSkeletonPrivate 755s # { 755s # GValue *properties; 755s # GList *changed_properties; 755s # GSource *changed_properties_idle_source; 755s # GMainContext *context; 755s # GMutex lock; 755s # }; 755s # 755s # static void 755s # _org_project_signaling_iface_skeleton_handle_method_call ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name, 755s # const gchar *method_name, 755s # GVariant *parameters, 755s # GDBusMethodInvocation *invocation, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # _ExtendedGDBusMethodInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # guint num_extra; 755s # gsize n; 755s # guint signal_id; 755s # GValue return_value = G_VALUE_INIT; 755s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 755s # g_assert (info != NULL); 755s # num_params = g_variant_n_children (parameters); 755s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 755s # n = 0; 755s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[n++], skeleton); 755s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 755s # g_value_set_object (¶mv[n++], invocation); 755s # if (info->pass_fdlist) 755s # { 755s # #ifdef G_OS_UNIX 755s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 755s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 755s # #else 755s # g_assert_not_reached (); 755s # #endif 755s # } 755s # g_variant_iter_init (&iter, parameters); 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_init (&return_value, G_TYPE_BOOLEAN); 755s # g_signal_emitv (paramv, signal_id, 0, &return_value); 755s # if (!g_value_get_boolean (&return_value)) 755s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 755s # g_value_unset (&return_value); 755s # for (n = 0; n < num_params + num_extra; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static GVariant * 755s # _org_project_signaling_iface_skeleton_handle_get_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # GVariant *ret; 755s # ret = NULL; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # g_value_init (&value, pspec->value_type); 755s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 755s # g_value_unset (&value); 755s # } 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _org_project_signaling_iface_skeleton_handle_set_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GVariant *variant, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # gboolean ret; 755s # ret = FALSE; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # if (info->use_gvariant) 755s # g_value_set_variant (&value, variant); 755s # else 755s # g_dbus_gvariant_to_gvalue (variant, &value); 755s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # g_value_unset (&value); 755s # ret = TRUE; 755s # } 755s # return ret; 755s # } 755s # 755s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 755s # { 755s # _org_project_signaling_iface_skeleton_handle_method_call, 755s # _org_project_signaling_iface_skeleton_handle_get_property, 755s # _org_project_signaling_iface_skeleton_handle_set_property, 755s # {NULL} 755s # }; 755s # 755s # static GDBusInterfaceInfo * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return org_project_signaling_iface_interface_info (); 755s # } 755s # 755s # static GDBusInterfaceVTable * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 755s # } 755s # 755s # static GVariant * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 755s # 755s # GVariantBuilder builder; 755s # guint n; 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 755s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #else 755s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #endif 755s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 755s # goto out; 755s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 755s # { 755s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 755s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 755s # { 755s # GVariant *value; 755s # 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); 755s # if (value != NULL) 755s # { 755s # g_variant_take_ref (value); 755s # g_variant_builder_add (&builder, "{sv}", info->name, value); 755s # g_variant_unref (value); 755s # } 755s # } 755s # } 755s # out: 755s # return g_variant_builder_end (&builder); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 755s # OrgProjectSignalingIface *object, 755s # guchar arg_arg_y) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 755s # arg_arg_y)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_skeleton_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 755s # if (skeleton->priv->changed_properties_idle_source != NULL) 755s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 755s # g_main_context_unref (skeleton->priv->context); 755s # g_mutex_clear (&skeleton->priv->lock); 755s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 755s # #else 755s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 755s # #endif 755s # 755s # g_mutex_init (&skeleton->priv->lock); 755s # skeleton->priv->context = g_main_context_ref_thread_default (); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusInterfaceSkeletonClass *skeleton_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 755s # 755s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 755s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 755s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 755s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 755s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 755s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_skeleton_new: 755s # * 755s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_skeleton_new (void) 755s # { 755s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 755s # } 755s # Error: 755s # 755s # /tmp/tmpcyoquvv4/tmp6o19ro2p.xml: 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcyoquvv4/tmp6o19ro2p.xml', '--output', '-', '--body'] 755s # Return code: 0 755s # Output: 755s # /* 755s # * This file is generated by gdbus-codegen, do not modify it. 755s # * 755s # * The license of this code is the same as for the D-Bus interface description 755s # * it was derived from. Note that it links to GLib, so must comply with the 755s # * LGPL linking clauses. 755s # */ 755s # 755s # #ifdef HAVE_CONFIG_H 755s # # include "config.h" 755s # #endif 755s # 755s # #include 755s # #ifdef G_OS_UNIX 755s # # include 755s # #endif 755s # 755s # #ifdef G_ENABLE_DEBUG 755s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 755s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 755s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 755s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 755s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 755s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 755s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 755s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 755s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 755s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 755s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 755s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 755s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 755s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 755s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 755s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 755s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 755s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 755s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 755s # #else /* !G_ENABLE_DEBUG */ 755s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 755s # * Do not access GValues directly in your code. Instead, use the 755s # * g_value_get_*() functions 755s # */ 755s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 755s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 755s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 755s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 755s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 755s # #endif /* !G_ENABLE_DEBUG */ 755s # 755s # typedef struct 755s # { 755s # GDBusArgInfo parent_struct; 755s # gboolean use_gvariant; 755s # } _ExtendedGDBusArgInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusMethodInfo parent_struct; 755s # const gchar *signal_name; 755s # gboolean pass_fdlist; 755s # } _ExtendedGDBusMethodInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusSignalInfo parent_struct; 755s # const gchar *signal_name; 755s # } _ExtendedGDBusSignalInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusPropertyInfo parent_struct; 755s # const gchar *hyphen_name; 755s # guint use_gvariant : 1; 755s # guint emits_changed_signal : 1; 755s # } _ExtendedGDBusPropertyInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusInterfaceInfo parent_struct; 755s # const gchar *hyphen_name; 755s # } _ExtendedGDBusInterfaceInfo; 755s # 755s # typedef struct 755s # { 755s # const _ExtendedGDBusPropertyInfo *info; 755s # guint prop_id; 755s # GValue orig_value; /* the value before the change */ 755s # } ChangedProperty; 755s # 755s # static void 755s # _changed_property_free (ChangedProperty *data) 755s # { 755s # g_value_unset (&data->orig_value); 755s # g_free (data); 755s # } 755s # 755s # static gboolean 755s # _g_strv_equal0 (gchar **a, gchar **b) 755s # { 755s # gboolean ret = FALSE; 755s # guint n; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # if (g_strv_length (a) != g_strv_length (b)) 755s # goto out; 755s # for (n = 0; a[n] != NULL; n++) 755s # if (g_strcmp0 (a[n], b[n]) != 0) 755s # goto out; 755s # ret = TRUE; 755s # out: 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _g_variant_equal0 (GVariant *a, GVariant *b) 755s # { 755s # gboolean ret = FALSE; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # ret = g_variant_equal (a, b); 755s # out: 755s # return ret; 755s # } 755s # 755s # G_GNUC_UNUSED static gboolean 755s # _g_value_equal (const GValue *a, const GValue *b) 755s # { 755s # gboolean ret = FALSE; 755s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 755s # switch (G_VALUE_TYPE (a)) 755s # { 755s # case G_TYPE_BOOLEAN: 755s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 755s # break; 755s # case G_TYPE_UCHAR: 755s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 755s # break; 755s # case G_TYPE_INT: 755s # ret = (g_value_get_int (a) == g_value_get_int (b)); 755s # break; 755s # case G_TYPE_UINT: 755s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 755s # break; 755s # case G_TYPE_INT64: 755s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 755s # break; 755s # case G_TYPE_UINT64: 755s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 755s # break; 755s # case G_TYPE_DOUBLE: 755s # { 755s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 755s # gdouble da = g_value_get_double (a); 755s # gdouble db = g_value_get_double (b); 755s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 755s # } 755s # break; 755s # case G_TYPE_STRING: 755s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 755s # break; 755s # case G_TYPE_VARIANT: 755s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 755s # break; 755s # default: 755s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 755s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 755s # else 755s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 755s # break; 755s # } 755s # return ret; 755s # } 755s # 755s # /* ------------------------------------------------------------------------ 755s # * Code for interface org.project.SignalingIface 755s # * ------------------------------------------------------------------------ 755s # */ 755s # 755s # /** 755s # * SECTION:OrgProjectSignalingIface 755s # * @title: OrgProjectSignalingIface 755s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 755s # * 755s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 755s # */ 755s # 755s # enum 755s # { 755s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 755s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 755s # }; 755s # 755s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 755s # 755s # /* ---- Introspection data for org.project.SignalingIface ---- */ 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SimpleSignal", 755s # NULL, 755s # NULL 755s # }, 755s # "simple-signal" 755s # }; 755s # 755s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 755s # { 755s # { 755s # -1, 755s # (gchar *) "arg_n", 755s # (gchar *) "n", 755s # NULL 755s # }, 755s # FALSE 755s # }; 755s # 755s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SingleArgSignalN", 755s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 755s # NULL 755s # }, 755s # "single-arg-signal-n" 755s # }; 755s # 755s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 755s # { 755s # { 755s # -1, 755s # (gchar *) "org.project.SignalingIface", 755s # NULL, 755s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 755s # NULL, 755s # NULL 755s # }, 755s # "org-project-signaling-iface", 755s # }; 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_interface_info: 755s # * 755s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 755s # * 755s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 755s # */ 755s # GDBusInterfaceInfo * 755s # org_project_signaling_iface_interface_info (void) 755s # { 755s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_override_properties: 755s # * @klass: The class structure for a #GObject derived class. 755s # * @property_id_begin: The property id to assign to the first overridden property. 755s # * 755s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 755s # * The properties are overridden in the order they are defined. 755s # * 755s # * Returns: The last property id. 755s # */ 755s # guint 755s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 755s # { 755s # return property_id_begin - 1; 755s # } 755s # 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_simple_signal ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__VOID (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__INT (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # 755s # /** 755s # * OrgProjectSignalingIface: 755s # * 755s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceIface: 755s # * @parent_iface: The parent interface. 755s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 755s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 755s # * 755s # * Virtual table for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 755s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 755s # 755s # static void 755s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # /* GObject signals for received D-Bus signals: */ 755s # /** 755s # * OrgProjectSignalingIface::simple-signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 755s # g_signal_new ("simple-signal", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_simple_signal, 755s # G_TYPE_NONE, 755s # 0); 755s # 755s # /** 755s # * OrgProjectSignalingIface::single-arg-signal-n: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_n: Argument. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 755s # g_signal_new ("single-arg-signal-n", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 755s # G_TYPE_NONE, 755s # 1, G_TYPE_INT); 755s # 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_simple_signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * Emits the "SimpleSignal" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_n: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_n: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalN" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_n ( 755s # OrgProjectSignalingIface *object, 755s # gint16 arg_arg_n) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxy: 755s # * 755s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxyClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceProxy. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceProxyPrivate 755s # { 755s # GData *qdata; 755s # }; 755s # 755s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_proxy_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 755s # g_datalist_clear (&proxy->priv->qdata); 755s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # const GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 755s # const gchar *sender_name G_GNUC_UNUSED, 755s # const gchar *signal_name, 755s # GVariant *parameters) 755s # { 755s # _ExtendedGDBusSignalInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # gsize n; 755s # guint signal_id; 755s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 755s # if (info == NULL) 755s # return; 755s # num_params = g_variant_n_children (parameters); 755s # paramv = g_new0 (GValue, num_params + 1); 755s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[0], proxy); 755s # g_variant_iter_init (&iter, parameters); 755s # n = 1; 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_signal_emitv (paramv, signal_id, 0, NULL); 755s # for (n = 0; n < num_params + 1; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 755s # GVariant *changed_properties, 755s # const gchar *const *invalidated_properties) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 755s # guint n; 755s # const gchar *key; 755s # GVariantIter *iter; 755s # _ExtendedGDBusPropertyInfo *info; 755s # g_variant_get (changed_properties, "a{sv}", &iter); 755s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 755s # g_datalist_remove_data (&proxy->priv->qdata, key); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # g_variant_iter_free (iter); 755s # for (n = 0; invalidated_properties[n] != NULL; n++) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 755s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 755s # #else 755s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 755s # #endif 755s # 755s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusProxyClass *proxy_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 755s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 755s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 755s # 755s # proxy_class = G_DBUS_PROXY_CLASS (klass); 755s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 755s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_sync: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_sync ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new_for_bus ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_sync: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_sync ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeleton: 755s # * 755s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeletonClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceSkeletonPrivate 755s # { 755s # GValue *properties; 755s # GList *changed_properties; 755s # GSource *changed_properties_idle_source; 755s # GMainContext *context; 755s # GMutex lock; 755s # }; 755s # 755s # static void 755s # _org_project_signaling_iface_skeleton_handle_method_call ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name, 755s # const gchar *method_name, 755s # GVariant *parameters, 755s # GDBusMethodInvocation *invocation, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # _ExtendedGDBusMethodInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # guint num_extra; 755s # gsize n; 755s # guint signal_id; 755s # GValue return_value = G_VALUE_INIT; 755s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 755s # g_assert (info != NULL); 755s # num_params = g_variant_n_children (parameters); 755s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 755s # n = 0; 755s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[n++], skeleton); 755s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 755s # g_value_set_object (¶mv[n++], invocation); 755s # if (info->pass_fdlist) 755s # { 755s # #ifdef G_OS_UNIX 755s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 755s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 755s # #else 755s # g_assert_not_reached (); 755s # #endif 755s # } 755s # g_variant_iter_init (&iter, parameters); 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_init (&return_value, G_TYPE_BOOLEAN); 755s # g_signal_emitv (paramv, signal_id, 0, &return_value); 755s # if (!g_value_get_boolean (&return_value)) 755s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 755s # g_value_unset (&return_value); 755s # for (n = 0; n < num_params + num_extra; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static GVariant * 755s # _org_project_signaling_iface_skeleton_handle_get_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # GVariant *ret; 755s # ret = NULL; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # g_value_init (&value, pspec->value_type); 755s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 755s # g_value_unset (&value); 755s # } 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _org_project_signaling_iface_skeleton_handle_set_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GVariant *variant, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # gboolean ret; 755s # ret = FALSE; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # if (info->use_gvariant) 755s # g_value_set_variant (&value, variant); 755s # else 755s # g_dbus_gvariant_to_gvalue (variant, &value); 755s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # g_value_unset (&value); 755s # ret = TRUE; 755s # } 755s # return ret; 755s # } 755s # 755s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 755s # { 755s # _org_project_signaling_iface_skeleton_handle_method_call, 755s # _org_project_signaling_iface_skeleton_handle_get_property, 755s # _org_project_signaling_iface_skeleton_handle_set_property, 755s # {NULL} 755s # }; 755s # 755s # static GDBusInterfaceInfo * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return org_project_signaling_iface_interface_info (); 755s # } 755s # 755s # static GDBusInterfaceVTable * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 755s # } 755s # 755s # static GVariant * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 755s # 755s # GVariantBuilder builder; 755s # guint n; 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 755s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #else 755s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #endif 755s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 755s # goto out; 755s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 755s # { 755s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 755s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 755s # { 755s # GVariant *value; 755s # 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); 755s # if (value != NULL) 755s # { 755s # g_variant_take_ref (value); 755s # g_variant_builder_add (&builder, "{sv}", info->name, value); 755s # g_variant_unref (value); 755s # } 755s # } 755s # } 755s # out: 755s # return g_variant_builder_end (&builder); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 755s # OrgProjectSignalingIface *object, 755s # gint16 arg_arg_n) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 755s # arg_arg_n)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_skeleton_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 755s # if (skeleton->priv->changed_properties_idle_source != NULL) 755s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 755s # g_main_context_unref (skeleton->priv->context); 755s # g_mutex_clear (&skeleton->priv->lock); 755s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 755s # #else 755s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 755s # #endif 755s # 755s # g_mutex_init (&skeleton->priv->lock); 755s # skeleton->priv->context = g_main_context_ref_thread_default (); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusInterfaceSkeletonClass *skeleton_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 755s # 755s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 755s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 755s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 755s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 755s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 755s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_skeleton_new: 755s # * 755s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_skeleton_new (void) 755s # { 755s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 755s # } 755s # Error: 755s # 755s # /tmp/tmpcyoquvv4/tmps5qpfabw.xml: 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcyoquvv4/tmps5qpfabw.xml', '--output', '-', '--body'] 755s # Return code: 0 755s # Output: 755s # /* 755s # * This file is generated by gdbus-codegen, do not modify it. 755s # * 755s # * The license of this code is the same as for the D-Bus interface description 755s # * it was derived from. Note that it links to GLib, so must comply with the 755s # * LGPL linking clauses. 755s # */ 755s # 755s # #ifdef HAVE_CONFIG_H 755s # # include "config.h" 755s # #endif 755s # 755s # #include 755s # #ifdef G_OS_UNIX 755s # # include 755s # #endif 755s # 755s # #ifdef G_ENABLE_DEBUG 755s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 755s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 755s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 755s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 755s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 755s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 755s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 755s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 755s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 755s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 755s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 755s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 755s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 755s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 755s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 755s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 755s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 755s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 755s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 755s # #else /* !G_ENABLE_DEBUG */ 755s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 755s # * Do not access GValues directly in your code. Instead, use the 755s # * g_value_get_*() functions 755s # */ 755s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 755s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 755s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 755s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 755s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 755s # #endif /* !G_ENABLE_DEBUG */ 755s # 755s # typedef struct 755s # { 755s # GDBusArgInfo parent_struct; 755s # gboolean use_gvariant; 755s # } _ExtendedGDBusArgInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusMethodInfo parent_struct; 755s # const gchar *signal_name; 755s # gboolean pass_fdlist; 755s # } _ExtendedGDBusMethodInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusSignalInfo parent_struct; 755s # const gchar *signal_name; 755s # } _ExtendedGDBusSignalInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusPropertyInfo parent_struct; 755s # const gchar *hyphen_name; 755s # guint use_gvariant : 1; 755s # guint emits_changed_signal : 1; 755s # } _ExtendedGDBusPropertyInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusInterfaceInfo parent_struct; 755s # const gchar *hyphen_name; 755s # } _ExtendedGDBusInterfaceInfo; 755s # 755s # typedef struct 755s # { 755s # const _ExtendedGDBusPropertyInfo *info; 755s # guint prop_id; 755s # GValue orig_value; /* the value before the change */ 755s # } ChangedProperty; 755s # 755s # static void 755s # _changed_property_free (ChangedProperty *data) 755s # { 755s # g_value_unset (&data->orig_value); 755s # g_free (data); 755s # } 755s # 755s # static gboolean 755s # _g_strv_equal0 (gchar **a, gchar **b) 755s # { 755s # gboolean ret = FALSE; 755s # guint n; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # if (g_strv_length (a) != g_strv_length (b)) 755s # goto out; 755s # for (n = 0; a[n] != NULL; n++) 755s # if (g_strcmp0 (a[n], b[n]) != 0) 755s # goto out; 755s # ret = TRUE; 755s # out: 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _g_variant_equal0 (GVariant *a, GVariant *b) 755s # { 755s # gboolean ret = FALSE; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # ret = g_variant_equal (a, b); 755s # out: 755s # return ret; 755s # } 755s # 755s # G_GNUC_UNUSED static gboolean 755s # _g_value_equal (const GValue *a, const GValue *b) 755s # { 755s # gboolean ret = FALSE; 755s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 755s # switch (G_VALUE_TYPE (a)) 755s # { 755s # case G_TYPE_BOOLEAN: 755s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 755s # break; 755s # case G_TYPE_UCHAR: 755s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 755s # break; 755s # case G_TYPE_INT: 755s # ret = (g_value_get_int (a) == g_value_get_int (b)); 755s # break; 755s # case G_TYPE_UINT: 755s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 755s # break; 755s # case G_TYPE_INT64: 755s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 755s # break; 755s # case G_TYPE_UINT64: 755s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 755s # break; 755s # case G_TYPE_DOUBLE: 755s # { 755s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 755s # gdouble da = g_value_get_double (a); 755s # gdouble db = g_value_get_double (b); 755s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 755s # } 755s # break; 755s # case G_TYPE_STRING: 755s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 755s # break; 755s # case G_TYPE_VARIANT: 755s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 755s # break; 755s # default: 755s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 755s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 755s # else 755s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 755s # break; 755s # } 755s # return ret; 755s # } 755s # 755s # /* ------------------------------------------------------------------------ 755s # * Code for interface org.project.SignalingIface 755s # * ------------------------------------------------------------------------ 755s # */ 755s # 755s # /** 755s # * SECTION:OrgProjectSignalingIface 755s # * @title: OrgProjectSignalingIface 755s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 755s # * 755s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 755s # */ 755s # 755s # enum 755s # { 755s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 755s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 755s # }; 755s # 755s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 755s # 755s # /* ---- Introspection data for org.project.SignalingIface ---- */ 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SimpleSignal", 755s # NULL, 755s # NULL 755s # }, 755s # "simple-signal" 755s # }; 755s # 755s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 755s # { 755s # { 755s # -1, 755s # (gchar *) "arg_q", 755s # (gchar *) "q", 755s # NULL 755s # }, 755s # FALSE 755s # }; 755s # 755s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SingleArgSignalQ", 755s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 755s # NULL 755s # }, 755s # "single-arg-signal-q" 755s # }; 755s # 755s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 755s # { 755s # { 755s # -1, 755s # (gchar *) "org.project.SignalingIface", 755s # NULL, 755s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 755s # NULL, 755s # NULL 755s # }, 755s # "org-project-signaling-iface", 755s # }; 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_interface_info: 755s # * 755s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 755s # * 755s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 755s # */ 755s # GDBusInterfaceInfo * 755s # org_project_signaling_iface_interface_info (void) 755s # { 755s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_override_properties: 755s # * @klass: The class structure for a #GObject derived class. 755s # * @property_id_begin: The property id to assign to the first overridden property. 755s # * 755s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 755s # * The properties are overridden in the order they are defined. 755s # * 755s # * Returns: The last property id. 755s # */ 755s # guint 755s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 755s # { 755s # return property_id_begin - 1; 755s # } 755s # 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_simple_signal ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__VOID (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__UINT (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # 755s # /** 755s # * OrgProjectSignalingIface: 755s # * 755s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceIface: 755s # * @parent_iface: The parent interface. 755s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 755s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 755s # * 755s # * Virtual table for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 755s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 755s # 755s # static void 755s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # /* GObject signals for received D-Bus signals: */ 755s # /** 755s # * OrgProjectSignalingIface::simple-signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 755s # g_signal_new ("simple-signal", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_simple_signal, 755s # G_TYPE_NONE, 755s # 0); 755s # 755s # /** 755s # * OrgProjectSignalingIface::single-arg-signal-q: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_q: Argument. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 755s # g_signal_new ("single-arg-signal-q", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 755s # G_TYPE_NONE, 755s # 1, G_TYPE_UINT); 755s # 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_simple_signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * Emits the "SimpleSignal" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_q: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_q: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalQ" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_q ( 755s # OrgProjectSignalingIface *object, 755s # guint16 arg_arg_q) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxy: 755s # * 755s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxyClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceProxy. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceProxyPrivate 755s # { 755s # GData *qdata; 755s # }; 755s # 755s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_proxy_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 755s # g_datalist_clear (&proxy->priv->qdata); 755s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # const GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 755s # const gchar *sender_name G_GNUC_UNUSED, 755s # const gchar *signal_name, 755s # GVariant *parameters) 755s # { 755s # _ExtendedGDBusSignalInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # gsize n; 755s # guint signal_id; 755s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 755s # if (info == NULL) 755s # return; 755s # num_params = g_variant_n_children (parameters); 755s # paramv = g_new0 (GValue, num_params + 1); 755s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[0], proxy); 755s # g_variant_iter_init (&iter, parameters); 755s # n = 1; 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_signal_emitv (paramv, signal_id, 0, NULL); 755s # for (n = 0; n < num_params + 1; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 755s # GVariant *changed_properties, 755s # const gchar *const *invalidated_properties) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 755s # guint n; 755s # const gchar *key; 755s # GVariantIter *iter; 755s # _ExtendedGDBusPropertyInfo *info; 755s # g_variant_get (changed_properties, "a{sv}", &iter); 755s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 755s # g_datalist_remove_data (&proxy->priv->qdata, key); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # g_variant_iter_free (iter); 755s # for (n = 0; invalidated_properties[n] != NULL; n++) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 755s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 755s # #else 755s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 755s # #endif 755s # 755s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusProxyClass *proxy_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 755s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 755s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 755s # 755s # proxy_class = G_DBUS_PROXY_CLASS (klass); 755s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 755s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_sync: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_sync ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new_for_bus ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_sync: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_sync ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeleton: 755s # * 755s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeletonClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceSkeletonPrivate 755s # { 755s # GValue *properties; 755s # GList *changed_properties; 755s # GSource *changed_properties_idle_source; 755s # GMainContext *context; 755s # GMutex lock; 755s # }; 755s # 755s # static void 755s # _org_project_signaling_iface_skeleton_handle_method_call ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name, 755s # const gchar *method_name, 755s # GVariant *parameters, 755s # GDBusMethodInvocation *invocation, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # _ExtendedGDBusMethodInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # guint num_extra; 755s # gsize n; 755s # guint signal_id; 755s # GValue return_value = G_VALUE_INIT; 755s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 755s # g_assert (info != NULL); 755s # num_params = g_variant_n_children (parameters); 755s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 755s # n = 0; 755s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[n++], skeleton); 755s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 755s # g_value_set_object (¶mv[n++], invocation); 755s # if (info->pass_fdlist) 755s # { 755s # #ifdef G_OS_UNIX 755s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 755s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 755s # #else 755s # g_assert_not_reached (); 755s # #endif 755s # } 755s # g_variant_iter_init (&iter, parameters); 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_init (&return_value, G_TYPE_BOOLEAN); 755s # g_signal_emitv (paramv, signal_id, 0, &return_value); 755s # if (!g_value_get_boolean (&return_value)) 755s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 755s # g_value_unset (&return_value); 755s # for (n = 0; n < num_params + num_extra; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static GVariant * 755s # _org_project_signaling_iface_skeleton_handle_get_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # GVariant *ret; 755s # ret = NULL; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # g_value_init (&value, pspec->value_type); 755s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 755s # g_value_unset (&value); 755s # } 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _org_project_signaling_iface_skeleton_handle_set_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GVariant *variant, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # gboolean ret; 755s # ret = FALSE; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # if (info->use_gvariant) 755s # g_value_set_variant (&value, variant); 755s # else 755s # g_dbus_gvariant_to_gvalue (variant, &value); 755s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # g_value_unset (&value); 755s # ret = TRUE; 755s # } 755s # return ret; 755s # } 755s # 755s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 755s # { 755s # _org_project_signaling_iface_skeleton_handle_method_call, 755s # _org_project_signaling_iface_skeleton_handle_get_property, 755s # _org_project_signaling_iface_skeleton_handle_set_property, 755s # {NULL} 755s # }; 755s # 755s # static GDBusInterfaceInfo * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return org_project_signaling_iface_interface_info (); 755s # } 755s # 755s # static GDBusInterfaceVTable * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 755s # } 755s # 755s # static GVariant * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 755s # 755s # GVariantBuilder builder; 755s # guint n; 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 755s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #else 755s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #endif 755s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 755s # goto out; 755s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 755s # { 755s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 755s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 755s # { 755s # GVariant *value; 755s # 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); 755s # if (value != NULL) 755s # { 755s # g_variant_take_ref (value); 755s # g_variant_builder_add (&builder, "{sv}", info->name, value); 755s # g_variant_unref (value); 755s # } 755s # } 755s # } 755s # out: 755s # return g_variant_builder_end (&builder); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 755s # OrgProjectSignalingIface *object, 755s # guint16 arg_arg_q) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 755s # arg_arg_q)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_skeleton_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 755s # if (skeleton->priv->changed_properties_idle_source != NULL) 755s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 755s # g_main_context_unref (skeleton->priv->context); 755s # g_mutex_clear (&skeleton->priv->lock); 755s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 755s # #else 755s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 755s # #endif 755s # 755s # g_mutex_init (&skeleton->priv->lock); 755s # skeleton->priv->context = g_main_context_ref_thread_default (); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusInterfaceSkeletonClass *skeleton_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 755s # 755s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 755s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 755s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 755s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 755s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 755s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_skeleton_new: 755s # * 755s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_skeleton_new (void) 755s # { 755s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 755s # } 755s # Error: 755s # 755s # /tmp/tmpcyoquvv4/tmpo__zdv0b.xml: 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcyoquvv4/tmpo__zdv0b.xml', '--output', '-', '--body'] 755s # Return code: 0 755s # Output: 755s # /* 755s # * This file is generated by gdbus-codegen, do not modify it. 755s # * 755s # * The license of this code is the same as for the D-Bus interface description 755s # * it was derived from. Note that it links to GLib, so must comply with the 755s # * LGPL linking clauses. 755s # */ 755s # 755s # #ifdef HAVE_CONFIG_H 755s # # include "config.h" 755s # #endif 755s # 755s # #include 755s # #ifdef G_OS_UNIX 755s # # include 755s # #endif 755s # 755s # #ifdef G_ENABLE_DEBUG 755s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 755s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 755s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 755s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 755s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 755s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 755s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 755s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 755s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 755s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 755s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 755s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 755s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 755s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 755s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 755s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 755s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 755s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 755s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 755s # #else /* !G_ENABLE_DEBUG */ 755s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 755s # * Do not access GValues directly in your code. Instead, use the 755s # * g_value_get_*() functions 755s # */ 755s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 755s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 755s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 755s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 755s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 755s # #endif /* !G_ENABLE_DEBUG */ 755s # 755s # typedef struct 755s # { 755s # GDBusArgInfo parent_struct; 755s # gboolean use_gvariant; 755s # } _ExtendedGDBusArgInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusMethodInfo parent_struct; 755s # const gchar *signal_name; 755s # gboolean pass_fdlist; 755s # } _ExtendedGDBusMethodInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusSignalInfo parent_struct; 755s # const gchar *signal_name; 755s # } _ExtendedGDBusSignalInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusPropertyInfo parent_struct; 755s # const gchar *hyphen_name; 755s # guint use_gvariant : 1; 755s # guint emits_changed_signal : 1; 755s # } _ExtendedGDBusPropertyInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusInterfaceInfo parent_struct; 755s # const gchar *hyphen_name; 755s # } _ExtendedGDBusInterfaceInfo; 755s # 755s # typedef struct 755s # { 755s # const _ExtendedGDBusPropertyInfo *info; 755s # guint prop_id; 755s # GValue orig_value; /* the value before the change */ 755s # } ChangedProperty; 755s # 755s # static void 755s # _changed_property_free (ChangedProperty *data) 755s # { 755s # g_value_unset (&data->orig_value); 755s # g_free (data); 755s # } 755s # 755s # static gboolean 755s # _g_strv_equal0 (gchar **a, gchar **b) 755s # { 755s # gboolean ret = FALSE; 755s # guint n; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # if (g_strv_length (a) != g_strv_length (b)) 755s # goto out; 755s # for (n = 0; a[n] != NULL; n++) 755s # if (g_strcmp0 (a[n], b[n]) != 0) 755s # goto out; 755s # ret = TRUE; 755s # out: 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _g_variant_equal0 (GVariant *a, GVariant *b) 755s # { 755s # gboolean ret = FALSE; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # ret = g_variant_equal (a, b); 755s # out: 755s # return ret; 755s # } 755s # 755s # G_GNUC_UNUSED static gboolean 755s # _g_value_equal (const GValue *a, const GValue *b) 755s # { 755s # gboolean ret = FALSE; 755s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 755s # switch (G_VALUE_TYPE (a)) 755s # { 755s # case G_TYPE_BOOLEAN: 755s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 755s # break; 755s # case G_TYPE_UCHAR: 755s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 755s # break; 755s # case G_TYPE_INT: 755s # ret = (g_value_get_int (a) == g_value_get_int (b)); 755s # break; 755s # case G_TYPE_UINT: 755s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 755s # break; 755s # case G_TYPE_INT64: 755s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 755s # break; 755s # case G_TYPE_UINT64: 755s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 755s # break; 755s # case G_TYPE_DOUBLE: 755s # { 755s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 755s # gdouble da = g_value_get_double (a); 755s # gdouble db = g_value_get_double (b); 755s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 755s # } 755s # break; 755s # case G_TYPE_STRING: 755s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 755s # break; 755s # case G_TYPE_VARIANT: 755s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 755s # break; 755s # default: 755s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 755s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 755s # else 755s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 755s # break; 755s # } 755s # return ret; 755s # } 755s # 755s # /* ------------------------------------------------------------------------ 755s # * Code for interface org.project.SignalingIface 755s # * ------------------------------------------------------------------------ 755s # */ 755s # 755s # /** 755s # * SECTION:OrgProjectSignalingIface 755s # * @title: OrgProjectSignalingIface 755s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 755s # * 755s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 755s # */ 755s # 755s # enum 755s # { 755s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 755s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 755s # }; 755s # 755s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 755s # 755s # /* ---- Introspection data for org.project.SignalingIface ---- */ 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SimpleSignal", 755s # NULL, 755s # NULL 755s # }, 755s # "simple-signal" 755s # }; 755s # 755s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 755s # { 755s # { 755s # -1, 755s # (gchar *) "arg_i", 755s # (gchar *) "i", 755s # NULL 755s # }, 755s # FALSE 755s # }; 755s # 755s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SingleArgSignalI", 755s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 755s # NULL 755s # }, 755s # "single-arg-signal-i" 755s # }; 755s # 755s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 755s # { 755s # { 755s # -1, 755s # (gchar *) "org.project.SignalingIface", 755s # NULL, 755s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 755s # NULL, 755s # NULL 755s # }, 755s # "org-project-signaling-iface", 755s # }; 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_interface_info: 755s # * 755s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 755s # * 755s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 755s # */ 755s # GDBusInterfaceInfo * 755s # org_project_signaling_iface_interface_info (void) 755s # { 755s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_override_properties: 755s # * @klass: The class structure for a #GObject derived class. 755s # * @property_id_begin: The property id to assign to the first overridden property. 755s # * 755s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 755s # * The properties are overridden in the order they are defined. 755s # * 755s # * Returns: The last property id. 755s # */ 755s # guint 755s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 755s # { 755s # return property_id_begin - 1; 755s # } 755s # 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_simple_signal ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__VOID (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__INT (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # 755s # /** 755s # * OrgProjectSignalingIface: 755s # * 755s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceIface: 755s # * @parent_iface: The parent interface. 755s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 755s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 755s # * 755s # * Virtual table for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 755s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 755s # 755s # static void 755s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # /* GObject signals for received D-Bus signals: */ 755s # /** 755s # * OrgProjectSignalingIface::simple-signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 755s # g_signal_new ("simple-signal", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_simple_signal, 755s # G_TYPE_NONE, 755s # 0); 755s # 755s # /** 755s # * OrgProjectSignalingIface::single-arg-signal-i: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_i: Argument. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 755s # g_signal_new ("single-arg-signal-i", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 755s # G_TYPE_NONE, 755s # 1, G_TYPE_INT); 755s # 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_simple_signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * Emits the "SimpleSignal" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_i: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_i: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalI" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_i ( 755s # OrgProjectSignalingIface *object, 755s # gint arg_arg_i) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxy: 755s # * 755s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxyClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceProxy. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceProxyPrivate 755s # { 755s # GData *qdata; 755s # }; 755s # 755s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_proxy_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 755s # g_datalist_clear (&proxy->priv->qdata); 755s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # const GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 755s # const gchar *sender_name G_GNUC_UNUSED, 755s # const gchar *signal_name, 755s # GVariant *parameters) 755s # { 755s # _ExtendedGDBusSignalInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # gsize n; 755s # guint signal_id; 755s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 755s # if (info == NULL) 755s # return; 755s # num_params = g_variant_n_children (parameters); 755s # paramv = g_new0 (GValue, num_params + 1); 755s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[0], proxy); 755s # g_variant_iter_init (&iter, parameters); 755s # n = 1; 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_signal_emitv (paramv, signal_id, 0, NULL); 755s # for (n = 0; n < num_params + 1; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 755s # GVariant *changed_properties, 755s # const gchar *const *invalidated_properties) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 755s # guint n; 755s # const gchar *key; 755s # GVariantIter *iter; 755s # _ExtendedGDBusPropertyInfo *info; 755s # g_variant_get (changed_properties, "a{sv}", &iter); 755s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 755s # g_datalist_remove_data (&proxy->priv->qdata, key); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # g_variant_iter_free (iter); 755s # for (n = 0; invalidated_properties[n] != NULL; n++) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 755s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 755s # #else 755s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 755s # #endif 755s # 755s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusProxyClass *proxy_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 755s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 755s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 755s # 755s # proxy_class = G_DBUS_PROXY_CLASS (klass); 755s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 755s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_sync: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_sync ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new_for_bus ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_sync: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_sync ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeleton: 755s # * 755s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeletonClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceSkeletonPrivate 755s # { 755s # GValue *properties; 755s # GList *changed_properties; 755s # GSource *changed_properties_idle_source; 755s # GMainContext *context; 755s # GMutex lock; 755s # }; 755s # 755s # static void 755s # _org_project_signaling_iface_skeleton_handle_method_call ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name, 755s # const gchar *method_name, 755s # GVariant *parameters, 755s # GDBusMethodInvocation *invocation, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # _ExtendedGDBusMethodInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # guint num_extra; 755s # gsize n; 755s # guint signal_id; 755s # GValue return_value = G_VALUE_INIT; 755s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 755s # g_assert (info != NULL); 755s # num_params = g_variant_n_children (parameters); 755s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 755s # n = 0; 755s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[n++], skeleton); 755s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 755s # g_value_set_object (¶mv[n++], invocation); 755s # if (info->pass_fdlist) 755s # { 755s # #ifdef G_OS_UNIX 755s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 755s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 755s # #else 755s # g_assert_not_reached (); 755s # #endif 755s # } 755s # g_variant_iter_init (&iter, parameters); 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_init (&return_value, G_TYPE_BOOLEAN); 755s # g_signal_emitv (paramv, signal_id, 0, &return_value); 755s # if (!g_value_get_boolean (&return_value)) 755s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 755s # g_value_unset (&return_value); 755s # for (n = 0; n < num_params + num_extra; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static GVariant * 755s # _org_project_signaling_iface_skeleton_handle_get_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # GVariant *ret; 755s # ret = NULL; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # g_value_init (&value, pspec->value_type); 755s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 755s # g_value_unset (&value); 755s # } 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _org_project_signaling_iface_skeleton_handle_set_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GVariant *variant, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # gboolean ret; 755s # ret = FALSE; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # if (info->use_gvariant) 755s # g_value_set_variant (&value, variant); 755s # else 755s # g_dbus_gvariant_to_gvalue (variant, &value); 755s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # g_value_unset (&value); 755s # ret = TRUE; 755s # } 755s # return ret; 755s # } 755s # 755s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 755s # { 755s # _org_project_signaling_iface_skeleton_handle_method_call, 755s # _org_project_signaling_iface_skeleton_handle_get_property, 755s # _org_project_signaling_iface_skeleton_handle_set_property, 755s # {NULL} 755s # }; 755s # 755s # static GDBusInterfaceInfo * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return org_project_signaling_iface_interface_info (); 755s # } 755s # 755s # static GDBusInterfaceVTable * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 755s # } 755s # 755s # static GVariant * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 755s # 755s # GVariantBuilder builder; 755s # guint n; 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 755s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #else 755s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #endif 755s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 755s # goto out; 755s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 755s # { 755s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 755s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 755s # { 755s # GVariant *value; 755s # 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); 755s # if (value != NULL) 755s # { 755s # g_variant_take_ref (value); 755s # g_variant_builder_add (&builder, "{sv}", info->name, value); 755s # g_variant_unref (value); 755s # } 755s # } 755s # } 755s # out: 755s # return g_variant_builder_end (&builder); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 755s # OrgProjectSignalingIface *object, 755s # gint arg_arg_i) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 755s # arg_arg_i)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_skeleton_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 755s # if (skeleton->priv->changed_properties_idle_source != NULL) 755s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 755s # g_main_context_unref (skeleton->priv->context); 755s # g_mutex_clear (&skeleton->priv->lock); 755s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 755s # #else 755s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 755s # #endif 755s # 755s # g_mutex_init (&skeleton->priv->lock); 755s # skeleton->priv->context = g_main_context_ref_thread_default (); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusInterfaceSkeletonClass *skeleton_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 755s # 755s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 755s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 755s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 755s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 755s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 755s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_skeleton_new: 755s # * 755s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_skeleton_new (void) 755s # { 755s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 755s # } 755s # Error: 755s # 755s # /tmp/tmpcyoquvv4/tmp4dcirxf_.xml: 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcyoquvv4/tmp4dcirxf_.xml', '--output', '-', '--body'] 755s # Return code: 0 755s # Output: 755s # /* 755s # * This file is generated by gdbus-codegen, do not modify it. 755s # * 755s # * The license of this code is the same as for the D-Bus interface description 755s # * it was derived from. Note that it links to GLib, so must comply with the 755s # * LGPL linking clauses. 755s # */ 755s # 755s # #ifdef HAVE_CONFIG_H 755s # # include "config.h" 755s # #endif 755s # 755s # #include 755s # #ifdef G_OS_UNIX 755s # # include 755s # #endif 755s # 755s # #ifdef G_ENABLE_DEBUG 755s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 755s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 755s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 755s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 755s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 755s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 755s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 755s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 755s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 755s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 755s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 755s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 755s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 755s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 755s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 755s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 755s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 755s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 755s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 755s # #else /* !G_ENABLE_DEBUG */ 755s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 755s # * Do not access GValues directly in your code. Instead, use the 755s # * g_value_get_*() functions 755s # */ 755s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 755s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 755s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 755s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 755s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 755s # #endif /* !G_ENABLE_DEBUG */ 755s # 755s # typedef struct 755s # { 755s # GDBusArgInfo parent_struct; 755s # gboolean use_gvariant; 755s # } _ExtendedGDBusArgInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusMethodInfo parent_struct; 755s # const gchar *signal_name; 755s # gboolean pass_fdlist; 755s # } _ExtendedGDBusMethodInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusSignalInfo parent_struct; 755s # const gchar *signal_name; 755s # } _ExtendedGDBusSignalInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusPropertyInfo parent_struct; 755s # const gchar *hyphen_name; 755s # guint use_gvariant : 1; 755s # guint emits_changed_signal : 1; 755s # } _ExtendedGDBusPropertyInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusInterfaceInfo parent_struct; 755s # const gchar *hyphen_name; 755s # } _ExtendedGDBusInterfaceInfo; 755s # 755s # typedef struct 755s # { 755s # const _ExtendedGDBusPropertyInfo *info; 755s # guint prop_id; 755s # GValue orig_value; /* the value before the change */ 755s # } ChangedProperty; 755s # 755s # static void 755s # _changed_property_free (ChangedProperty *data) 755s # { 755s # g_value_unset (&data->orig_value); 755s # g_free (data); 755s # } 755s # 755s # static gboolean 755s # _g_strv_equal0 (gchar **a, gchar **b) 755s # { 755s # gboolean ret = FALSE; 755s # guint n; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # if (g_strv_length (a) != g_strv_length (b)) 755s # goto out; 755s # for (n = 0; a[n] != NULL; n++) 755s # if (g_strcmp0 (a[n], b[n]) != 0) 755s # goto out; 755s # ret = TRUE; 755s # out: 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _g_variant_equal0 (GVariant *a, GVariant *b) 755s # { 755s # gboolean ret = FALSE; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # ret = g_variant_equal (a, b); 755s # out: 755s # return ret; 755s # } 755s # 755s # G_GNUC_UNUSED static gboolean 755s # _g_value_equal (const GValue *a, const GValue *b) 755s # { 755s # gboolean ret = FALSE; 755s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 755s # switch (G_VALUE_TYPE (a)) 755s # { 755s # case G_TYPE_BOOLEAN: 755s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 755s # break; 755s # case G_TYPE_UCHAR: 755s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 755s # break; 755s # case G_TYPE_INT: 755s # ret = (g_value_get_int (a) == g_value_get_int (b)); 755s # break; 755s # case G_TYPE_UINT: 755s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 755s # break; 755s # case G_TYPE_INT64: 755s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 755s # break; 755s # case G_TYPE_UINT64: 755s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 755s # break; 755s # case G_TYPE_DOUBLE: 755s # { 755s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 755s # gdouble da = g_value_get_double (a); 755s # gdouble db = g_value_get_double (b); 755s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 755s # } 755s # break; 755s # case G_TYPE_STRING: 755s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 755s # break; 755s # case G_TYPE_VARIANT: 755s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 755s # break; 755s # default: 755s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 755s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 755s # else 755s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 755s # break; 755s # } 755s # return ret; 755s # } 755s # 755s # /* ------------------------------------------------------------------------ 755s # * Code for interface org.project.SignalingIface 755s # * ------------------------------------------------------------------------ 755s # */ 755s # 755s # /** 755s # * SECTION:OrgProjectSignalingIface 755s # * @title: OrgProjectSignalingIface 755s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 755s # * 755s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 755s # */ 755s # 755s # enum 755s # { 755s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 755s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 755s # }; 755s # 755s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 755s # 755s # /* ---- Introspection data for org.project.SignalingIface ---- */ 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SimpleSignal", 755s # NULL, 755s # NULL 755s # }, 755s # "simple-signal" 755s # }; 755s # 755s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 755s # { 755s # { 755s # -1, 755s # (gchar *) "arg_u", 755s # (gchar *) "u", 755s # NULL 755s # }, 755s # FALSE 755s # }; 755s # 755s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SingleArgSignalU", 755s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 755s # NULL 755s # }, 755s # "single-arg-signal-u" 755s # }; 755s # 755s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 755s # { 755s # { 755s # -1, 755s # (gchar *) "org.project.SignalingIface", 755s # NULL, 755s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 755s # NULL, 755s # NULL 755s # }, 755s # "org-project-signaling-iface", 755s # }; 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_interface_info: 755s # * 755s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 755s # * 755s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 755s # */ 755s # GDBusInterfaceInfo * 755s # org_project_signaling_iface_interface_info (void) 755s # { 755s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_override_properties: 755s # * @klass: The class structure for a #GObject derived class. 755s # * @property_id_begin: The property id to assign to the first overridden property. 755s # * 755s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 755s # * The properties are overridden in the order they are defined. 755s # * 755s # * Returns: The last property id. 755s # */ 755s # guint 755s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 755s # { 755s # return property_id_begin - 1; 755s # } 755s # 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_simple_signal ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__VOID (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__UINT (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # 755s # /** 755s # * OrgProjectSignalingIface: 755s # * 755s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceIface: 755s # * @parent_iface: The parent interface. 755s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 755s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 755s # * 755s # * Virtual table for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 755s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 755s # 755s # static void 755s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # /* GObject signals for received D-Bus signals: */ 755s # /** 755s # * OrgProjectSignalingIface::simple-signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 755s # g_signal_new ("simple-signal", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_simple_signal, 755s # G_TYPE_NONE, 755s # 0); 755s # 755s # /** 755s # * OrgProjectSignalingIface::single-arg-signal-u: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_u: Argument. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 755s # g_signal_new ("single-arg-signal-u", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 755s # G_TYPE_NONE, 755s # 1, G_TYPE_UINT); 755s # 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_simple_signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * Emits the "SimpleSignal" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_u: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_u: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalU" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_u ( 755s # OrgProjectSignalingIface *object, 755s # guint arg_arg_u) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxy: 755s # * 755s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxyClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceProxy. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceProxyPrivate 755s # { 755s # GData *qdata; 755s # }; 755s # 755s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_proxy_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 755s # g_datalist_clear (&proxy->priv->qdata); 755s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # const GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 755s # const gchar *sender_name G_GNUC_UNUSED, 755s # const gchar *signal_name, 755s # GVariant *parameters) 755s # { 755s # _ExtendedGDBusSignalInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # gsize n; 755s # guint signal_id; 755s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 755s # if (info == NULL) 755s # return; 755s # num_params = g_variant_n_children (parameters); 755s # paramv = g_new0 (GValue, num_params + 1); 755s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[0], proxy); 755s # g_variant_iter_init (&iter, parameters); 755s # n = 1; 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_signal_emitv (paramv, signal_id, 0, NULL); 755s # for (n = 0; n < num_params + 1; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 755s # GVariant *changed_properties, 755s # const gchar *const *invalidated_properties) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 755s # guint n; 755s # const gchar *key; 755s # GVariantIter *iter; 755s # _ExtendedGDBusPropertyInfo *info; 755s # g_variant_get (changed_properties, "a{sv}", &iter); 755s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 755s # g_datalist_remove_data (&proxy->priv->qdata, key); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # g_variant_iter_free (iter); 755s # for (n = 0; invalidated_properties[n] != NULL; n++) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 755s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 755s # #else 755s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 755s # #endif 755s # 755s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusProxyClass *proxy_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 755s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 755s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 755s # 755s # proxy_class = G_DBUS_PROXY_CLASS (klass); 755s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 755s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_sync: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_sync ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new_for_bus ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_sync: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_sync ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeleton: 755s # * 755s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeletonClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceSkeletonPrivate 755s # { 755s # GValue *properties; 755s # GList *changed_properties; 755s # GSource *changed_properties_idle_source; 755s # GMainContext *context; 755s # GMutex lock; 755s # }; 755s # 755s # static void 755s # _org_project_signaling_iface_skeleton_handle_method_call ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name, 755s # const gchar *method_name, 755s # GVariant *parameters, 755s # GDBusMethodInvocation *invocation, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # _ExtendedGDBusMethodInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # guint num_extra; 755s # gsize n; 755s # guint signal_id; 755s # GValue return_value = G_VALUE_INIT; 755s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 755s # g_assert (info != NULL); 755s # num_params = g_variant_n_children (parameters); 755s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 755s # n = 0; 755s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[n++], skeleton); 755s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 755s # g_value_set_object (¶mv[n++], invocation); 755s # if (info->pass_fdlist) 755s # { 755s # #ifdef G_OS_UNIX 755s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 755s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 755s # #else 755s # g_assert_not_reached (); 755s # #endif 755s # } 755s # g_variant_iter_init (&iter, parameters); 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_init (&return_value, G_TYPE_BOOLEAN); 755s # g_signal_emitv (paramv, signal_id, 0, &return_value); 755s # if (!g_value_get_boolean (&return_value)) 755s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 755s # g_value_unset (&return_value); 755s # for (n = 0; n < num_params + num_extra; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static GVariant * 755s # _org_project_signaling_iface_skeleton_handle_get_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # GVariant *ret; 755s # ret = NULL; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # g_value_init (&value, pspec->value_type); 755s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 755s # g_value_unset (&value); 755s # } 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _org_project_signaling_iface_skeleton_handle_set_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GVariant *variant, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # gboolean ret; 755s # ret = FALSE; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # if (info->use_gvariant) 755s # g_value_set_variant (&value, variant); 755s # else 755s # g_dbus_gvariant_to_gvalue (variant, &value); 755s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # g_value_unset (&value); 755s # ret = TRUE; 755s # } 755s # return ret; 755s # } 755s # 755s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 755s # { 755s # _org_project_signaling_iface_skeleton_handle_method_call, 755s # _org_project_signaling_iface_skeleton_handle_get_property, 755s # _org_project_signaling_iface_skeleton_handle_set_property, 755s # {NULL} 755s # }; 755s # 755s # static GDBusInterfaceInfo * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return org_project_signaling_iface_interface_info (); 755s # } 755s # 755s # static GDBusInterfaceVTable * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 755s # } 755s # 755s # static GVariant * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 755s # 755s # GVariantBuilder builder; 755s # guint n; 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 755s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #else 755s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #endif 755s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 755s # goto out; 755s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 755s # { 755s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 755s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 755s # { 755s # GVariant *value; 755s # 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); 755s # if (value != NULL) 755s # { 755s # g_variant_take_ref (value); 755s # g_variant_builder_add (&builder, "{sv}", info->name, value); 755s # g_variant_unref (value); 755s # } 755s # } 755s # } 755s # out: 755s # return g_variant_builder_end (&builder); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 755s # OrgProjectSignalingIface *object, 755s # guint arg_arg_u) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 755s # arg_arg_u)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_skeleton_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 755s # if (skeleton->priv->changed_properties_idle_source != NULL) 755s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 755s # g_main_context_unref (skeleton->priv->context); 755s # g_mutex_clear (&skeleton->priv->lock); 755s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 755s # #else 755s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 755s # #endif 755s # 755s # g_mutex_init (&skeleton->priv->lock); 755s # skeleton->priv->context = g_main_context_ref_thread_default (); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusInterfaceSkeletonClass *skeleton_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 755s # 755s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 755s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 755s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 755s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 755s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 755s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_skeleton_new: 755s # * 755s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_skeleton_new (void) 755s # { 755s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 755s # } 755s # Error: 755s # 755s # /tmp/tmpcyoquvv4/tmph1q09art.xml: 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcyoquvv4/tmph1q09art.xml', '--output', '-', '--body'] 755s # Return code: 0 755s # Output: 755s # /* 755s # * This file is generated by gdbus-codegen, do not modify it. 755s # * 755s # * The license of this code is the same as for the D-Bus interface description 755s # * it was derived from. Note that it links to GLib, so must comply with the 755s # * LGPL linking clauses. 755s # */ 755s # 755s # #ifdef HAVE_CONFIG_H 755s # # include "config.h" 755s # #endif 755s # 755s # #include 755s # #ifdef G_OS_UNIX 755s # # include 755s # #endif 755s # 755s # #ifdef G_ENABLE_DEBUG 755s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 755s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 755s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 755s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 755s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 755s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 755s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 755s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 755s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 755s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 755s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 755s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 755s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 755s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 755s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 755s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 755s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 755s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 755s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 755s # #else /* !G_ENABLE_DEBUG */ 755s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 755s # * Do not access GValues directly in your code. Instead, use the 755s # * g_value_get_*() functions 755s # */ 755s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 755s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 755s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 755s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 755s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 755s # #endif /* !G_ENABLE_DEBUG */ 755s # 755s # typedef struct 755s # { 755s # GDBusArgInfo parent_struct; 755s # gboolean use_gvariant; 755s # } _ExtendedGDBusArgInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusMethodInfo parent_struct; 755s # const gchar *signal_name; 755s # gboolean pass_fdlist; 755s # } _ExtendedGDBusMethodInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusSignalInfo parent_struct; 755s # const gchar *signal_name; 755s # } _ExtendedGDBusSignalInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusPropertyInfo parent_struct; 755s # const gchar *hyphen_name; 755s # guint use_gvariant : 1; 755s # guint emits_changed_signal : 1; 755s # } _ExtendedGDBusPropertyInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusInterfaceInfo parent_struct; 755s # const gchar *hyphen_name; 755s # } _ExtendedGDBusInterfaceInfo; 755s # 755s # typedef struct 755s # { 755s # const _ExtendedGDBusPropertyInfo *info; 755s # guint prop_id; 755s # GValue orig_value; /* the value before the change */ 755s # } ChangedProperty; 755s # 755s # static void 755s # _changed_property_free (ChangedProperty *data) 755s # { 755s # g_value_unset (&data->orig_value); 755s # g_free (data); 755s # } 755s # 755s # static gboolean 755s # _g_strv_equal0 (gchar **a, gchar **b) 755s # { 755s # gboolean ret = FALSE; 755s # guint n; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # if (g_strv_length (a) != g_strv_length (b)) 755s # goto out; 755s # for (n = 0; a[n] != NULL; n++) 755s # if (g_strcmp0 (a[n], b[n]) != 0) 755s # goto out; 755s # ret = TRUE; 755s # out: 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _g_variant_equal0 (GVariant *a, GVariant *b) 755s # { 755s # gboolean ret = FALSE; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # ret = g_variant_equal (a, b); 755s # out: 755s # return ret; 755s # } 755s # 755s # G_GNUC_UNUSED static gboolean 755s # _g_value_equal (const GValue *a, const GValue *b) 755s # { 755s # gboolean ret = FALSE; 755s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 755s # switch (G_VALUE_TYPE (a)) 755s # { 755s # case G_TYPE_BOOLEAN: 755s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 755s # break; 755s # case G_TYPE_UCHAR: 755s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 755s # break; 755s # case G_TYPE_INT: 755s # ret = (g_value_get_int (a) == g_value_get_int (b)); 755s # break; 755s # case G_TYPE_UINT: 755s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 755s # break; 755s # case G_TYPE_INT64: 755s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 755s # break; 755s # case G_TYPE_UINT64: 755s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 755s # break; 755s # case G_TYPE_DOUBLE: 755s # { 755s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 755s # gdouble da = g_value_get_double (a); 755s # gdouble db = g_value_get_double (b); 755s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 755s # } 755s # break; 755s # case G_TYPE_STRING: 755s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 755s # break; 755s # case G_TYPE_VARIANT: 755s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 755s # break; 755s # default: 755s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 755s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 755s # else 755s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 755s # break; 755s # } 755s # return ret; 755s # } 755s # 755s # static void 755s # _g_dbus_codegen_marshal_VOID__INT64 ( 755s # GClosure *closure, 755s # GValue *return_value G_GNUC_UNUSED, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint G_GNUC_UNUSED, 755s # void *marshal_data) 755s # { 755s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 755s # (void *data1, 755s # gint64 arg_arg_x, 755s # void *data2); 755s # _GDbusCodegenMarshalVoid_Int64Func callback; 755s # GCClosure *cc = (GCClosure*) closure; 755s # void *data1, *data2; 755s # 755s # g_return_if_fail (n_param_values == 2); 755s # 755s # if (G_CCLOSURE_SWAP_DATA (closure)) 755s # { 755s # data1 = closure->data; 755s # data2 = g_value_peek_pointer (param_values + 0); 755s # } 755s # else 755s # { 755s # data1 = g_value_peek_pointer (param_values + 0); 755s # data2 = closure->data; 755s # } 755s # 755s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 755s # (marshal_data ? marshal_data : cc->callback); 755s # 755s # callback (data1, 755s # g_marshal_value_peek_int64 (param_values + 1), 755s # data2); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ 755s # * Code for interface org.project.SignalingIface 755s # * ------------------------------------------------------------------------ 755s # */ 755s # 755s # /** 755s # * SECTION:OrgProjectSignalingIface 755s # * @title: OrgProjectSignalingIface 755s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 755s # * 755s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 755s # */ 755s # 755s # enum 755s # { 755s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 755s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 755s # }; 755s # 755s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 755s # 755s # /* ---- Introspection data for org.project.SignalingIface ---- */ 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SimpleSignal", 755s # NULL, 755s # NULL 755s # }, 755s # "simple-signal" 755s # }; 755s # 755s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 755s # { 755s # { 755s # -1, 755s # (gchar *) "arg_x", 755s # (gchar *) "x", 755s # NULL 755s # }, 755s # FALSE 755s # }; 755s # 755s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SingleArgSignalX", 755s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 755s # NULL 755s # }, 755s # "single-arg-signal-x" 755s # }; 755s # 755s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 755s # { 755s # { 755s # -1, 755s # (gchar *) "org.project.SignalingIface", 755s # NULL, 755s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 755s # NULL, 755s # NULL 755s # }, 755s # "org-project-signaling-iface", 755s # }; 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_interface_info: 755s # * 755s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 755s # * 755s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 755s # */ 755s # GDBusInterfaceInfo * 755s # org_project_signaling_iface_interface_info (void) 755s # { 755s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_override_properties: 755s # * @klass: The class structure for a #GObject derived class. 755s # * @property_id_begin: The property id to assign to the first overridden property. 755s # * 755s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 755s # * The properties are overridden in the order they are defined. 755s # * 755s # * Returns: The last property id. 755s # */ 755s # guint 755s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 755s # { 755s # return property_id_begin - 1; 755s # } 755s # 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_simple_signal ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__VOID (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # 755s # /** 755s # * OrgProjectSignalingIface: 755s # * 755s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceIface: 755s # * @parent_iface: The parent interface. 755s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 755s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 755s # * 755s # * Virtual table for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 755s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 755s # 755s # static void 755s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # /* GObject signals for received D-Bus signals: */ 755s # /** 755s # * OrgProjectSignalingIface::simple-signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 755s # g_signal_new ("simple-signal", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_simple_signal, 755s # G_TYPE_NONE, 755s # 0); 755s # 755s # /** 755s # * OrgProjectSignalingIface::single-arg-signal-x: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_x: Argument. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 755s # g_signal_new ("single-arg-signal-x", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 755s # G_TYPE_NONE, 755s # 1, G_TYPE_INT64); 755s # 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_simple_signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * Emits the "SimpleSignal" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_x: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_x: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalX" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_x ( 755s # OrgProjectSignalingIface *object, 755s # gint64 arg_arg_x) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxy: 755s # * 755s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxyClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceProxy. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceProxyPrivate 755s # { 755s # GData *qdata; 755s # }; 755s # 755s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_proxy_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 755s # g_datalist_clear (&proxy->priv->qdata); 755s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # const GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 755s # const gchar *sender_name G_GNUC_UNUSED, 755s # const gchar *signal_name, 755s # GVariant *parameters) 755s # { 755s # _ExtendedGDBusSignalInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # gsize n; 755s # guint signal_id; 755s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 755s # if (info == NULL) 755s # return; 755s # num_params = g_variant_n_children (parameters); 755s # paramv = g_new0 (GValue, num_params + 1); 755s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[0], proxy); 755s # g_variant_iter_init (&iter, parameters); 755s # n = 1; 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_signal_emitv (paramv, signal_id, 0, NULL); 755s # for (n = 0; n < num_params + 1; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 755s # GVariant *changed_properties, 755s # const gchar *const *invalidated_properties) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 755s # guint n; 755s # const gchar *key; 755s # GVariantIter *iter; 755s # _ExtendedGDBusPropertyInfo *info; 755s # g_variant_get (changed_properties, "a{sv}", &iter); 755s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 755s # g_datalist_remove_data (&proxy->priv->qdata, key); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # g_variant_iter_free (iter); 755s # for (n = 0; invalidated_properties[n] != NULL; n++) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 755s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 755s # #else 755s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 755s # #endif 755s # 755s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusProxyClass *proxy_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 755s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 755s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 755s # 755s # proxy_class = G_DBUS_PROXY_CLASS (klass); 755s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 755s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_sync: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_sync ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new_for_bus ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_sync: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_sync ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeleton: 755s # * 755s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeletonClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceSkeletonPrivate 755s # { 755s # GValue *properties; 755s # GList *changed_properties; 755s # GSource *changed_properties_idle_source; 755s # GMainContext *context; 755s # GMutex lock; 755s # }; 755s # 755s # static void 755s # _org_project_signaling_iface_skeleton_handle_method_call ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name, 755s # const gchar *method_name, 755s # GVariant *parameters, 755s # GDBusMethodInvocation *invocation, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # _ExtendedGDBusMethodInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # guint num_extra; 755s # gsize n; 755s # guint signal_id; 755s # GValue return_value = G_VALUE_INIT; 755s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 755s # g_assert (info != NULL); 755s # num_params = g_variant_n_children (parameters); 755s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 755s # n = 0; 755s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[n++], skeleton); 755s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 755s # g_value_set_object (¶mv[n++], invocation); 755s # if (info->pass_fdlist) 755s # { 755s # #ifdef G_OS_UNIX 755s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 755s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 755s # #else 755s # g_assert_not_reached (); 755s # #endif 755s # } 755s # g_variant_iter_init (&iter, parameters); 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_init (&return_value, G_TYPE_BOOLEAN); 755s # g_signal_emitv (paramv, signal_id, 0, &return_value); 755s # if (!g_value_get_boolean (&return_value)) 755s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 755s # g_value_unset (&return_value); 755s # for (n = 0; n < num_params + num_extra; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static GVariant * 755s # _org_project_signaling_iface_skeleton_handle_get_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # GVariant *ret; 755s # ret = NULL; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # g_value_init (&value, pspec->value_type); 755s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 755s # g_value_unset (&value); 755s # } 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _org_project_signaling_iface_skeleton_handle_set_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GVariant *variant, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # gboolean ret; 755s # ret = FALSE; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # if (info->use_gvariant) 755s # g_value_set_variant (&value, variant); 755s # else 755s # g_dbus_gvariant_to_gvalue (variant, &value); 755s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # g_value_unset (&value); 755s # ret = TRUE; 755s # } 755s # return ret; 755s # } 755s # 755s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 755s # { 755s # _org_project_signaling_iface_skeleton_handle_method_call, 755s # _org_project_signaling_iface_skeleton_handle_get_property, 755s # _org_project_signaling_iface_skeleton_handle_set_property, 755s # {NULL} 755s # }; 755s # 755s # static GDBusInterfaceInfo * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return org_project_signaling_iface_interface_info (); 755s # } 755s # 755s # static GDBusInterfaceVTable * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 755s # } 755s # 755s # static GVariant * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 755s # 755s # GVariantBuilder builder; 755s # guint n; 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 755s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #else 755s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #endif 755s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 755s # goto out; 755s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 755s # { 755s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 755s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 755s # { 755s # GVariant *value; 755s # 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); 755s # if (value != NULL) 755s # { 755s # g_variant_take_ref (value); 755s # g_variant_builder_add (&builder, "{sv}", info->name, value); 755s # g_variant_unref (value); 755s # } 755s # } 755s # } 755s # out: 755s # return g_variant_builder_end (&builder); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 755s # OrgProjectSignalingIface *object, 755s # gint64 arg_arg_x) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 755s # arg_arg_x)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_skeleton_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 755s # if (skeleton->priv->changed_properties_idle_source != NULL) 755s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 755s # g_main_context_unref (skeleton->priv->context); 755s # g_mutex_clear (&skeleton->priv->lock); 755s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 755s # #else 755s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 755s # #endif 755s # 755s # g_mutex_init (&skeleton->priv->lock); 755s # skeleton->priv->context = g_main_context_ref_thread_default (); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusInterfaceSkeletonClass *skeleton_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 755s # 755s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 755s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 755s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 755s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 755s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 755s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_skeleton_new: 755s # * 755s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_skeleton_new (void) 755s # { 755s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 755s # } 755s # Error: 755s # 755s # /tmp/tmpcyoquvv4/tmpl2irvcg_.xml: 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcyoquvv4/tmpl2irvcg_.xml', '--output', '-', '--body'] 755s # Return code: 0 755s # Output: 755s # /* 755s # * This file is generated by gdbus-codegen, do not modify it. 755s # * 755s # * The license of this code is the same as for the D-Bus interface description 755s # * it was derived from. Note that it links to GLib, so must comply with the 755s # * LGPL linking clauses. 755s # */ 755s # 755s # #ifdef HAVE_CONFIG_H 755s # # include "config.h" 755s # #endif 755s # 755s # #include 755s # #ifdef G_OS_UNIX 755s # # include 755s # #endif 755s # 755s # #ifdef G_ENABLE_DEBUG 755s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 755s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 755s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 755s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 755s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 755s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 755s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 755s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 755s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 755s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 755s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 755s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 755s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 755s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 755s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 755s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 755s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 755s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 755s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 755s # #else /* !G_ENABLE_DEBUG */ 755s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 755s # * Do not access GValues directly in your code. Instead, use the 755s # * g_value_get_*() functions 755s # */ 755s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 755s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 755s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 755s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 755s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 755s # #endif /* !G_ENABLE_DEBUG */ 755s # 755s # typedef struct 755s # { 755s # GDBusArgInfo parent_struct; 755s # gboolean use_gvariant; 755s # } _ExtendedGDBusArgInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusMethodInfo parent_struct; 755s # const gchar *signal_name; 755s # gboolean pass_fdlist; 755s # } _ExtendedGDBusMethodInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusSignalInfo parent_struct; 755s # const gchar *signal_name; 755s # } _ExtendedGDBusSignalInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusPropertyInfo parent_struct; 755s # const gchar *hyphen_name; 755s # guint use_gvariant : 1; 755s # guint emits_changed_signal : 1; 755s # } _ExtendedGDBusPropertyInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusInterfaceInfo parent_struct; 755s # const gchar *hyphen_name; 755s # } _ExtendedGDBusInterfaceInfo; 755s # 755s # typedef struct 755s # { 755s # const _ExtendedGDBusPropertyInfo *info; 755s # guint prop_id; 755s # GValue orig_value; /* the value before the change */ 755s # } ChangedProperty; 755s # 755s # static void 755s # _changed_property_free (ChangedProperty *data) 755s # { 755s # g_value_unset (&data->orig_value); 755s # g_free (data); 755s # } 755s # 755s # static gboolean 755s # _g_strv_equal0 (gchar **a, gchar **b) 755s # { 755s # gboolean ret = FALSE; 755s # guint n; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # if (g_strv_length (a) != g_strv_length (b)) 755s # goto out; 755s # for (n = 0; a[n] != NULL; n++) 755s # if (g_strcmp0 (a[n], b[n]) != 0) 755s # goto out; 755s # ret = TRUE; 755s # out: 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _g_variant_equal0 (GVariant *a, GVariant *b) 755s # { 755s # gboolean ret = FALSE; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # ret = g_variant_equal (a, b); 755s # out: 755s # return ret; 755s # } 755s # 755s # G_GNUC_UNUSED static gboolean 755s # _g_value_equal (const GValue *a, const GValue *b) 755s # { 755s # gboolean ret = FALSE; 755s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 755s # switch (G_VALUE_TYPE (a)) 755s # { 755s # case G_TYPE_BOOLEAN: 755s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 755s # break; 755s # case G_TYPE_UCHAR: 755s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 755s # break; 755s # case G_TYPE_INT: 755s # ret = (g_value_get_int (a) == g_value_get_int (b)); 755s # break; 755s # case G_TYPE_UINT: 755s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 755s # break; 755s # case G_TYPE_INT64: 755s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 755s # break; 755s # case G_TYPE_UINT64: 755s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 755s # break; 755s # case G_TYPE_DOUBLE: 755s # { 755s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 755s # gdouble da = g_value_get_double (a); 755s # gdouble db = g_value_get_double (b); 755s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 755s # } 755s # break; 755s # case G_TYPE_STRING: 755s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 755s # break; 755s # case G_TYPE_VARIANT: 755s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 755s # break; 755s # default: 755s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 755s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 755s # else 755s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 755s # break; 755s # } 755s # return ret; 755s # } 755s # 755s # static void 755s # _g_dbus_codegen_marshal_VOID__UINT64 ( 755s # GClosure *closure, 755s # GValue *return_value G_GNUC_UNUSED, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint G_GNUC_UNUSED, 755s # void *marshal_data) 755s # { 755s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 755s # (void *data1, 755s # guint64 arg_arg_t, 755s # void *data2); 755s # _GDbusCodegenMarshalVoid_Uint64Func callback; 755s # GCClosure *cc = (GCClosure*) closure; 755s # void *data1, *data2; 755s # 755s # g_return_if_fail (n_param_values == 2); 755s # 755s # if (G_CCLOSURE_SWAP_DATA (closure)) 755s # { 755s # data1 = closure->data; 755s # data2 = g_value_peek_pointer (param_values + 0); 755s # } 755s # else 755s # { 755s # data1 = g_value_peek_pointer (param_values + 0); 755s # data2 = closure->data; 755s # } 755s # 755s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 755s # (marshal_data ? marshal_data : cc->callback); 755s # 755s # callback (data1, 755s # g_marshal_value_peek_uint64 (param_values + 1), 755s # data2); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ 755s # * Code for interface org.project.SignalingIface 755s # * ------------------------------------------------------------------------ 755s # */ 755s # 755s # /** 755s # * SECTION:OrgProjectSignalingIface 755s # * @title: OrgProjectSignalingIface 755s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 755s # * 755s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 755s # */ 755s # 755s # enum 755s # { 755s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 755s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 755s # }; 755s # 755s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 755s # 755s # /* ---- Introspection data for org.project.SignalingIface ---- */ 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SimpleSignal", 755s # NULL, 755s # NULL 755s # }, 755s # "simple-signal" 755s # }; 755s # 755s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 755s # { 755s # { 755s # -1, 755s # (gchar *) "arg_t", 755s # (gchar *) "t", 755s # NULL 755s # }, 755s # FALSE 755s # }; 755s # 755s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SingleArgSignalT", 755s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 755s # NULL 755s # }, 755s # "single-arg-signal-t" 755s # }; 755s # 755s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 755s # { 755s # { 755s # -1, 755s # (gchar *) "org.project.SignalingIface", 755s # NULL, 755s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 755s # NULL, 755s # NULL 755s # }, 755s # "org-project-signaling-iface", 755s # }; 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_interface_info: 755s # * 755s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 755s # * 755s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 755s # */ 755s # GDBusInterfaceInfo * 755s # org_project_signaling_iface_interface_info (void) 755s # { 755s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_override_properties: 755s # * @klass: The class structure for a #GObject derived class. 755s # * @property_id_begin: The property id to assign to the first overridden property. 755s # * 755s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 755s # * The properties are overridden in the order they are defined. 755s # * 755s # * Returns: The last property id. 755s # */ 755s # guint 755s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 755s # { 755s # return property_id_begin - 1; 755s # } 755s # 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_simple_signal ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__VOID (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # 755s # /** 755s # * OrgProjectSignalingIface: 755s # * 755s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceIface: 755s # * @parent_iface: The parent interface. 755s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 755s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 755s # * 755s # * Virtual table for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 755s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 755s # 755s # static void 755s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # /* GObject signals for received D-Bus signals: */ 755s # /** 755s # * OrgProjectSignalingIface::simple-signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 755s # g_signal_new ("simple-signal", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_simple_signal, 755s # G_TYPE_NONE, 755s # 0); 755s # 755s # /** 755s # * OrgProjectSignalingIface::single-arg-signal-t: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_t: Argument. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 755s # g_signal_new ("single-arg-signal-t", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 755s # G_TYPE_NONE, 755s # 1, G_TYPE_UINT64); 755s # 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_simple_signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * Emits the "SimpleSignal" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_t: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_t: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalT" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_t ( 755s # OrgProjectSignalingIface *object, 755s # guint64 arg_arg_t) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxy: 755s # * 755s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxyClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceProxy. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceProxyPrivate 755s # { 755s # GData *qdata; 755s # }; 755s # 755s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_proxy_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 755s # g_datalist_clear (&proxy->priv->qdata); 755s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # const GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 755s # const gchar *sender_name G_GNUC_UNUSED, 755s # const gchar *signal_name, 755s # GVariant *parameters) 755s # { 755s # _ExtendedGDBusSignalInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # gsize n; 755s # guint signal_id; 755s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 755s # if (info == NULL) 755s # return; 755s # num_params = g_variant_n_children (parameters); 755s # paramv = g_new0 (GValue, num_params + 1); 755s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[0], proxy); 755s # g_variant_iter_init (&iter, parameters); 755s # n = 1; 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_signal_emitv (paramv, signal_id, 0, NULL); 755s # for (n = 0; n < num_params + 1; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 755s # GVariant *changed_properties, 755s # const gchar *const *invalidated_properties) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 755s # guint n; 755s # const gchar *key; 755s # GVariantIter *iter; 755s # _ExtendedGDBusPropertyInfo *info; 755s # g_variant_get (changed_properties, "a{sv}", &iter); 755s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 755s # g_datalist_remove_data (&proxy->priv->qdata, key); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # g_variant_iter_free (iter); 755s # for (n = 0; invalidated_properties[n] != NULL; n++) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 755s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 755s # #else 755s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 755s # #endif 755s # 755s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusProxyClass *proxy_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 755s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 755s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 755s # 755s # proxy_class = G_DBUS_PROXY_CLASS (klass); 755s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 755s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_sync: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_sync ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new_for_bus ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_sync: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_sync ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeleton: 755s # * 755s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeletonClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceSkeletonPrivate 755s # { 755s # GValue *properties; 755s # GList *changed_properties; 755s # GSource *changed_properties_idle_source; 755s # GMainContext *context; 755s # GMutex lock; 755s # }; 755s # 755s # static void 755s # _org_project_signaling_iface_skeleton_handle_method_call ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name, 755s # const gchar *method_name, 755s # GVariant *parameters, 755s # GDBusMethodInvocation *invocation, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # _ExtendedGDBusMethodInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # guint num_extra; 755s # gsize n; 755s # guint signal_id; 755s # GValue return_value = G_VALUE_INIT; 755s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 755s # g_assert (info != NULL); 755s # num_params = g_variant_n_children (parameters); 755s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 755s # n = 0; 755s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[n++], skeleton); 755s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 755s # g_value_set_object (¶mv[n++], invocation); 755s # if (info->pass_fdlist) 755s # { 755s # #ifdef G_OS_UNIX 755s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 755s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 755s # #else 755s # g_assert_not_reached (); 755s # #endif 755s # } 755s # g_variant_iter_init (&iter, parameters); 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_init (&return_value, G_TYPE_BOOLEAN); 755s # g_signal_emitv (paramv, signal_id, 0, &return_value); 755s # if (!g_value_get_boolean (&return_value)) 755s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 755s # g_value_unset (&return_value); 755s # for (n = 0; n < num_params + num_extra; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static GVariant * 755s # _org_project_signaling_iface_skeleton_handle_get_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # GVariant *ret; 755s # ret = NULL; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # g_value_init (&value, pspec->value_type); 755s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 755s # g_value_unset (&value); 755s # } 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _org_project_signaling_iface_skeleton_handle_set_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GVariant *variant, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # gboolean ret; 755s # ret = FALSE; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # if (info->use_gvariant) 755s # g_value_set_variant (&value, variant); 755s # else 755s # g_dbus_gvariant_to_gvalue (variant, &value); 755s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # g_value_unset (&value); 755s # ret = TRUE; 755s # } 755s # return ret; 755s # } 755s # 755s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 755s # { 755s # _org_project_signaling_iface_skeleton_handle_method_call, 755s # _org_project_signaling_iface_skeleton_handle_get_property, 755s # _org_project_signaling_iface_skeleton_handle_set_property, 755s # {NULL} 755s # }; 755s # 755s # static GDBusInterfaceInfo * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return org_project_signaling_iface_interface_info (); 755s # } 755s # 755s # static GDBusInterfaceVTable * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 755s # } 755s # 755s # static GVariant * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 755s # 755s # GVariantBuilder builder; 755s # guint n; 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 755s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #else 755s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #endif 755s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 755s # goto out; 755s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 755s # { 755s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 755s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 755s # { 755s # GVariant *value; 755s # 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); 755s # if (value != NULL) 755s # { 755s # g_variant_take_ref (value); 755s # g_variant_builder_add (&builder, "{sv}", info->name, value); 755s # g_variant_unref (value); 755s # } 755s # } 755s # } 755s # out: 755s # return g_variant_builder_end (&builder); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 755s # OrgProjectSignalingIface *object, 755s # guint64 arg_arg_t) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 755s # arg_arg_t)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_skeleton_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 755s # if (skeleton->priv->changed_properties_idle_source != NULL) 755s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 755s # g_main_context_unref (skeleton->priv->context); 755s # g_mutex_clear (&skeleton->priv->lock); 755s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 755s # #else 755s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 755s # #endif 755s # 755s # g_mutex_init (&skeleton->priv->lock); 755s # skeleton->priv->context = g_main_context_ref_thread_default (); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusInterfaceSkeletonClass *skeleton_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 755s # 755s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 755s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 755s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 755s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 755s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 755s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_skeleton_new: 755s # * 755s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_skeleton_new (void) 755s # { 755s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 755s # } 755s # Error: 755s # 755s # /tmp/tmpcyoquvv4/tmp306ako54.xml: 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcyoquvv4/tmp306ako54.xml', '--output', '-', '--body'] 755s # Return code: 0 755s # Output: 755s # /* 755s # * This file is generated by gdbus-codegen, do not modify it. 755s # * 755s # * The license of this code is the same as for the D-Bus interface description 755s # * it was derived from. Note that it links to GLib, so must comply with the 755s # * LGPL linking clauses. 755s # */ 755s # 755s # #ifdef HAVE_CONFIG_H 755s # # include "config.h" 755s # #endif 755s # 755s # #include 755s # #ifdef G_OS_UNIX 755s # # include 755s # #endif 755s # 755s # #ifdef G_ENABLE_DEBUG 755s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 755s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 755s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 755s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 755s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 755s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 755s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 755s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 755s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 755s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 755s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 755s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 755s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 755s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 755s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 755s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 755s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 755s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 755s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 755s # #else /* !G_ENABLE_DEBUG */ 755s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 755s # * Do not access GValues directly in your code. Instead, use the 755s # * g_value_get_*() functions 755s # */ 755s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 755s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 755s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 755s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 755s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 755s # #endif /* !G_ENABLE_DEBUG */ 755s # 755s # typedef struct 755s # { 755s # GDBusArgInfo parent_struct; 755s # gboolean use_gvariant; 755s # } _ExtendedGDBusArgInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusMethodInfo parent_struct; 755s # const gchar *signal_name; 755s # gboolean pass_fdlist; 755s # } _ExtendedGDBusMethodInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusSignalInfo parent_struct; 755s # const gchar *signal_name; 755s # } _ExtendedGDBusSignalInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusPropertyInfo parent_struct; 755s # const gchar *hyphen_name; 755s # guint use_gvariant : 1; 755s # guint emits_changed_signal : 1; 755s # } _ExtendedGDBusPropertyInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusInterfaceInfo parent_struct; 755s # const gchar *hyphen_name; 755s # } _ExtendedGDBusInterfaceInfo; 755s # 755s # typedef struct 755s # { 755s # const _ExtendedGDBusPropertyInfo *info; 755s # guint prop_id; 755s # GValue orig_value; /* the value before the change */ 755s # } ChangedProperty; 755s # 755s # static void 755s # _changed_property_free (ChangedProperty *data) 755s # { 755s # g_value_unset (&data->orig_value); 755s # g_free (data); 755s # } 755s # 755s # static gboolean 755s # _g_strv_equal0 (gchar **a, gchar **b) 755s # { 755s # gboolean ret = FALSE; 755s # guint n; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # if (g_strv_length (a) != g_strv_length (b)) 755s # goto out; 755s # for (n = 0; a[n] != NULL; n++) 755s # if (g_strcmp0 (a[n], b[n]) != 0) 755s # goto out; 755s # ret = TRUE; 755s # out: 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _g_variant_equal0 (GVariant *a, GVariant *b) 755s # { 755s # gboolean ret = FALSE; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # ret = g_variant_equal (a, b); 755s # out: 755s # return ret; 755s # } 755s # 755s # G_GNUC_UNUSED static gboolean 755s # _g_value_equal (const GValue *a, const GValue *b) 755s # { 755s # gboolean ret = FALSE; 755s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 755s # switch (G_VALUE_TYPE (a)) 755s # { 755s # case G_TYPE_BOOLEAN: 755s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 755s # break; 755s # case G_TYPE_UCHAR: 755s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 755s # break; 755s # case G_TYPE_INT: 755s # ret = (g_value_get_int (a) == g_value_get_int (b)); 755s # break; 755s # case G_TYPE_UINT: 755s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 755s # break; 755s # case G_TYPE_INT64: 755s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 755s # break; 755s # case G_TYPE_UINT64: 755s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 755s # break; 755s # case G_TYPE_DOUBLE: 755s # { 755s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 755s # gdouble da = g_value_get_double (a); 755s # gdouble db = g_value_get_double (b); 755s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 755s # } 755s # break; 755s # case G_TYPE_STRING: 755s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 755s # break; 755s # case G_TYPE_VARIANT: 755s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 755s # break; 755s # default: 755s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 755s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 755s # else 755s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 755s # break; 755s # } 755s # return ret; 755s # } 755s # 755s # /* ------------------------------------------------------------------------ 755s # * Code for interface org.project.SignalingIface 755s # * ------------------------------------------------------------------------ 755s # */ 755s # 755s # /** 755s # * SECTION:OrgProjectSignalingIface 755s # * @title: OrgProjectSignalingIface 755s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 755s # * 755s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 755s # */ 755s # 755s # enum 755s # { 755s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 755s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 755s # }; 755s # 755s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 755s # 755s # /* ---- Introspection data for org.project.SignalingIface ---- */ 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SimpleSignal", 755s # NULL, 755s # NULL 755s # }, 755s # "simple-signal" 755s # }; 755s # 755s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 755s # { 755s # { 755s # -1, 755s # (gchar *) "arg_d", 755s # (gchar *) "d", 755s # NULL 755s # }, 755s # FALSE 755s # }; 755s # 755s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SingleArgSignalD", 755s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 755s # NULL 755s # }, 755s # "single-arg-signal-d" 755s # }; 755s # 755s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 755s # { 755s # { 755s # -1, 755s # (gchar *) "org.project.SignalingIface", 755s # NULL, 755s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 755s # NULL, 755s # NULL 755s # }, 755s # "org-project-signaling-iface", 755s # }; 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_interface_info: 755s # * 755s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 755s # * 755s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 755s # */ 755s # GDBusInterfaceInfo * 755s # org_project_signaling_iface_interface_info (void) 755s # { 755s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_override_properties: 755s # * @klass: The class structure for a #GObject derived class. 755s # * @property_id_begin: The property id to assign to the first overridden property. 755s # * 755s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 755s # * The properties are overridden in the order they are defined. 755s # * 755s # * Returns: The last property id. 755s # */ 755s # guint 755s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 755s # { 755s # return property_id_begin - 1; 755s # } 755s # 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_simple_signal ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__VOID (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__DOUBLE (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # 755s # /** 755s # * OrgProjectSignalingIface: 755s # * 755s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceIface: 755s # * @parent_iface: The parent interface. 755s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 755s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 755s # * 755s # * Virtual table for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 755s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 755s # 755s # static void 755s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # /* GObject signals for received D-Bus signals: */ 755s # /** 755s # * OrgProjectSignalingIface::simple-signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 755s # g_signal_new ("simple-signal", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_simple_signal, 755s # G_TYPE_NONE, 755s # 0); 755s # 755s # /** 755s # * OrgProjectSignalingIface::single-arg-signal-d: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_d: Argument. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 755s # g_signal_new ("single-arg-signal-d", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 755s # G_TYPE_NONE, 755s # 1, G_TYPE_DOUBLE); 755s # 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_simple_signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * Emits the "SimpleSignal" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_d: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_d: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalD" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_d ( 755s # OrgProjectSignalingIface *object, 755s # gdouble arg_arg_d) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxy: 755s # * 755s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxyClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceProxy. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceProxyPrivate 755s # { 755s # GData *qdata; 755s # }; 755s # 755s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_proxy_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 755s # g_datalist_clear (&proxy->priv->qdata); 755s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # const GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 755s # const gchar *sender_name G_GNUC_UNUSED, 755s # const gchar *signal_name, 755s # GVariant *parameters) 755s # { 755s # _ExtendedGDBusSignalInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # gsize n; 755s # guint signal_id; 755s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 755s # if (info == NULL) 755s # return; 755s # num_params = g_variant_n_children (parameters); 755s # paramv = g_new0 (GValue, num_params + 1); 755s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[0], proxy); 755s # g_variant_iter_init (&iter, parameters); 755s # n = 1; 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_signal_emitv (paramv, signal_id, 0, NULL); 755s # for (n = 0; n < num_params + 1; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 755s # GVariant *changed_properties, 755s # const gchar *const *invalidated_properties) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 755s # guint n; 755s # const gchar *key; 755s # GVariantIter *iter; 755s # _ExtendedGDBusPropertyInfo *info; 755s # g_variant_get (changed_properties, "a{sv}", &iter); 755s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 755s # g_datalist_remove_data (&proxy->priv->qdata, key); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # g_variant_iter_free (iter); 755s # for (n = 0; invalidated_properties[n] != NULL; n++) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 755s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 755s # #else 755s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 755s # #endif 755s # 755s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusProxyClass *proxy_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 755s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 755s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 755s # 755s # proxy_class = G_DBUS_PROXY_CLASS (klass); 755s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 755s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_sync: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_sync ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new_for_bus ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_sync: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_sync ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeleton: 755s # * 755s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeletonClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceSkeletonPrivate 755s # { 755s # GValue *properties; 755s # GList *changed_properties; 755s # GSource *changed_properties_idle_source; 755s # GMainContext *context; 755s # GMutex lock; 755s # }; 755s # 755s # static void 755s # _org_project_signaling_iface_skeleton_handle_method_call ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name, 755s # const gchar *method_name, 755s # GVariant *parameters, 755s # GDBusMethodInvocation *invocation, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # _ExtendedGDBusMethodInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # guint num_extra; 755s # gsize n; 755s # guint signal_id; 755s # GValue return_value = G_VALUE_INIT; 755s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 755s # g_assert (info != NULL); 755s # num_params = g_variant_n_children (parameters); 755s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 755s # n = 0; 755s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[n++], skeleton); 755s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 755s # g_value_set_object (¶mv[n++], invocation); 755s # if (info->pass_fdlist) 755s # { 755s # #ifdef G_OS_UNIX 755s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 755s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 755s # #else 755s # g_assert_not_reached (); 755s # #endif 755s # } 755s # g_variant_iter_init (&iter, parameters); 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_init (&return_value, G_TYPE_BOOLEAN); 755s # g_signal_emitv (paramv, signal_id, 0, &return_value); 755s # if (!g_value_get_boolean (&return_value)) 755s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 755s # g_value_unset (&return_value); 755s # for (n = 0; n < num_params + num_extra; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static GVariant * 755s # _org_project_signaling_iface_skeleton_handle_get_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # GVariant *ret; 755s # ret = NULL; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # g_value_init (&value, pspec->value_type); 755s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 755s # g_value_unset (&value); 755s # } 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _org_project_signaling_iface_skeleton_handle_set_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GVariant *variant, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # gboolean ret; 755s # ret = FALSE; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # if (info->use_gvariant) 755s # g_value_set_variant (&value, variant); 755s # else 755s # g_dbus_gvariant_to_gvalue (variant, &value); 755s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # g_value_unset (&value); 755s # ret = TRUE; 755s # } 755s # return ret; 755s # } 755s # 755s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 755s # { 755s # _org_project_signaling_iface_skeleton_handle_method_call, 755s # _org_project_signaling_iface_skeleton_handle_get_property, 755s # _org_project_signaling_iface_skeleton_handle_set_property, 755s # {NULL} 755s # }; 755s # 755s # static GDBusInterfaceInfo * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return org_project_signaling_iface_interface_info (); 755s # } 755s # 755s # static GDBusInterfaceVTable * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 755s # } 755s # 755s # static GVariant * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 755s # 755s # GVariantBuilder builder; 755s # guint n; 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 755s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #else 755s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #endif 755s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 755s # goto out; 755s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 755s # { 755s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 755s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 755s # { 755s # GVariant *value; 755s # 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); 755s # if (value != NULL) 755s # { 755s # g_variant_take_ref (value); 755s # g_variant_builder_add (&builder, "{sv}", info->name, value); 755s # g_variant_unref (value); 755s # } 755s # } 755s # } 755s # out: 755s # return g_variant_builder_end (&builder); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 755s # OrgProjectSignalingIface *object, 755s # gdouble arg_arg_d) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 755s # arg_arg_d)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_skeleton_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 755s # if (skeleton->priv->changed_properties_idle_source != NULL) 755s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 755s # g_main_context_unref (skeleton->priv->context); 755s # g_mutex_clear (&skeleton->priv->lock); 755s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 755s # #else 755s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 755s # #endif 755s # 755s # g_mutex_init (&skeleton->priv->lock); 755s # skeleton->priv->context = g_main_context_ref_thread_default (); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusInterfaceSkeletonClass *skeleton_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 755s # 755s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 755s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 755s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 755s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 755s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 755s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_skeleton_new: 755s # * 755s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_skeleton_new (void) 755s # { 755s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 755s # } 755s # Error: 755s # 755s # /tmp/tmpcyoquvv4/tmpjr3smzgl.xml: 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcyoquvv4/tmpjr3smzgl.xml', '--output', '-', '--body'] 755s # Return code: 0 755s # Output: 755s # /* 755s # * This file is generated by gdbus-codegen, do not modify it. 755s # * 755s # * The license of this code is the same as for the D-Bus interface description 755s # * it was derived from. Note that it links to GLib, so must comply with the 755s # * LGPL linking clauses. 755s # */ 755s # 755s # #ifdef HAVE_CONFIG_H 755s # # include "config.h" 755s # #endif 755s # 755s # #include 755s # #ifdef G_OS_UNIX 755s # # include 755s # #endif 755s # 755s # #ifdef G_ENABLE_DEBUG 755s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 755s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 755s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 755s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 755s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 755s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 755s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 755s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 755s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 755s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 755s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 755s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 755s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 755s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 755s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 755s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 755s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 755s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 755s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 755s # #else /* !G_ENABLE_DEBUG */ 755s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 755s # * Do not access GValues directly in your code. Instead, use the 755s # * g_value_get_*() functions 755s # */ 755s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 755s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 755s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 755s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 755s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 755s # #endif /* !G_ENABLE_DEBUG */ 755s # 755s # typedef struct 755s # { 755s # GDBusArgInfo parent_struct; 755s # gboolean use_gvariant; 755s # } _ExtendedGDBusArgInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusMethodInfo parent_struct; 755s # const gchar *signal_name; 755s # gboolean pass_fdlist; 755s # } _ExtendedGDBusMethodInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusSignalInfo parent_struct; 755s # const gchar *signal_name; 755s # } _ExtendedGDBusSignalInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusPropertyInfo parent_struct; 755s # const gchar *hyphen_name; 755s # guint use_gvariant : 1; 755s # guint emits_changed_signal : 1; 755s # } _ExtendedGDBusPropertyInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusInterfaceInfo parent_struct; 755s # const gchar *hyphen_name; 755s # } _ExtendedGDBusInterfaceInfo; 755s # 755s # typedef struct 755s # { 755s # const _ExtendedGDBusPropertyInfo *info; 755s # guint prop_id; 755s # GValue orig_value; /* the value before the change */ 755s # } ChangedProperty; 755s # 755s # static void 755s # _changed_property_free (ChangedProperty *data) 755s # { 755s # g_value_unset (&data->orig_value); 755s # g_free (data); 755s # } 755s # 755s # static gboolean 755s # _g_strv_equal0 (gchar **a, gchar **b) 755s # { 755s # gboolean ret = FALSE; 755s # guint n; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # if (g_strv_length (a) != g_strv_length (b)) 755s # goto out; 755s # for (n = 0; a[n] != NULL; n++) 755s # if (g_strcmp0 (a[n], b[n]) != 0) 755s # goto out; 755s # ret = TRUE; 755s # out: 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _g_variant_equal0 (GVariant *a, GVariant *b) 755s # { 755s # gboolean ret = FALSE; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # ret = g_variant_equal (a, b); 755s # out: 755s # return ret; 755s # } 755s # 755s # G_GNUC_UNUSED static gboolean 755s # _g_value_equal (const GValue *a, const GValue *b) 755s # { 755s # gboolean ret = FALSE; 755s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 755s # switch (G_VALUE_TYPE (a)) 755s # { 755s # case G_TYPE_BOOLEAN: 755s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 755s # break; 755s # case G_TYPE_UCHAR: 755s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 755s # break; 755s # case G_TYPE_INT: 755s # ret = (g_value_get_int (a) == g_value_get_int (b)); 755s # break; 755s # case G_TYPE_UINT: 755s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 755s # break; 755s # case G_TYPE_INT64: 755s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 755s # break; 755s # case G_TYPE_UINT64: 755s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 755s # break; 755s # case G_TYPE_DOUBLE: 755s # { 755s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 755s # gdouble da = g_value_get_double (a); 755s # gdouble db = g_value_get_double (b); 755s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 755s # } 755s # break; 755s # case G_TYPE_STRING: 755s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 755s # break; 755s # case G_TYPE_VARIANT: 755s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 755s # break; 755s # default: 755s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 755s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 755s # else 755s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 755s # break; 755s # } 755s # return ret; 755s # } 755s # 755s # /* ------------------------------------------------------------------------ 755s # * Code for interface org.project.SignalingIface 755s # * ------------------------------------------------------------------------ 755s # */ 755s # 755s # /** 755s # * SECTION:OrgProjectSignalingIface 755s # * @title: OrgProjectSignalingIface 755s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 755s # * 755s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 755s # */ 755s # 755s # enum 755s # { 755s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 755s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 755s # }; 755s # 755s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 755s # 755s # /* ---- Introspection data for org.project.SignalingIface ---- */ 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SimpleSignal", 755s # NULL, 755s # NULL 755s # }, 755s # "simple-signal" 755s # }; 755s # 755s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 755s # { 755s # { 755s # -1, 755s # (gchar *) "arg_s", 755s # (gchar *) "s", 755s # NULL 755s # }, 755s # FALSE 755s # }; 755s # 755s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SingleArgSignalS", 755s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 755s # NULL 755s # }, 755s # "single-arg-signal-s" 755s # }; 755s # 755s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 755s # { 755s # { 755s # -1, 755s # (gchar *) "org.project.SignalingIface", 755s # NULL, 755s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 755s # NULL, 755s # NULL 755s # }, 755s # "org-project-signaling-iface", 755s # }; 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_interface_info: 755s # * 755s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 755s # * 755s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 755s # */ 755s # GDBusInterfaceInfo * 755s # org_project_signaling_iface_interface_info (void) 755s # { 755s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_override_properties: 755s # * @klass: The class structure for a #GObject derived class. 755s # * @property_id_begin: The property id to assign to the first overridden property. 755s # * 755s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 755s # * The properties are overridden in the order they are defined. 755s # * 755s # * Returns: The last property id. 755s # */ 755s # guint 755s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 755s # { 755s # return property_id_begin - 1; 755s # } 755s # 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_simple_signal ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__VOID (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__STRING (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # 755s # /** 755s # * OrgProjectSignalingIface: 755s # * 755s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceIface: 755s # * @parent_iface: The parent interface. 755s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 755s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 755s # * 755s # * Virtual table for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 755s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 755s # 755s # static void 755s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # /* GObject signals for received D-Bus signals: */ 755s # /** 755s # * OrgProjectSignalingIface::simple-signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 755s # g_signal_new ("simple-signal", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_simple_signal, 755s # G_TYPE_NONE, 755s # 0); 755s # 755s # /** 755s # * OrgProjectSignalingIface::single-arg-signal-s: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_s: Argument. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 755s # g_signal_new ("single-arg-signal-s", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 755s # G_TYPE_NONE, 755s # 1, G_TYPE_STRING); 755s # 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_simple_signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * Emits the "SimpleSignal" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_s: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_s: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalS" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_s ( 755s # OrgProjectSignalingIface *object, 755s # const gchar *arg_arg_s) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxy: 755s # * 755s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxyClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceProxy. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceProxyPrivate 755s # { 755s # GData *qdata; 755s # }; 755s # 755s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_proxy_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 755s # g_datalist_clear (&proxy->priv->qdata); 755s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # const GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 755s # const gchar *sender_name G_GNUC_UNUSED, 755s # const gchar *signal_name, 755s # GVariant *parameters) 755s # { 755s # _ExtendedGDBusSignalInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # gsize n; 755s # guint signal_id; 755s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 755s # if (info == NULL) 755s # return; 755s # num_params = g_variant_n_children (parameters); 755s # paramv = g_new0 (GValue, num_params + 1); 755s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[0], proxy); 755s # g_variant_iter_init (&iter, parameters); 755s # n = 1; 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_signal_emitv (paramv, signal_id, 0, NULL); 755s # for (n = 0; n < num_params + 1; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 755s # GVariant *changed_properties, 755s # const gchar *const *invalidated_properties) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 755s # guint n; 755s # const gchar *key; 755s # GVariantIter *iter; 755s # _ExtendedGDBusPropertyInfo *info; 755s # g_variant_get (changed_properties, "a{sv}", &iter); 755s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 755s # g_datalist_remove_data (&proxy->priv->qdata, key); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # g_variant_iter_free (iter); 755s # for (n = 0; invalidated_properties[n] != NULL; n++) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 755s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 755s # #else 755s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 755s # #endif 755s # 755s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusProxyClass *proxy_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 755s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 755s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 755s # 755s # proxy_class = G_DBUS_PROXY_CLASS (klass); 755s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 755s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_sync: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_sync ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new_for_bus ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_sync: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_sync ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeleton: 755s # * 755s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeletonClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceSkeletonPrivate 755s # { 755s # GValue *properties; 755s # GList *changed_properties; 755s # GSource *changed_properties_idle_source; 755s # GMainContext *context; 755s # GMutex lock; 755s # }; 755s # 755s # static void 755s # _org_project_signaling_iface_skeleton_handle_method_call ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name, 755s # const gchar *method_name, 755s # GVariant *parameters, 755s # GDBusMethodInvocation *invocation, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # _ExtendedGDBusMethodInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # guint num_extra; 755s # gsize n; 755s # guint signal_id; 755s # GValue return_value = G_VALUE_INIT; 755s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 755s # g_assert (info != NULL); 755s # num_params = g_variant_n_children (parameters); 755s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 755s # n = 0; 755s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[n++], skeleton); 755s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 755s # g_value_set_object (¶mv[n++], invocation); 755s # if (info->pass_fdlist) 755s # { 755s # #ifdef G_OS_UNIX 755s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 755s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 755s # #else 755s # g_assert_not_reached (); 755s # #endif 755s # } 755s # g_variant_iter_init (&iter, parameters); 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_init (&return_value, G_TYPE_BOOLEAN); 755s # g_signal_emitv (paramv, signal_id, 0, &return_value); 755s # if (!g_value_get_boolean (&return_value)) 755s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 755s # g_value_unset (&return_value); 755s # for (n = 0; n < num_params + num_extra; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static GVariant * 755s # _org_project_signaling_iface_skeleton_handle_get_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # GVariant *ret; 755s # ret = NULL; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # g_value_init (&value, pspec->value_type); 755s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 755s # g_value_unset (&value); 755s # } 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _org_project_signaling_iface_skeleton_handle_set_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GVariant *variant, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # gboolean ret; 755s # ret = FALSE; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # if (info->use_gvariant) 755s # g_value_set_variant (&value, variant); 755s # else 755s # g_dbus_gvariant_to_gvalue (variant, &value); 755s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # g_value_unset (&value); 755s # ret = TRUE; 755s # } 755s # return ret; 755s # } 755s # 755s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 755s # { 755s # _org_project_signaling_iface_skeleton_handle_method_call, 755s # _org_project_signaling_iface_skeleton_handle_get_property, 755s # _org_project_signaling_iface_skeleton_handle_set_property, 755s # {NULL} 755s # }; 755s # 755s # static GDBusInterfaceInfo * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return org_project_signaling_iface_interface_info (); 755s # } 755s # 755s # static GDBusInterfaceVTable * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 755s # } 755s # 755s # static GVariant * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 755s # 755s # GVariantBuilder builder; 755s # guint n; 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 755s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #else 755s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #endif 755s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 755s # goto out; 755s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 755s # { 755s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 755s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 755s # { 755s # GVariant *value; 755s # 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); 755s # if (value != NULL) 755s # { 755s # g_variant_take_ref (value); 755s # g_variant_builder_add (&builder, "{sv}", info->name, value); 755s # g_variant_unref (value); 755s # } 755s # } 755s # } 755s # out: 755s # return g_variant_builder_end (&builder); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 755s # OrgProjectSignalingIface *object, 755s # const gchar *arg_arg_s) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 755s # arg_arg_s)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_skeleton_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 755s # if (skeleton->priv->changed_properties_idle_source != NULL) 755s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 755s # g_main_context_unref (skeleton->priv->context); 755s # g_mutex_clear (&skeleton->priv->lock); 755s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 755s # #else 755s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 755s # #endif 755s # 755s # g_mutex_init (&skeleton->priv->lock); 755s # skeleton->priv->context = g_main_context_ref_thread_default (); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusInterfaceSkeletonClass *skeleton_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 755s # 755s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 755s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 755s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 755s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 755s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 755s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_skeleton_new: 755s # * 755s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_skeleton_new (void) 755s # { 755s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 755s # } 755s # Error: 755s # 755s # /tmp/tmpcyoquvv4/tmp3xb55gnh.xml: 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcyoquvv4/tmp3xb55gnh.xml', '--output', '-', '--body'] 755s # Return code: 0 755s # Output: 755s # /* 755s # * This file is generated by gdbus-codegen, do not modify it. 755s # * 755s # * The license of this code is the same as for the D-Bus interface description 755s # * it was derived from. Note that it links to GLib, so must comply with the 755s # * LGPL linking clauses. 755s # */ 755s # 755s # #ifdef HAVE_CONFIG_H 755s # # include "config.h" 755s # #endif 755s # 755s # #include 755s # #ifdef G_OS_UNIX 755s # # include 755s # #endif 755s # 755s # #ifdef G_ENABLE_DEBUG 755s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 755s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 755s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 755s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 755s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 755s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 755s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 755s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 755s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 755s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 755s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 755s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 755s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 755s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 755s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 755s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 755s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 755s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 755s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 755s # #else /* !G_ENABLE_DEBUG */ 755s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 755s # * Do not access GValues directly in your code. Instead, use the 755s # * g_value_get_*() functions 755s # */ 755s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 755s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 755s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 755s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 755s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 755s # #endif /* !G_ENABLE_DEBUG */ 755s # 755s # typedef struct 755s # { 755s # GDBusArgInfo parent_struct; 755s # gboolean use_gvariant; 755s # } _ExtendedGDBusArgInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusMethodInfo parent_struct; 755s # const gchar *signal_name; 755s # gboolean pass_fdlist; 755s # } _ExtendedGDBusMethodInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusSignalInfo parent_struct; 755s # const gchar *signal_name; 755s # } _ExtendedGDBusSignalInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusPropertyInfo parent_struct; 755s # const gchar *hyphen_name; 755s # guint use_gvariant : 1; 755s # guint emits_changed_signal : 1; 755s # } _ExtendedGDBusPropertyInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusInterfaceInfo parent_struct; 755s # const gchar *hyphen_name; 755s # } _ExtendedGDBusInterfaceInfo; 755s # 755s # typedef struct 755s # { 755s # const _ExtendedGDBusPropertyInfo *info; 755s # guint prop_id; 755s # GValue orig_value; /* the value before the change */ 755s # } ChangedProperty; 755s # 755s # static void 755s # _changed_property_free (ChangedProperty *data) 755s # { 755s # g_value_unset (&data->orig_value); 755s # g_free (data); 755s # } 755s # 755s # static gboolean 755s # _g_strv_equal0 (gchar **a, gchar **b) 755s # { 755s # gboolean ret = FALSE; 755s # guint n; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # if (g_strv_length (a) != g_strv_length (b)) 755s # goto out; 755s # for (n = 0; a[n] != NULL; n++) 755s # if (g_strcmp0 (a[n], b[n]) != 0) 755s # goto out; 755s # ret = TRUE; 755s # out: 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _g_variant_equal0 (GVariant *a, GVariant *b) 755s # { 755s # gboolean ret = FALSE; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # ret = g_variant_equal (a, b); 755s # out: 755s # return ret; 755s # } 755s # 755s # G_GNUC_UNUSED static gboolean 755s # _g_value_equal (const GValue *a, const GValue *b) 755s # { 755s # gboolean ret = FALSE; 755s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 755s # switch (G_VALUE_TYPE (a)) 755s # { 755s # case G_TYPE_BOOLEAN: 755s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 755s # break; 755s # case G_TYPE_UCHAR: 755s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 755s # break; 755s # case G_TYPE_INT: 755s # ret = (g_value_get_int (a) == g_value_get_int (b)); 755s # break; 755s # case G_TYPE_UINT: 755s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 755s # break; 755s # case G_TYPE_INT64: 755s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 755s # break; 755s # case G_TYPE_UINT64: 755s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 755s # break; 755s # case G_TYPE_DOUBLE: 755s # { 755s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 755s # gdouble da = g_value_get_double (a); 755s # gdouble db = g_value_get_double (b); 755s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 755s # } 755s # break; 755s # case G_TYPE_STRING: 755s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 755s # break; 755s # case G_TYPE_VARIANT: 755s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 755s # break; 755s # default: 755s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 755s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 755s # else 755s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 755s # break; 755s # } 755s # return ret; 755s # } 755s # 755s # /* ------------------------------------------------------------------------ 755s # * Code for interface org.project.SignalingIface 755s # * ------------------------------------------------------------------------ 755s # */ 755s # 755s # /** 755s # * SECTION:OrgProjectSignalingIface 755s # * @title: OrgProjectSignalingIface 755s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 755s # * 755s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 755s # */ 755s # 755s # enum 755s # { 755s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 755s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 755s # }; 755s # 755s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 755s # 755s # /* ---- Introspection data for org.project.SignalingIface ---- */ 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SimpleSignal", 755s # NULL, 755s # NULL 755s # }, 755s # "simple-signal" 755s # }; 755s # 755s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 755s # { 755s # { 755s # -1, 755s # (gchar *) "arg_o", 755s # (gchar *) "o", 755s # NULL 755s # }, 755s # FALSE 755s # }; 755s # 755s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SingleArgSignalO", 755s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 755s # NULL 755s # }, 755s # "single-arg-signal-o" 755s # }; 755s # 755s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 755s # { 755s # { 755s # -1, 755s # (gchar *) "org.project.SignalingIface", 755s # NULL, 755s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 755s # NULL, 755s # NULL 755s # }, 755s # "org-project-signaling-iface", 755s # }; 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_interface_info: 755s # * 755s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 755s # * 755s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 755s # */ 755s # GDBusInterfaceInfo * 755s # org_project_signaling_iface_interface_info (void) 755s # { 755s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_override_properties: 755s # * @klass: The class structure for a #GObject derived class. 755s # * @property_id_begin: The property id to assign to the first overridden property. 755s # * 755s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 755s # * The properties are overridden in the order they are defined. 755s # * 755s # * Returns: The last property id. 755s # */ 755s # guint 755s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 755s # { 755s # return property_id_begin - 1; 755s # } 755s # 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_simple_signal ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__VOID (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__STRING (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # 755s # /** 755s # * OrgProjectSignalingIface: 755s # * 755s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceIface: 755s # * @parent_iface: The parent interface. 755s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 755s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 755s # * 755s # * Virtual table for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 755s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 755s # 755s # static void 755s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # /* GObject signals for received D-Bus signals: */ 755s # /** 755s # * OrgProjectSignalingIface::simple-signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 755s # g_signal_new ("simple-signal", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_simple_signal, 755s # G_TYPE_NONE, 755s # 0); 755s # 755s # /** 755s # * OrgProjectSignalingIface::single-arg-signal-o: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_o: Argument. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 755s # g_signal_new ("single-arg-signal-o", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 755s # G_TYPE_NONE, 755s # 1, G_TYPE_STRING); 755s # 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_simple_signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * Emits the "SimpleSignal" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_o: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_o: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalO" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_o ( 755s # OrgProjectSignalingIface *object, 755s # const gchar *arg_arg_o) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxy: 755s # * 755s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxyClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceProxy. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceProxyPrivate 755s # { 755s # GData *qdata; 755s # }; 755s # 755s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_proxy_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 755s # g_datalist_clear (&proxy->priv->qdata); 755s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # const GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 755s # const gchar *sender_name G_GNUC_UNUSED, 755s # const gchar *signal_name, 755s # GVariant *parameters) 755s # { 755s # _ExtendedGDBusSignalInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # gsize n; 755s # guint signal_id; 755s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 755s # if (info == NULL) 755s # return; 755s # num_params = g_variant_n_children (parameters); 755s # paramv = g_new0 (GValue, num_params + 1); 755s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[0], proxy); 755s # g_variant_iter_init (&iter, parameters); 755s # n = 1; 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_signal_emitv (paramv, signal_id, 0, NULL); 755s # for (n = 0; n < num_params + 1; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 755s # GVariant *changed_properties, 755s # const gchar *const *invalidated_properties) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 755s # guint n; 755s # const gchar *key; 755s # GVariantIter *iter; 755s # _ExtendedGDBusPropertyInfo *info; 755s # g_variant_get (changed_properties, "a{sv}", &iter); 755s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 755s # g_datalist_remove_data (&proxy->priv->qdata, key); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # g_variant_iter_free (iter); 755s # for (n = 0; invalidated_properties[n] != NULL; n++) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 755s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 755s # #else 755s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 755s # #endif 755s # 755s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusProxyClass *proxy_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 755s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 755s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 755s # 755s # proxy_class = G_DBUS_PROXY_CLASS (klass); 755s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 755s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_sync: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_sync ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new_for_bus ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_sync: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_sync ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeleton: 755s # * 755s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeletonClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceSkeletonPrivate 755s # { 755s # GValue *properties; 755s # GList *changed_properties; 755s # GSource *changed_properties_idle_source; 755s # GMainContext *context; 755s # GMutex lock; 755s # }; 755s # 755s # static void 755s # _org_project_signaling_iface_skeleton_handle_method_call ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name, 755s # const gchar *method_name, 755s # GVariant *parameters, 755s # GDBusMethodInvocation *invocation, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # _ExtendedGDBusMethodInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # guint num_extra; 755s # gsize n; 755s # guint signal_id; 755s # GValue return_value = G_VALUE_INIT; 755s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 755s # g_assert (info != NULL); 755s # num_params = g_variant_n_children (parameters); 755s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 755s # n = 0; 755s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[n++], skeleton); 755s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 755s # g_value_set_object (¶mv[n++], invocation); 755s # if (info->pass_fdlist) 755s # { 755s # #ifdef G_OS_UNIX 755s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 755s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 755s # #else 755s # g_assert_not_reached (); 755s # #endif 755s # } 755s # g_variant_iter_init (&iter, parameters); 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_init (&return_value, G_TYPE_BOOLEAN); 755s # g_signal_emitv (paramv, signal_id, 0, &return_value); 755s # if (!g_value_get_boolean (&return_value)) 755s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 755s # g_value_unset (&return_value); 755s # for (n = 0; n < num_params + num_extra; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static GVariant * 755s # _org_project_signaling_iface_skeleton_handle_get_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # GVariant *ret; 755s # ret = NULL; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # g_value_init (&value, pspec->value_type); 755s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 755s # g_value_unset (&value); 755s # } 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _org_project_signaling_iface_skeleton_handle_set_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GVariant *variant, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # gboolean ret; 755s # ret = FALSE; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # if (info->use_gvariant) 755s # g_value_set_variant (&value, variant); 755s # else 755s # g_dbus_gvariant_to_gvalue (variant, &value); 755s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # g_value_unset (&value); 755s # ret = TRUE; 755s # } 755s # return ret; 755s # } 755s # 755s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 755s # { 755s # _org_project_signaling_iface_skeleton_handle_method_call, 755s # _org_project_signaling_iface_skeleton_handle_get_property, 755s # _org_project_signaling_iface_skeleton_handle_set_property, 755s # {NULL} 755s # }; 755s # 755s # static GDBusInterfaceInfo * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return org_project_signaling_iface_interface_info (); 755s # } 755s # 755s # static GDBusInterfaceVTable * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 755s # } 755s # 755s # static GVariant * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 755s # 755s # GVariantBuilder builder; 755s # guint n; 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 755s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #else 755s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #endif 755s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 755s # goto out; 755s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 755s # { 755s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 755s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 755s # { 755s # GVariant *value; 755s # 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); 755s # if (value != NULL) 755s # { 755s # g_variant_take_ref (value); 755s # g_variant_builder_add (&builder, "{sv}", info->name, value); 755s # g_variant_unref (value); 755s # } 755s # } 755s # } 755s # out: 755s # return g_variant_builder_end (&builder); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 755s # OrgProjectSignalingIface *object, 755s # const gchar *arg_arg_o) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 755s # arg_arg_o)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_skeleton_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 755s # if (skeleton->priv->changed_properties_idle_source != NULL) 755s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 755s # g_main_context_unref (skeleton->priv->context); 755s # g_mutex_clear (&skeleton->priv->lock); 755s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 755s # #else 755s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 755s # #endif 755s # 755s # g_mutex_init (&skeleton->priv->lock); 755s # skeleton->priv->context = g_main_context_ref_thread_default (); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusInterfaceSkeletonClass *skeleton_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 755s # 755s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 755s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 755s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 755s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 755s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 755s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_skeleton_new: 755s # * 755s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_skeleton_new (void) 755s # { 755s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 755s # } 755s # Error: 755s # 755s # /tmp/tmpcyoquvv4/tmpwv_vy71e.xml: 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcyoquvv4/tmpwv_vy71e.xml', '--output', '-', '--body'] 755s # Return code: 0 755s # Output: 755s # /* 755s # * This file is generated by gdbus-codegen, do not modify it. 755s # * 755s # * The license of this code is the same as for the D-Bus interface description 755s # * it was derived from. Note that it links to GLib, so must comply with the 755s # * LGPL linking clauses. 755s # */ 755s # 755s # #ifdef HAVE_CONFIG_H 755s # # include "config.h" 755s # #endif 755s # 755s # #include 755s # #ifdef G_OS_UNIX 755s # # include 755s # #endif 755s # 755s # #ifdef G_ENABLE_DEBUG 755s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 755s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 755s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 755s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 755s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 755s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 755s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 755s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 755s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 755s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 755s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 755s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 755s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 755s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 755s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 755s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 755s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 755s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 755s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 755s # #else /* !G_ENABLE_DEBUG */ 755s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 755s # * Do not access GValues directly in your code. Instead, use the 755s # * g_value_get_*() functions 755s # */ 755s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 755s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 755s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 755s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 755s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 755s # #endif /* !G_ENABLE_DEBUG */ 755s # 755s # typedef struct 755s # { 755s # GDBusArgInfo parent_struct; 755s # gboolean use_gvariant; 755s # } _ExtendedGDBusArgInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusMethodInfo parent_struct; 755s # const gchar *signal_name; 755s # gboolean pass_fdlist; 755s # } _ExtendedGDBusMethodInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusSignalInfo parent_struct; 755s # const gchar *signal_name; 755s # } _ExtendedGDBusSignalInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusPropertyInfo parent_struct; 755s # const gchar *hyphen_name; 755s # guint use_gvariant : 1; 755s # guint emits_changed_signal : 1; 755s # } _ExtendedGDBusPropertyInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusInterfaceInfo parent_struct; 755s # const gchar *hyphen_name; 755s # } _ExtendedGDBusInterfaceInfo; 755s # 755s # typedef struct 755s # { 755s # const _ExtendedGDBusPropertyInfo *info; 755s # guint prop_id; 755s # GValue orig_value; /* the value before the change */ 755s # } ChangedProperty; 755s # 755s # static void 755s # _changed_property_free (ChangedProperty *data) 755s # { 755s # g_value_unset (&data->orig_value); 755s # g_free (data); 755s # } 755s # 755s # static gboolean 755s # _g_strv_equal0 (gchar **a, gchar **b) 755s # { 755s # gboolean ret = FALSE; 755s # guint n; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # if (g_strv_length (a) != g_strv_length (b)) 755s # goto out; 755s # for (n = 0; a[n] != NULL; n++) 755s # if (g_strcmp0 (a[n], b[n]) != 0) 755s # goto out; 755s # ret = TRUE; 755s # out: 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _g_variant_equal0 (GVariant *a, GVariant *b) 755s # { 755s # gboolean ret = FALSE; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # ret = g_variant_equal (a, b); 755s # out: 755s # return ret; 755s # } 755s # 755s # G_GNUC_UNUSED static gboolean 755s # _g_value_equal (const GValue *a, const GValue *b) 755s # { 755s # gboolean ret = FALSE; 755s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 755s # switch (G_VALUE_TYPE (a)) 755s # { 755s # case G_TYPE_BOOLEAN: 755s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 755s # break; 755s # case G_TYPE_UCHAR: 755s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 755s # break; 755s # case G_TYPE_INT: 755s # ret = (g_value_get_int (a) == g_value_get_int (b)); 755s # break; 755s # case G_TYPE_UINT: 755s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 755s # break; 755s # case G_TYPE_INT64: 755s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 755s # break; 755s # case G_TYPE_UINT64: 755s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 755s # break; 755s # case G_TYPE_DOUBLE: 755s # { 755s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 755s # gdouble da = g_value_get_double (a); 755s # gdouble db = g_value_get_double (b); 755s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 755s # } 755s # break; 755s # case G_TYPE_STRING: 755s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 755s # break; 755s # case G_TYPE_VARIANT: 755s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 755s # break; 755s # default: 755s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 755s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 755s # else 755s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 755s # break; 755s # } 755s # return ret; 755s # } 755s # 755s # /* ------------------------------------------------------------------------ 755s # * Code for interface org.project.SignalingIface 755s # * ------------------------------------------------------------------------ 755s # */ 755s # 755s # /** 755s # * SECTION:OrgProjectSignalingIface 755s # * @title: OrgProjectSignalingIface 755s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 755s # * 755s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 755s # */ 755s # 755s # enum 755s # { 755s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 755s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 755s # }; 755s # 755s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 755s # 755s # /* ---- Introspection data for org.project.SignalingIface ---- */ 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SimpleSignal", 755s # NULL, 755s # NULL 755s # }, 755s # "simple-signal" 755s # }; 755s # 755s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 755s # { 755s # { 755s # -1, 755s # (gchar *) "arg_g", 755s # (gchar *) "g", 755s # NULL 755s # }, 755s # FALSE 755s # }; 755s # 755s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SingleArgSignalG", 755s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 755s # NULL 755s # }, 755s # "single-arg-signal-g" 755s # }; 755s # 755s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 755s # { 755s # { 755s # -1, 755s # (gchar *) "org.project.SignalingIface", 755s # NULL, 755s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 755s # NULL, 755s # NULL 755s # }, 755s # "org-project-signaling-iface", 755s # }; 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_interface_info: 755s # * 755s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 755s # * 755s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 755s # */ 755s # GDBusInterfaceInfo * 755s # org_project_signaling_iface_interface_info (void) 755s # { 755s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_override_properties: 755s # * @klass: The class structure for a #GObject derived class. 755s # * @property_id_begin: The property id to assign to the first overridden property. 755s # * 755s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 755s # * The properties are overridden in the order they are defined. 755s # * 755s # * Returns: The last property id. 755s # */ 755s # guint 755s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 755s # { 755s # return property_id_begin - 1; 755s # } 755s # 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_simple_signal ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__VOID (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__STRING (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # 755s # /** 755s # * OrgProjectSignalingIface: 755s # * 755s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceIface: 755s # * @parent_iface: The parent interface. 755s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 755s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 755s # * 755s # * Virtual table for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 755s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 755s # 755s # static void 755s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # /* GObject signals for received D-Bus signals: */ 755s # /** 755s # * OrgProjectSignalingIface::simple-signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 755s # g_signal_new ("simple-signal", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_simple_signal, 755s # G_TYPE_NONE, 755s # 0); 755s # 755s # /** 755s # * OrgProjectSignalingIface::single-arg-signal-g: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_g: Argument. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 755s # g_signal_new ("single-arg-signal-g", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 755s # G_TYPE_NONE, 755s # 1, G_TYPE_STRING); 755s # 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_simple_signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * Emits the "SimpleSignal" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_g: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_g: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalG" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_g ( 755s # OrgProjectSignalingIface *object, 755s # const gchar *arg_arg_g) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxy: 755s # * 755s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxyClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceProxy. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceProxyPrivate 755s # { 755s # GData *qdata; 755s # }; 755s # 755s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_proxy_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 755s # g_datalist_clear (&proxy->priv->qdata); 755s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # const GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 755s # const gchar *sender_name G_GNUC_UNUSED, 755s # const gchar *signal_name, 755s # GVariant *parameters) 755s # { 755s # _ExtendedGDBusSignalInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # gsize n; 755s # guint signal_id; 755s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 755s # if (info == NULL) 755s # return; 755s # num_params = g_variant_n_children (parameters); 755s # paramv = g_new0 (GValue, num_params + 1); 755s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[0], proxy); 755s # g_variant_iter_init (&iter, parameters); 755s # n = 1; 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_signal_emitv (paramv, signal_id, 0, NULL); 755s # for (n = 0; n < num_params + 1; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 755s # GVariant *changed_properties, 755s # const gchar *const *invalidated_properties) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 755s # guint n; 755s # const gchar *key; 755s # GVariantIter *iter; 755s # _ExtendedGDBusPropertyInfo *info; 755s # g_variant_get (changed_properties, "a{sv}", &iter); 755s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 755s # g_datalist_remove_data (&proxy->priv->qdata, key); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # g_variant_iter_free (iter); 755s # for (n = 0; invalidated_properties[n] != NULL; n++) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 755s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 755s # #else 755s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 755s # #endif 755s # 755s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusProxyClass *proxy_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 755s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 755s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 755s # 755s # proxy_class = G_DBUS_PROXY_CLASS (klass); 755s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 755s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_sync: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_sync ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new_for_bus ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_sync: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_sync ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeleton: 755s # * 755s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeletonClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceSkeletonPrivate 755s # { 755s # GValue *properties; 755s # GList *changed_properties; 755s # GSource *changed_properties_idle_source; 755s # GMainContext *context; 755s # GMutex lock; 755s # }; 755s # 755s # static void 755s # _org_project_signaling_iface_skeleton_handle_method_call ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name, 755s # const gchar *method_name, 755s # GVariant *parameters, 755s # GDBusMethodInvocation *invocation, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # _ExtendedGDBusMethodInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # guint num_extra; 755s # gsize n; 755s # guint signal_id; 755s # GValue return_value = G_VALUE_INIT; 755s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 755s # g_assert (info != NULL); 755s # num_params = g_variant_n_children (parameters); 755s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 755s # n = 0; 755s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[n++], skeleton); 755s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 755s # g_value_set_object (¶mv[n++], invocation); 755s # if (info->pass_fdlist) 755s # { 755s # #ifdef G_OS_UNIX 755s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 755s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 755s # #else 755s # g_assert_not_reached (); 755s # #endif 755s # } 755s # g_variant_iter_init (&iter, parameters); 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_init (&return_value, G_TYPE_BOOLEAN); 755s # g_signal_emitv (paramv, signal_id, 0, &return_value); 755s # if (!g_value_get_boolean (&return_value)) 755s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 755s # g_value_unset (&return_value); 755s # for (n = 0; n < num_params + num_extra; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static GVariant * 755s # _org_project_signaling_iface_skeleton_handle_get_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # GVariant *ret; 755s # ret = NULL; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # g_value_init (&value, pspec->value_type); 755s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 755s # g_value_unset (&value); 755s # } 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _org_project_signaling_iface_skeleton_handle_set_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GVariant *variant, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # gboolean ret; 755s # ret = FALSE; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # if (info->use_gvariant) 755s # g_value_set_variant (&value, variant); 755s # else 755s # g_dbus_gvariant_to_gvalue (variant, &value); 755s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # g_value_unset (&value); 755s # ret = TRUE; 755s # } 755s # return ret; 755s # } 755s # 755s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 755s # { 755s # _org_project_signaling_iface_skeleton_handle_method_call, 755s # _org_project_signaling_iface_skeleton_handle_get_property, 755s # _org_project_signaling_iface_skeleton_handle_set_property, 755s # {NULL} 755s # }; 755s # 755s # static GDBusInterfaceInfo * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return org_project_signaling_iface_interface_info (); 755s # } 755s # 755s # static GDBusInterfaceVTable * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 755s # } 755s # 755s # static GVariant * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 755s # 755s # GVariantBuilder builder; 755s # guint n; 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 755s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #else 755s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #endif 755s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 755s # goto out; 755s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 755s # { 755s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 755s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 755s # { 755s # GVariant *value; 755s # 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); 755s # if (value != NULL) 755s # { 755s # g_variant_take_ref (value); 755s # g_variant_builder_add (&builder, "{sv}", info->name, value); 755s # g_variant_unref (value); 755s # } 755s # } 755s # } 755s # out: 755s # return g_variant_builder_end (&builder); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 755s # OrgProjectSignalingIface *object, 755s # const gchar *arg_arg_g) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 755s # arg_arg_g)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_skeleton_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 755s # if (skeleton->priv->changed_properties_idle_source != NULL) 755s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 755s # g_main_context_unref (skeleton->priv->context); 755s # g_mutex_clear (&skeleton->priv->lock); 755s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 755s # #else 755s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 755s # #endif 755s # 755s # g_mutex_init (&skeleton->priv->lock); 755s # skeleton->priv->context = g_main_context_ref_thread_default (); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusInterfaceSkeletonClass *skeleton_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 755s # 755s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 755s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 755s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 755s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 755s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 755s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_skeleton_new: 755s # * 755s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_skeleton_new (void) 755s # { 755s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 755s # } 755s # Error: 755s # 755s # /tmp/tmpcyoquvv4/tmpdsyepvsv.xml: 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcyoquvv4/tmpdsyepvsv.xml', '--output', '-', '--body'] 755s # Return code: 0 755s # Output: 755s # /* 755s # * This file is generated by gdbus-codegen, do not modify it. 755s # * 755s # * The license of this code is the same as for the D-Bus interface description 755s # * it was derived from. Note that it links to GLib, so must comply with the 755s # * LGPL linking clauses. 755s # */ 755s # 755s # #ifdef HAVE_CONFIG_H 755s # # include "config.h" 755s # #endif 755s # 755s # #include 755s # #ifdef G_OS_UNIX 755s # # include 755s # #endif 755s # 755s # #ifdef G_ENABLE_DEBUG 755s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 755s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 755s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 755s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 755s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 755s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 755s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 755s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 755s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 755s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 755s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 755s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 755s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 755s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 755s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 755s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 755s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 755s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 755s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 755s # #else /* !G_ENABLE_DEBUG */ 755s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 755s # * Do not access GValues directly in your code. Instead, use the 755s # * g_value_get_*() functions 755s # */ 755s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 755s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 755s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 755s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 755s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 755s # #endif /* !G_ENABLE_DEBUG */ 755s # 755s # typedef struct 755s # { 755s # GDBusArgInfo parent_struct; 755s # gboolean use_gvariant; 755s # } _ExtendedGDBusArgInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusMethodInfo parent_struct; 755s # const gchar *signal_name; 755s # gboolean pass_fdlist; 755s # } _ExtendedGDBusMethodInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusSignalInfo parent_struct; 755s # const gchar *signal_name; 755s # } _ExtendedGDBusSignalInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusPropertyInfo parent_struct; 755s # const gchar *hyphen_name; 755s # guint use_gvariant : 1; 755s # guint emits_changed_signal : 1; 755s # } _ExtendedGDBusPropertyInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusInterfaceInfo parent_struct; 755s # const gchar *hyphen_name; 755s # } _ExtendedGDBusInterfaceInfo; 755s # 755s # typedef struct 755s # { 755s # const _ExtendedGDBusPropertyInfo *info; 755s # guint prop_id; 755s # GValue orig_value; /* the value before the change */ 755s # } ChangedProperty; 755s # 755s # static void 755s # _changed_property_free (ChangedProperty *data) 755s # { 755s # g_value_unset (&data->orig_value); 755s # g_free (data); 755s # } 755s # 755s # static gboolean 755s # _g_strv_equal0 (gchar **a, gchar **b) 755s # { 755s # gboolean ret = FALSE; 755s # guint n; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # if (g_strv_length (a) != g_strv_length (b)) 755s # goto out; 755s # for (n = 0; a[n] != NULL; n++) 755s # if (g_strcmp0 (a[n], b[n]) != 0) 755s # goto out; 755s # ret = TRUE; 755s # out: 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _g_variant_equal0 (GVariant *a, GVariant *b) 755s # { 755s # gboolean ret = FALSE; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # ret = g_variant_equal (a, b); 755s # out: 755s # return ret; 755s # } 755s # 755s # G_GNUC_UNUSED static gboolean 755s # _g_value_equal (const GValue *a, const GValue *b) 755s # { 755s # gboolean ret = FALSE; 755s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 755s # switch (G_VALUE_TYPE (a)) 755s # { 755s # case G_TYPE_BOOLEAN: 755s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 755s # break; 755s # case G_TYPE_UCHAR: 755s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 755s # break; 755s # case G_TYPE_INT: 755s # ret = (g_value_get_int (a) == g_value_get_int (b)); 755s # break; 755s # case G_TYPE_UINT: 755s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 755s # break; 755s # case G_TYPE_INT64: 755s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 755s # break; 755s # case G_TYPE_UINT64: 755s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 755s # break; 755s # case G_TYPE_DOUBLE: 755s # { 755s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 755s # gdouble da = g_value_get_double (a); 755s # gdouble db = g_value_get_double (b); 755s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 755s # } 755s # break; 755s # case G_TYPE_STRING: 755s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 755s # break; 755s # case G_TYPE_VARIANT: 755s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 755s # break; 755s # default: 755s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 755s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 755s # else 755s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 755s # break; 755s # } 755s # return ret; 755s # } 755s # 755s # /* ------------------------------------------------------------------------ 755s # * Code for interface org.project.SignalingIface 755s # * ------------------------------------------------------------------------ 755s # */ 755s # 755s # /** 755s # * SECTION:OrgProjectSignalingIface 755s # * @title: OrgProjectSignalingIface 755s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 755s # * 755s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 755s # */ 755s # 755s # enum 755s # { 755s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 755s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 755s # }; 755s # 755s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 755s # 755s # /* ---- Introspection data for org.project.SignalingIface ---- */ 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SimpleSignal", 755s # NULL, 755s # NULL 755s # }, 755s # "simple-signal" 755s # }; 755s # 755s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 755s # { 755s # { 755s # -1, 755s # (gchar *) "arg_h", 755s # (gchar *) "h", 755s # NULL 755s # }, 755s # FALSE 755s # }; 755s # 755s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SingleArgSignalH", 755s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 755s # NULL 755s # }, 755s # "single-arg-signal-h" 755s # }; 755s # 755s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 755s # { 755s # { 755s # -1, 755s # (gchar *) "org.project.SignalingIface", 755s # NULL, 755s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 755s # NULL, 755s # NULL 755s # }, 755s # "org-project-signaling-iface", 755s # }; 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_interface_info: 755s # * 755s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 755s # * 755s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 755s # */ 755s # GDBusInterfaceInfo * 755s # org_project_signaling_iface_interface_info (void) 755s # { 755s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_override_properties: 755s # * @klass: The class structure for a #GObject derived class. 755s # * @property_id_begin: The property id to assign to the first overridden property. 755s # * 755s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 755s # * The properties are overridden in the order they are defined. 755s # * 755s # * Returns: The last property id. 755s # */ 755s # guint 755s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 755s # { 755s # return property_id_begin - 1; 755s # } 755s # 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_simple_signal ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__VOID (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__VARIANT (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # 755s # /** 755s # * OrgProjectSignalingIface: 755s # * 755s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceIface: 755s # * @parent_iface: The parent interface. 755s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 755s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 755s # * 755s # * Virtual table for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 755s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 755s # 755s # static void 755s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # /* GObject signals for received D-Bus signals: */ 755s # /** 755s # * OrgProjectSignalingIface::simple-signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 755s # g_signal_new ("simple-signal", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_simple_signal, 755s # G_TYPE_NONE, 755s # 0); 755s # 755s # /** 755s # * OrgProjectSignalingIface::single-arg-signal-h: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_h: Argument. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 755s # g_signal_new ("single-arg-signal-h", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 755s # G_TYPE_NONE, 755s # 1, G_TYPE_VARIANT); 755s # 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_simple_signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * Emits the "SimpleSignal" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_h: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_h: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalH" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_h ( 755s # OrgProjectSignalingIface *object, 755s # GVariant *arg_arg_h) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxy: 755s # * 755s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxyClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceProxy. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceProxyPrivate 755s # { 755s # GData *qdata; 755s # }; 755s # 755s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_proxy_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 755s # g_datalist_clear (&proxy->priv->qdata); 755s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # const GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 755s # const gchar *sender_name G_GNUC_UNUSED, 755s # const gchar *signal_name, 755s # GVariant *parameters) 755s # { 755s # _ExtendedGDBusSignalInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # gsize n; 755s # guint signal_id; 755s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 755s # if (info == NULL) 755s # return; 755s # num_params = g_variant_n_children (parameters); 755s # paramv = g_new0 (GValue, num_params + 1); 755s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[0], proxy); 755s # g_variant_iter_init (&iter, parameters); 755s # n = 1; 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_signal_emitv (paramv, signal_id, 0, NULL); 755s # for (n = 0; n < num_params + 1; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 755s # GVariant *changed_properties, 755s # const gchar *const *invalidated_properties) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 755s # guint n; 755s # const gchar *key; 755s # GVariantIter *iter; 755s # _ExtendedGDBusPropertyInfo *info; 755s # g_variant_get (changed_properties, "a{sv}", &iter); 755s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 755s # g_datalist_remove_data (&proxy->priv->qdata, key); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # g_variant_iter_free (iter); 755s # for (n = 0; invalidated_properties[n] != NULL; n++) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 755s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 755s # #else 755s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 755s # #endif 755s # 755s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusProxyClass *proxy_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 755s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 755s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 755s # 755s # proxy_class = G_DBUS_PROXY_CLASS (klass); 755s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 755s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_sync: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_sync ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new_for_bus ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus_sync: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_for_bus_sync ( 755s # GBusType bus_type, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeleton: 755s # * 755s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceSkeletonClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceSkeletonPrivate 755s # { 755s # GValue *properties; 755s # GList *changed_properties; 755s # GSource *changed_properties_idle_source; 755s # GMainContext *context; 755s # GMutex lock; 755s # }; 755s # 755s # static void 755s # _org_project_signaling_iface_skeleton_handle_method_call ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name, 755s # const gchar *method_name, 755s # GVariant *parameters, 755s # GDBusMethodInvocation *invocation, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # _ExtendedGDBusMethodInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # guint num_extra; 755s # gsize n; 755s # guint signal_id; 755s # GValue return_value = G_VALUE_INIT; 755s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 755s # g_assert (info != NULL); 755s # num_params = g_variant_n_children (parameters); 755s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 755s # n = 0; 755s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[n++], skeleton); 755s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 755s # g_value_set_object (¶mv[n++], invocation); 755s # if (info->pass_fdlist) 755s # { 755s # #ifdef G_OS_UNIX 755s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 755s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 755s # #else 755s # g_assert_not_reached (); 755s # #endif 755s # } 755s # g_variant_iter_init (&iter, parameters); 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_init (&return_value, G_TYPE_BOOLEAN); 755s # g_signal_emitv (paramv, signal_id, 0, &return_value); 755s # if (!g_value_get_boolean (&return_value)) 755s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 755s # g_value_unset (&return_value); 755s # for (n = 0; n < num_params + num_extra; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static GVariant * 755s # _org_project_signaling_iface_skeleton_handle_get_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # GVariant *ret; 755s # ret = NULL; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # g_value_init (&value, pspec->value_type); 755s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 755s # g_value_unset (&value); 755s # } 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _org_project_signaling_iface_skeleton_handle_set_property ( 755s # GDBusConnection *connection G_GNUC_UNUSED, 755s # const gchar *sender G_GNUC_UNUSED, 755s # const gchar *object_path G_GNUC_UNUSED, 755s # const gchar *interface_name G_GNUC_UNUSED, 755s # const gchar *property_name, 755s # GVariant *variant, 755s # GError **error, 755s # gpointer user_data) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 755s # GValue value = G_VALUE_INIT; 755s # GParamSpec *pspec; 755s # _ExtendedGDBusPropertyInfo *info; 755s # gboolean ret; 755s # ret = FALSE; 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 755s # g_assert (info != NULL); 755s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 755s # if (pspec == NULL) 755s # { 755s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 755s # } 755s # else 755s # { 755s # if (info->use_gvariant) 755s # g_value_set_variant (&value, variant); 755s # else 755s # g_dbus_gvariant_to_gvalue (variant, &value); 755s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 755s # g_value_unset (&value); 755s # ret = TRUE; 755s # } 755s # return ret; 755s # } 755s # 755s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 755s # { 755s # _org_project_signaling_iface_skeleton_handle_method_call, 755s # _org_project_signaling_iface_skeleton_handle_get_property, 755s # _org_project_signaling_iface_skeleton_handle_set_property, 755s # {NULL} 755s # }; 755s # 755s # static GDBusInterfaceInfo * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return org_project_signaling_iface_interface_info (); 755s # } 755s # 755s # static GDBusInterfaceVTable * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 755s # { 755s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 755s # } 755s # 755s # static GVariant * 755s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 755s # 755s # GVariantBuilder builder; 755s # guint n; 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 755s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #else 755s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 755s # #endif 755s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 755s # goto out; 755s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 755s # { 755s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 755s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 755s # { 755s # GVariant *value; 755s # 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); 755s # if (value != NULL) 755s # { 755s # g_variant_take_ref (value); 755s # g_variant_builder_add (&builder, "{sv}", info->name, value); 755s # g_variant_unref (value); 755s # } 755s # } 755s # } 755s # out: 755s # return g_variant_builder_end (&builder); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void 755s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 755s # OrgProjectSignalingIface *object, 755s # GVariant *arg_arg_h) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # 755s # GList *connections, *l; 755s # GVariant *signal_variant; 755s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 755s # 755s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 755s # arg_arg_h)); 755s # for (l = connections; l != NULL; l = l->next) 755s # { 755s # GDBusConnection *connection = l->data; 755s # g_dbus_connection_emit_signal (connection, 755s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 755s # signal_variant, NULL); 755s # } 755s # g_variant_unref (signal_variant); 755s # g_list_free_full (connections, g_object_unref); 755s # } 755s # 755s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_skeleton_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 755s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 755s # if (skeleton->priv->changed_properties_idle_source != NULL) 755s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 755s # g_main_context_unref (skeleton->priv->context); 755s # g_mutex_clear (&skeleton->priv->lock); 755s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 755s # #else 755s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 755s # #endif 755s # 755s # g_mutex_init (&skeleton->priv->lock); 755s # skeleton->priv->context = g_main_context_ref_thread_default (); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusInterfaceSkeletonClass *skeleton_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 755s # 755s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 755s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 755s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 755s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 755s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 755s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_skeleton_new: 755s # * 755s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_skeleton_new (void) 755s # { 755s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 755s # } 755s # Error: 755s # 755s # /tmp/tmpcyoquvv4/tmpa4k9z129.xml: 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # 755s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcyoquvv4/tmpa4k9z129.xml', '--output', '-', '--body'] 755s # Return code: 0 755s # Output: 755s # /* 755s # * This file is generated by gdbus-codegen, do not modify it. 755s # * 755s # * The license of this code is the same as for the D-Bus interface description 755s # * it was derived from. Note that it links to GLib, so must comply with the 755s # * LGPL linking clauses. 755s # */ 755s # 755s # #ifdef HAVE_CONFIG_H 755s # # include "config.h" 755s # #endif 755s # 755s # #include 755s # #ifdef G_OS_UNIX 755s # # include 755s # #endif 755s # 755s # #ifdef G_ENABLE_DEBUG 755s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 755s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 755s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 755s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 755s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 755s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 755s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 755s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 755s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 755s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 755s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 755s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 755s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 755s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 755s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 755s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 755s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 755s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 755s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 755s # #else /* !G_ENABLE_DEBUG */ 755s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 755s # * Do not access GValues directly in your code. Instead, use the 755s # * g_value_get_*() functions 755s # */ 755s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 755s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 755s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 755s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 755s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 755s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 755s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 755s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 755s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 755s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 755s # #endif /* !G_ENABLE_DEBUG */ 755s # 755s # typedef struct 755s # { 755s # GDBusArgInfo parent_struct; 755s # gboolean use_gvariant; 755s # } _ExtendedGDBusArgInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusMethodInfo parent_struct; 755s # const gchar *signal_name; 755s # gboolean pass_fdlist; 755s # } _ExtendedGDBusMethodInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusSignalInfo parent_struct; 755s # const gchar *signal_name; 755s # } _ExtendedGDBusSignalInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusPropertyInfo parent_struct; 755s # const gchar *hyphen_name; 755s # guint use_gvariant : 1; 755s # guint emits_changed_signal : 1; 755s # } _ExtendedGDBusPropertyInfo; 755s # 755s # typedef struct 755s # { 755s # GDBusInterfaceInfo parent_struct; 755s # const gchar *hyphen_name; 755s # } _ExtendedGDBusInterfaceInfo; 755s # 755s # typedef struct 755s # { 755s # const _ExtendedGDBusPropertyInfo *info; 755s # guint prop_id; 755s # GValue orig_value; /* the value before the change */ 755s # } ChangedProperty; 755s # 755s # static void 755s # _changed_property_free (ChangedProperty *data) 755s # { 755s # g_value_unset (&data->orig_value); 755s # g_free (data); 755s # } 755s # 755s # static gboolean 755s # _g_strv_equal0 (gchar **a, gchar **b) 755s # { 755s # gboolean ret = FALSE; 755s # guint n; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # if (g_strv_length (a) != g_strv_length (b)) 755s # goto out; 755s # for (n = 0; a[n] != NULL; n++) 755s # if (g_strcmp0 (a[n], b[n]) != 0) 755s # goto out; 755s # ret = TRUE; 755s # out: 755s # return ret; 755s # } 755s # 755s # static gboolean 755s # _g_variant_equal0 (GVariant *a, GVariant *b) 755s # { 755s # gboolean ret = FALSE; 755s # if (a == NULL && b == NULL) 755s # { 755s # ret = TRUE; 755s # goto out; 755s # } 755s # if (a == NULL || b == NULL) 755s # goto out; 755s # ret = g_variant_equal (a, b); 755s # out: 755s # return ret; 755s # } 755s # 755s # G_GNUC_UNUSED static gboolean 755s # _g_value_equal (const GValue *a, const GValue *b) 755s # { 755s # gboolean ret = FALSE; 755s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 755s # switch (G_VALUE_TYPE (a)) 755s # { 755s # case G_TYPE_BOOLEAN: 755s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 755s # break; 755s # case G_TYPE_UCHAR: 755s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 755s # break; 755s # case G_TYPE_INT: 755s # ret = (g_value_get_int (a) == g_value_get_int (b)); 755s # break; 755s # case G_TYPE_UINT: 755s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 755s # break; 755s # case G_TYPE_INT64: 755s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 755s # break; 755s # case G_TYPE_UINT64: 755s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 755s # break; 755s # case G_TYPE_DOUBLE: 755s # { 755s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 755s # gdouble da = g_value_get_double (a); 755s # gdouble db = g_value_get_double (b); 755s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 755s # } 755s # break; 755s # case G_TYPE_STRING: 755s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 755s # break; 755s # case G_TYPE_VARIANT: 755s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 755s # break; 755s # default: 755s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 755s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 755s # else 755s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 755s # break; 755s # } 755s # return ret; 755s # } 755s # 755s # /* ------------------------------------------------------------------------ 755s # * Code for interface org.project.SignalingIface 755s # * ------------------------------------------------------------------------ 755s # */ 755s # 755s # /** 755s # * SECTION:OrgProjectSignalingIface 755s # * @title: OrgProjectSignalingIface 755s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 755s # * 755s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 755s # */ 755s # 755s # enum 755s # { 755s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 755s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 755s # }; 755s # 755s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 755s # 755s # /* ---- Introspection data for org.project.SignalingIface ---- */ 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SimpleSignal", 755s # NULL, 755s # NULL 755s # }, 755s # "simple-signal" 755s # }; 755s # 755s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 755s # { 755s # { 755s # -1, 755s # (gchar *) "arg_ay", 755s # (gchar *) "ay", 755s # NULL 755s # }, 755s # FALSE 755s # }; 755s # 755s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 755s # { 755s # { 755s # -1, 755s # (gchar *) "SingleArgSignalAy", 755s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 755s # NULL 755s # }, 755s # "single-arg-signal-ay" 755s # }; 755s # 755s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 755s # { 755s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 755s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 755s # NULL 755s # }; 755s # 755s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 755s # { 755s # { 755s # -1, 755s # (gchar *) "org.project.SignalingIface", 755s # NULL, 755s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 755s # NULL, 755s # NULL 755s # }, 755s # "org-project-signaling-iface", 755s # }; 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_interface_info: 755s # * 755s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 755s # * 755s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 755s # */ 755s # GDBusInterfaceInfo * 755s # org_project_signaling_iface_interface_info (void) 755s # { 755s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_override_properties: 755s # * @klass: The class structure for a #GObject derived class. 755s # * @property_id_begin: The property id to assign to the first overridden property. 755s # * 755s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 755s # * The properties are overridden in the order they are defined. 755s # * 755s # * Returns: The last property id. 755s # */ 755s # guint 755s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 755s # { 755s # return property_id_begin - 1; 755s # } 755s # 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_simple_signal ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__VOID (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # inline static void 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 755s # GClosure *closure, 755s # GValue *return_value, 755s # unsigned int n_param_values, 755s # const GValue *param_values, 755s # void *invocation_hint, 755s # void *marshal_data) 755s # { 755s # g_cclosure_marshal_VOID__STRING (closure, 755s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 755s # } 755s # 755s # 755s # /** 755s # * OrgProjectSignalingIface: 755s # * 755s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceIface: 755s # * @parent_iface: The parent interface. 755s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 755s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 755s # * 755s # * Virtual table for the D-Bus interface org.project.SignalingIface. 755s # */ 755s # 755s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 755s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 755s # 755s # static void 755s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 755s # { 755s # /* GObject signals for received D-Bus signals: */ 755s # /** 755s # * OrgProjectSignalingIface::simple-signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 755s # g_signal_new ("simple-signal", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_simple_signal, 755s # G_TYPE_NONE, 755s # 0); 755s # 755s # /** 755s # * OrgProjectSignalingIface::single-arg-signal-ay: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_ay: Argument. 755s # * 755s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 755s # * 755s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 755s # */ 755s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 755s # g_signal_new ("single-arg-signal-ay", 755s # G_TYPE_FROM_INTERFACE (iface), 755s # G_SIGNAL_RUN_LAST, 755s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 755s # NULL, 755s # NULL, 755s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 755s # G_TYPE_NONE, 755s # 1, G_TYPE_STRING); 755s # 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_simple_signal: 755s # * @object: A #OrgProjectSignalingIface. 755s # * 755s # * Emits the "SimpleSignal" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_simple_signal ( 755s # OrgProjectSignalingIface *object) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_emit_single_arg_signal_ay: 755s # * @object: A #OrgProjectSignalingIface. 755s # * @arg_arg_ay: Argument to pass with the signal. 755s # * 755s # * Emits the "SingleArgSignalAy" D-Bus signal. 755s # */ 755s # void 755s # org_project_signaling_iface_emit_single_arg_signal_ay ( 755s # OrgProjectSignalingIface *object, 755s # const gchar *arg_arg_ay) 755s # { 755s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 755s # } 755s # 755s # /* ------------------------------------------------------------------------ */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxy: 755s # * 755s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 755s # */ 755s # 755s # /** 755s # * OrgProjectSignalingIfaceProxyClass: 755s # * @parent_class: The parent class. 755s # * 755s # * Class structure for #OrgProjectSignalingIfaceProxy. 755s # */ 755s # 755s # struct _OrgProjectSignalingIfaceProxyPrivate 755s # { 755s # GData *qdata; 755s # }; 755s # 755s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #else 755s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 755s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 755s # 755s # #endif 755s # static void 755s # org_project_signaling_iface_proxy_finalize (GObject *object) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 755s # g_datalist_clear (&proxy->priv->qdata); 755s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 755s # guint prop_id G_GNUC_UNUSED, 755s # const GValue *value G_GNUC_UNUSED, 755s # GParamSpec *pspec G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 755s # const gchar *sender_name G_GNUC_UNUSED, 755s # const gchar *signal_name, 755s # GVariant *parameters) 755s # { 755s # _ExtendedGDBusSignalInfo *info; 755s # GVariantIter iter; 755s # GVariant *child; 755s # GValue *paramv; 755s # gsize num_params; 755s # gsize n; 755s # guint signal_id; 755s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 755s # if (info == NULL) 755s # return; 755s # num_params = g_variant_n_children (parameters); 755s # paramv = g_new0 (GValue, num_params + 1); 755s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_value_set_object (¶mv[0], proxy); 755s # g_variant_iter_init (&iter, parameters); 755s # n = 1; 755s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 755s # { 755s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 755s # if (arg_info->use_gvariant) 755s # { 755s # g_value_init (¶mv[n], G_TYPE_VARIANT); 755s # g_value_set_variant (¶mv[n], child); 755s # n++; 755s # } 755s # else 755s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 755s # g_variant_unref (child); 755s # } 755s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 755s # g_signal_emitv (paramv, signal_id, 0, NULL); 755s # for (n = 0; n < num_params + 1; n++) 755s # g_value_unset (¶mv[n]); 755s # g_free (paramv); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 755s # GVariant *changed_properties, 755s # const gchar *const *invalidated_properties) 755s # { 755s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 755s # guint n; 755s # const gchar *key; 755s # GVariantIter *iter; 755s # _ExtendedGDBusPropertyInfo *info; 755s # g_variant_get (changed_properties, "a{sv}", &iter); 755s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 755s # g_datalist_remove_data (&proxy->priv->qdata, key); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # g_variant_iter_free (iter); 755s # for (n = 0; invalidated_properties[n] != NULL; n++) 755s # { 755s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 755s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 755s # if (info != NULL) 755s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 755s # } 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 755s # { 755s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 755s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 755s # #else 755s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 755s # #endif 755s # 755s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 755s # { 755s # GObjectClass *gobject_class; 755s # GDBusProxyClass *proxy_class; 755s # 755s # gobject_class = G_OBJECT_CLASS (klass); 755s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 755s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 755s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 755s # 755s # proxy_class = G_DBUS_PROXY_CLASS (klass); 755s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 755s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 755s # 755s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 755s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 755s # #endif 755s # } 755s # 755s # static void 755s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 755s # { 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 755s # * 755s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 755s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 755s # * 755s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 755s # */ 755s # void 755s # org_project_signaling_iface_proxy_new ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GAsyncReadyCallback callback, 755s # gpointer user_data) 755s # { 755s # 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); 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_finish: 755s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 755s # * @error: Return location for error or %NULL 755s # * 755s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_finish ( 755s # GAsyncResult *res, 755s # GError **error) 755s # { 755s # GObject *ret; 755s # GObject *source_object; 755s # source_object = g_async_result_get_source_object (res); 755s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 755s # g_object_unref (source_object); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_sync: 755s # * @connection: A #GDBusConnection. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @error: Return location for error or %NULL 755s # * 755s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 755s # * 755s # * The calling thread is blocked until a reply is received. 755s # * 755s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 755s # * 755s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 755s # */ 755s # OrgProjectSignalingIface * 755s # org_project_signaling_iface_proxy_new_sync ( 755s # GDBusConnection *connection, 755s # GDBusProxyFlags flags, 755s # const gchar *name, 755s # const gchar *object_path, 755s # GCancellable *cancellable, 755s # GError **error) 755s # { 755s # GInitable *ret; 755s # 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); 755s # if (ret != NULL) 755s # return ORG_PROJECT_SIGNALING_IFACE (ret); 755s # else 755s # return NULL; 755s # } 755s # 755s # 755s # /** 755s # * org_project_signaling_iface_proxy_new_for_bus: 755s # * @bus_type: A #GBusType. 755s # * @flags: Flags from the #GDBusProxyFlags enumeration. 755s # * @name: A bus name (well-known or unique). 755s # * @object_path: An object path. 755s # * @cancellable: (nullable): A #GCancellable or %NULL. 755s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 755s # * @user_data: User data to pass to @callback. 755s # * 755s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 755s # * 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 756s # * 756s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 756s # */ 756s # void 756s # org_project_signaling_iface_proxy_new_for_bus ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # 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); 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_for_bus_finish: 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 756s # * @error: Return location for error or %NULL 756s # * 756s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_proxy_new_for_bus_finish ( 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GObject *ret; 756s # GObject *source_object; 756s # source_object = g_async_result_get_source_object (res); 756s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 756s # g_object_unref (source_object); 756s # if (ret != NULL) 756s # return ORG_PROJECT_SIGNALING_IFACE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_for_bus_sync: 756s # * @bus_type: A #GBusType. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: A bus name (well-known or unique). 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL 756s # * 756s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 756s # * 756s # * The calling thread is blocked until a reply is received. 756s # * 756s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_proxy_new_for_bus_sync ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GInitable *ret; 756s # 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); 756s # if (ret != NULL) 756s # return ORG_PROJECT_SIGNALING_IFACE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceSkeleton: 756s # * 756s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 756s # */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceSkeletonClass: 756s # * @parent_class: The parent class. 756s # * 756s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 756s # */ 756s # 756s # struct _OrgProjectSignalingIfaceSkeletonPrivate 756s # { 756s # GValue *properties; 756s # GList *changed_properties; 756s # GSource *changed_properties_idle_source; 756s # GMainContext *context; 756s # GMutex lock; 756s # }; 756s # 756s # static void 756s # _org_project_signaling_iface_skeleton_handle_method_call ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name, 756s # const gchar *method_name, 756s # GVariant *parameters, 756s # GDBusMethodInvocation *invocation, 756s # gpointer user_data) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 756s # _ExtendedGDBusMethodInfo *info; 756s # GVariantIter iter; 756s # GVariant *child; 756s # GValue *paramv; 756s # gsize num_params; 756s # guint num_extra; 756s # gsize n; 756s # guint signal_id; 756s # GValue return_value = G_VALUE_INIT; 756s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 756s # g_assert (info != NULL); 756s # num_params = g_variant_n_children (parameters); 756s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 756s # n = 0; 756s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 756s # g_value_set_object (¶mv[n++], skeleton); 756s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 756s # g_value_set_object (¶mv[n++], invocation); 756s # if (info->pass_fdlist) 756s # { 756s # #ifdef G_OS_UNIX 756s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 756s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 756s # #else 756s # g_assert_not_reached (); 756s # #endif 756s # } 756s # g_variant_iter_init (&iter, parameters); 756s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 756s # { 756s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 756s # if (arg_info->use_gvariant) 756s # { 756s # g_value_init (¶mv[n], G_TYPE_VARIANT); 756s # g_value_set_variant (¶mv[n], child); 756s # n++; 756s # } 756s # else 756s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 756s # g_variant_unref (child); 756s # } 756s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 756s # g_value_init (&return_value, G_TYPE_BOOLEAN); 756s # g_signal_emitv (paramv, signal_id, 0, &return_value); 756s # if (!g_value_get_boolean (&return_value)) 756s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 756s # g_value_unset (&return_value); 756s # for (n = 0; n < num_params + num_extra; n++) 756s # g_value_unset (¶mv[n]); 756s # g_free (paramv); 756s # } 756s # 756s # static GVariant * 756s # _org_project_signaling_iface_skeleton_handle_get_property ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name G_GNUC_UNUSED, 756s # const gchar *property_name, 756s # GError **error, 756s # gpointer user_data) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 756s # GValue value = G_VALUE_INIT; 756s # GParamSpec *pspec; 756s # _ExtendedGDBusPropertyInfo *info; 756s # GVariant *ret; 756s # ret = NULL; 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 756s # g_assert (info != NULL); 756s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 756s # if (pspec == NULL) 756s # { 756s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 756s # } 756s # else 756s # { 756s # g_value_init (&value, pspec->value_type); 756s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 756s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 756s # g_value_unset (&value); 756s # } 756s # return ret; 756s # } 756s # 756s # static gboolean 756s # _org_project_signaling_iface_skeleton_handle_set_property ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name G_GNUC_UNUSED, 756s # const gchar *property_name, 756s # GVariant *variant, 756s # GError **error, 756s # gpointer user_data) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 756s # GValue value = G_VALUE_INIT; 756s # GParamSpec *pspec; 756s # _ExtendedGDBusPropertyInfo *info; 756s # gboolean ret; 756s # ret = FALSE; 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 756s # g_assert (info != NULL); 756s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 756s # if (pspec == NULL) 756s # { 756s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 756s # } 756s # else 756s # { 756s # if (info->use_gvariant) 756s # g_value_set_variant (&value, variant); 756s # else 756s # g_dbus_gvariant_to_gvalue (variant, &value); 756s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 756s # g_value_unset (&value); 756s # ret = TRUE; 756s # } 756s # return ret; 756s # } 756s # 756s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 756s # { 756s # _org_project_signaling_iface_skeleton_handle_method_call, 756s # _org_project_signaling_iface_skeleton_handle_get_property, 756s # _org_project_signaling_iface_skeleton_handle_set_property, 756s # {NULL} 756s # }; 756s # 756s # static GDBusInterfaceInfo * 756s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 756s # { 756s # return org_project_signaling_iface_interface_info (); 756s # } 756s # 756s # static GDBusInterfaceVTable * 756s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 756s # { 756s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 756s # } 756s # 756s # static GVariant * 756s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 756s # 756s # GVariantBuilder builder; 756s # guint n; 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 756s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 756s # #else 756s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 756s # #endif 756s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 756s # goto out; 756s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 756s # { 756s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 756s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 756s # { 756s # GVariant *value; 756s # 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); 756s # if (value != NULL) 756s # { 756s # g_variant_take_ref (value); 756s # g_variant_builder_add (&builder, "{sv}", info->name, value); 756s # g_variant_unref (value); 756s # } 756s # } 756s # } 756s # out: 756s # return g_variant_builder_end (&builder); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # static void 756s # _org_project_signaling_iface_on_signal_simple_signal ( 756s # OrgProjectSignalingIface *object) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 756s # 756s # GList *connections, *l; 756s # GVariant *signal_variant; 756s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 756s # 756s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 756s # for (l = connections; l != NULL; l = l->next) 756s # { 756s # GDBusConnection *connection = l->data; 756s # g_dbus_connection_emit_signal (connection, 756s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 756s # signal_variant, NULL); 756s # } 756s # g_variant_unref (signal_variant); 756s # g_list_free_full (connections, g_object_unref); 756s # } 756s # 756s # static void 756s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 756s # OrgProjectSignalingIface *object, 756s # const gchar *arg_arg_ay) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 756s # 756s # GList *connections, *l; 756s # GVariant *signal_variant; 756s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 756s # 756s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 756s # arg_arg_ay)); 756s # for (l = connections; l != NULL; l = l->next) 756s # { 756s # GDBusConnection *connection = l->data; 756s # g_dbus_connection_emit_signal (connection, 756s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 756s # signal_variant, NULL); 756s # } 756s # g_variant_unref (signal_variant); 756s # g_list_free_full (connections, g_object_unref); 756s # } 756s # 756s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 756s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 756s # 756s # #else 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 756s # 756s # #endif 756s # static void 756s # org_project_signaling_iface_skeleton_finalize (GObject *object) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 756s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 756s # if (skeleton->priv->changed_properties_idle_source != NULL) 756s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 756s # g_main_context_unref (skeleton->priv->context); 756s # g_mutex_clear (&skeleton->priv->lock); 756s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 756s # { 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 756s # #else 756s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 756s # #endif 756s # 756s # g_mutex_init (&skeleton->priv->lock); 756s # skeleton->priv->context = g_main_context_ref_thread_default (); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 756s # { 756s # GObjectClass *gobject_class; 756s # GDBusInterfaceSkeletonClass *skeleton_class; 756s # 756s # gobject_class = G_OBJECT_CLASS (klass); 756s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 756s # 756s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 756s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 756s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 756s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 756s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 756s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 756s # #endif 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 756s # { 756s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 756s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_skeleton_new: 756s # * 756s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_skeleton_new (void) 756s # { 756s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 756s # } 756s # Error: 756s # 756s # /tmp/tmpcyoquvv4/tmpkpigviuo.xml: 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcyoquvv4/tmpkpigviuo.xml', '--output', '-', '--body'] 756s # Return code: 0 756s # Output: 756s # /* 756s # * This file is generated by gdbus-codegen, do not modify it. 756s # * 756s # * The license of this code is the same as for the D-Bus interface description 756s # * it was derived from. Note that it links to GLib, so must comply with the 756s # * LGPL linking clauses. 756s # */ 756s # 756s # #ifdef HAVE_CONFIG_H 756s # # include "config.h" 756s # #endif 756s # 756s # #include 756s # #ifdef G_OS_UNIX 756s # # include 756s # #endif 756s # 756s # #ifdef G_ENABLE_DEBUG 756s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 756s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 756s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 756s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 756s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 756s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 756s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 756s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 756s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 756s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 756s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 756s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 756s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 756s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 756s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 756s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 756s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 756s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 756s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 756s # #else /* !G_ENABLE_DEBUG */ 756s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 756s # * Do not access GValues directly in your code. Instead, use the 756s # * g_value_get_*() functions 756s # */ 756s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 756s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 756s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 756s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 756s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 756s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 756s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 756s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 756s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 756s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 756s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 756s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 756s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 756s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 756s # #endif /* !G_ENABLE_DEBUG */ 756s # 756s # typedef struct 756s # { 756s # GDBusArgInfo parent_struct; 756s # gboolean use_gvariant; 756s # } _ExtendedGDBusArgInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusMethodInfo parent_struct; 756s # const gchar *signal_name; 756s # gboolean pass_fdlist; 756s # } _ExtendedGDBusMethodInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusSignalInfo parent_struct; 756s # const gchar *signal_name; 756s # } _ExtendedGDBusSignalInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusPropertyInfo parent_struct; 756s # const gchar *hyphen_name; 756s # guint use_gvariant : 1; 756s # guint emits_changed_signal : 1; 756s # } _ExtendedGDBusPropertyInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusInterfaceInfo parent_struct; 756s # const gchar *hyphen_name; 756s # } _ExtendedGDBusInterfaceInfo; 756s # 756s # typedef struct 756s # { 756s # const _ExtendedGDBusPropertyInfo *info; 756s # guint prop_id; 756s # GValue orig_value; /* the value before the change */ 756s # } ChangedProperty; 756s # 756s # static void 756s # _changed_property_free (ChangedProperty *data) 756s # { 756s # g_value_unset (&data->orig_value); 756s # g_free (data); 756s # } 756s # 756s # static gboolean 756s # _g_strv_equal0 (gchar **a, gchar **b) 756s # { 756s # gboolean ret = FALSE; 756s # guint n; 756s # if (a == NULL && b == NULL) 756s # { 756s # ret = TRUE; 756s # goto out; 756s # } 756s # if (a == NULL || b == NULL) 756s # goto out; 756s # if (g_strv_length (a) != g_strv_length (b)) 756s # goto out; 756s # for (n = 0; a[n] != NULL; n++) 756s # if (g_strcmp0 (a[n], b[n]) != 0) 756s # goto out; 756s # ret = TRUE; 756s # out: 756s # return ret; 756s # } 756s # 756s # static gboolean 756s # _g_variant_equal0 (GVariant *a, GVariant *b) 756s # { 756s # gboolean ret = FALSE; 756s # if (a == NULL && b == NULL) 756s # { 756s # ret = TRUE; 756s # goto out; 756s # } 756s # if (a == NULL || b == NULL) 756s # goto out; 756s # ret = g_variant_equal (a, b); 756s # out: 756s # return ret; 756s # } 756s # 756s # G_GNUC_UNUSED static gboolean 756s # _g_value_equal (const GValue *a, const GValue *b) 756s # { 756s # gboolean ret = FALSE; 756s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 756s # switch (G_VALUE_TYPE (a)) 756s # { 756s # case G_TYPE_BOOLEAN: 756s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 756s # break; 756s # case G_TYPE_UCHAR: 756s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 756s # break; 756s # case G_TYPE_INT: 756s # ret = (g_value_get_int (a) == g_value_get_int (b)); 756s # break; 756s # case G_TYPE_UINT: 756s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 756s # break; 756s # case G_TYPE_INT64: 756s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 756s # break; 756s # case G_TYPE_UINT64: 756s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 756s # break; 756s # case G_TYPE_DOUBLE: 756s # { 756s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 756s # gdouble da = g_value_get_double (a); 756s # gdouble db = g_value_get_double (b); 756s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 756s # } 756s # break; 756s # case G_TYPE_STRING: 756s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 756s # break; 756s # case G_TYPE_VARIANT: 756s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 756s # break; 756s # default: 756s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 756s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 756s # else 756s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 756s # break; 756s # } 756s # return ret; 756s # } 756s # 756s # /* ------------------------------------------------------------------------ 756s # * Code for interface org.project.SignalingIface 756s # * ------------------------------------------------------------------------ 756s # */ 756s # 756s # /** 756s # * SECTION:OrgProjectSignalingIface 756s # * @title: OrgProjectSignalingIface 756s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 756s # * 756s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 756s # */ 756s # 756s # enum 756s # { 756s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 756s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 756s # }; 756s # 756s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 756s # 756s # /* ---- Introspection data for org.project.SignalingIface ---- */ 756s # 756s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 756s # { 756s # { 756s # -1, 756s # (gchar *) "SimpleSignal", 756s # NULL, 756s # NULL 756s # }, 756s # "simple-signal" 756s # }; 756s # 756s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 756s # { 756s # { 756s # -1, 756s # (gchar *) "arg_as", 756s # (gchar *) "as", 756s # NULL 756s # }, 756s # FALSE 756s # }; 756s # 756s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 756s # { 756s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 756s # NULL 756s # }; 756s # 756s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 756s # { 756s # { 756s # -1, 756s # (gchar *) "SingleArgSignalAs", 756s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 756s # NULL 756s # }, 756s # "single-arg-signal-as" 756s # }; 756s # 756s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 756s # { 756s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 756s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 756s # NULL 756s # }; 756s # 756s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 756s # { 756s # { 756s # -1, 756s # (gchar *) "org.project.SignalingIface", 756s # NULL, 756s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 756s # NULL, 756s # NULL 756s # }, 756s # "org-project-signaling-iface", 756s # }; 756s # 756s # 756s # /** 756s # * org_project_signaling_iface_interface_info: 756s # * 756s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 756s # * 756s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 756s # */ 756s # GDBusInterfaceInfo * 756s # org_project_signaling_iface_interface_info (void) 756s # { 756s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_override_properties: 756s # * @klass: The class structure for a #GObject derived class. 756s # * @property_id_begin: The property id to assign to the first overridden property. 756s # * 756s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 756s # * The properties are overridden in the order they are defined. 756s # * 756s # * Returns: The last property id. 756s # */ 756s # guint 756s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 756s # { 756s # return property_id_begin - 1; 756s # } 756s # 756s # 756s # inline static void 756s # org_project_signaling_iface_signal_marshal_simple_signal ( 756s # GClosure *closure, 756s # GValue *return_value, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint, 756s # void *marshal_data) 756s # { 756s # g_cclosure_marshal_VOID__VOID (closure, 756s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 756s # } 756s # 756s # inline static void 756s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 756s # GClosure *closure, 756s # GValue *return_value, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint, 756s # void *marshal_data) 756s # { 756s # g_cclosure_marshal_VOID__BOXED (closure, 756s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 756s # } 756s # 756s # 756s # /** 756s # * OrgProjectSignalingIface: 756s # * 756s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 756s # */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceIface: 756s # * @parent_iface: The parent interface. 756s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 756s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 756s # * 756s # * Virtual table for the D-Bus interface org.project.SignalingIface. 756s # */ 756s # 756s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 756s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 756s # 756s # static void 756s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 756s # { 756s # /* GObject signals for received D-Bus signals: */ 756s # /** 756s # * OrgProjectSignalingIface::simple-signal: 756s # * @object: A #OrgProjectSignalingIface. 756s # * 756s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 756s # * 756s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 756s # */ 756s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 756s # g_signal_new ("simple-signal", 756s # G_TYPE_FROM_INTERFACE (iface), 756s # G_SIGNAL_RUN_LAST, 756s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 756s # NULL, 756s # NULL, 756s # org_project_signaling_iface_signal_marshal_simple_signal, 756s # G_TYPE_NONE, 756s # 0); 756s # 756s # /** 756s # * OrgProjectSignalingIface::single-arg-signal-as: 756s # * @object: A #OrgProjectSignalingIface. 756s # * @arg_arg_as: Argument. 756s # * 756s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 756s # * 756s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 756s # */ 756s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 756s # g_signal_new ("single-arg-signal-as", 756s # G_TYPE_FROM_INTERFACE (iface), 756s # G_SIGNAL_RUN_LAST, 756s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 756s # NULL, 756s # NULL, 756s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 756s # G_TYPE_NONE, 756s # 1, G_TYPE_STRV); 756s # 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_emit_simple_signal: 756s # * @object: A #OrgProjectSignalingIface. 756s # * 756s # * Emits the "SimpleSignal" D-Bus signal. 756s # */ 756s # void 756s # org_project_signaling_iface_emit_simple_signal ( 756s # OrgProjectSignalingIface *object) 756s # { 756s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_emit_single_arg_signal_as: 756s # * @object: A #OrgProjectSignalingIface. 756s # * @arg_arg_as: Argument to pass with the signal. 756s # * 756s # * Emits the "SingleArgSignalAs" D-Bus signal. 756s # */ 756s # void 756s # org_project_signaling_iface_emit_single_arg_signal_as ( 756s # OrgProjectSignalingIface *object, 756s # const gchar *const *arg_arg_as) 756s # { 756s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 756s # } 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceProxy: 756s # * 756s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 756s # */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceProxyClass: 756s # * @parent_class: The parent class. 756s # * 756s # * Class structure for #OrgProjectSignalingIfaceProxy. 756s # */ 756s # 756s # struct _OrgProjectSignalingIfaceProxyPrivate 756s # { 756s # GData *qdata; 756s # }; 756s # 756s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 756s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 756s # 756s # #else 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 756s # 756s # #endif 756s # static void 756s # org_project_signaling_iface_proxy_finalize (GObject *object) 756s # { 756s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 756s # g_datalist_clear (&proxy->priv->qdata); 756s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 756s # guint prop_id G_GNUC_UNUSED, 756s # GValue *value G_GNUC_UNUSED, 756s # GParamSpec *pspec G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 756s # guint prop_id G_GNUC_UNUSED, 756s # const GValue *value G_GNUC_UNUSED, 756s # GParamSpec *pspec G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 756s # const gchar *sender_name G_GNUC_UNUSED, 756s # const gchar *signal_name, 756s # GVariant *parameters) 756s # { 756s # _ExtendedGDBusSignalInfo *info; 756s # GVariantIter iter; 756s # GVariant *child; 756s # GValue *paramv; 756s # gsize num_params; 756s # gsize n; 756s # guint signal_id; 756s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 756s # if (info == NULL) 756s # return; 756s # num_params = g_variant_n_children (parameters); 756s # paramv = g_new0 (GValue, num_params + 1); 756s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 756s # g_value_set_object (¶mv[0], proxy); 756s # g_variant_iter_init (&iter, parameters); 756s # n = 1; 756s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 756s # { 756s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 756s # if (arg_info->use_gvariant) 756s # { 756s # g_value_init (¶mv[n], G_TYPE_VARIANT); 756s # g_value_set_variant (¶mv[n], child); 756s # n++; 756s # } 756s # else 756s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 756s # g_variant_unref (child); 756s # } 756s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 756s # g_signal_emitv (paramv, signal_id, 0, NULL); 756s # for (n = 0; n < num_params + 1; n++) 756s # g_value_unset (¶mv[n]); 756s # g_free (paramv); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 756s # GVariant *changed_properties, 756s # const gchar *const *invalidated_properties) 756s # { 756s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 756s # guint n; 756s # const gchar *key; 756s # GVariantIter *iter; 756s # _ExtendedGDBusPropertyInfo *info; 756s # g_variant_get (changed_properties, "a{sv}", &iter); 756s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 756s # { 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 756s # g_datalist_remove_data (&proxy->priv->qdata, key); 756s # if (info != NULL) 756s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 756s # } 756s # g_variant_iter_free (iter); 756s # for (n = 0; invalidated_properties[n] != NULL; n++) 756s # { 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 756s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 756s # if (info != NULL) 756s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 756s # } 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 756s # { 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 756s # #else 756s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 756s # #endif 756s # 756s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 756s # { 756s # GObjectClass *gobject_class; 756s # GDBusProxyClass *proxy_class; 756s # 756s # gobject_class = G_OBJECT_CLASS (klass); 756s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 756s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 756s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 756s # 756s # proxy_class = G_DBUS_PROXY_CLASS (klass); 756s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 756s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 756s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 756s # #endif 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new: 756s # * @connection: A #GDBusConnection. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 756s # * 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 756s # * 756s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 756s # */ 756s # void 756s # org_project_signaling_iface_proxy_new ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # 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); 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_finish: 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 756s # * @error: Return location for error or %NULL 756s # * 756s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_proxy_new_finish ( 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GObject *ret; 756s # GObject *source_object; 756s # source_object = g_async_result_get_source_object (res); 756s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 756s # g_object_unref (source_object); 756s # if (ret != NULL) 756s # return ORG_PROJECT_SIGNALING_IFACE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_sync: 756s # * @connection: A #GDBusConnection. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL 756s # * 756s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 756s # * 756s # * The calling thread is blocked until a reply is received. 756s # * 756s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_proxy_new_sync ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GInitable *ret; 756s # 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); 756s # if (ret != NULL) 756s # return ORG_PROJECT_SIGNALING_IFACE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_for_bus: 756s # * @bus_type: A #GBusType. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: A bus name (well-known or unique). 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 756s # * 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 756s # * 756s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 756s # */ 756s # void 756s # org_project_signaling_iface_proxy_new_for_bus ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # 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); 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_for_bus_finish: 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 756s # * @error: Return location for error or %NULL 756s # * 756s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_proxy_new_for_bus_finish ( 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GObject *ret; 756s # GObject *source_object; 756s # source_object = g_async_result_get_source_object (res); 756s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 756s # g_object_unref (source_object); 756s # if (ret != NULL) 756s # return ORG_PROJECT_SIGNALING_IFACE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_for_bus_sync: 756s # * @bus_type: A #GBusType. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: A bus name (well-known or unique). 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL 756s # * 756s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 756s # * 756s # * The calling thread is blocked until a reply is received. 756s # * 756s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_proxy_new_for_bus_sync ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GInitable *ret; 756s # 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); 756s # if (ret != NULL) 756s # return ORG_PROJECT_SIGNALING_IFACE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceSkeleton: 756s # * 756s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 756s # */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceSkeletonClass: 756s # * @parent_class: The parent class. 756s # * 756s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 756s # */ 756s # 756s # struct _OrgProjectSignalingIfaceSkeletonPrivate 756s # { 756s # GValue *properties; 756s # GList *changed_properties; 756s # GSource *changed_properties_idle_source; 756s # GMainContext *context; 756s # GMutex lock; 756s # }; 756s # 756s # static void 756s # _org_project_signaling_iface_skeleton_handle_method_call ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name, 756s # const gchar *method_name, 756s # GVariant *parameters, 756s # GDBusMethodInvocation *invocation, 756s # gpointer user_data) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 756s # _ExtendedGDBusMethodInfo *info; 756s # GVariantIter iter; 756s # GVariant *child; 756s # GValue *paramv; 756s # gsize num_params; 756s # guint num_extra; 756s # gsize n; 756s # guint signal_id; 756s # GValue return_value = G_VALUE_INIT; 756s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 756s # g_assert (info != NULL); 756s # num_params = g_variant_n_children (parameters); 756s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 756s # n = 0; 756s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 756s # g_value_set_object (¶mv[n++], skeleton); 756s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 756s # g_value_set_object (¶mv[n++], invocation); 756s # if (info->pass_fdlist) 756s # { 756s # #ifdef G_OS_UNIX 756s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 756s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 756s # #else 756s # g_assert_not_reached (); 756s # #endif 756s # } 756s # g_variant_iter_init (&iter, parameters); 756s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 756s # { 756s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 756s # if (arg_info->use_gvariant) 756s # { 756s # g_value_init (¶mv[n], G_TYPE_VARIANT); 756s # g_value_set_variant (¶mv[n], child); 756s # n++; 756s # } 756s # else 756s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 756s # g_variant_unref (child); 756s # } 756s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 756s # g_value_init (&return_value, G_TYPE_BOOLEAN); 756s # g_signal_emitv (paramv, signal_id, 0, &return_value); 756s # if (!g_value_get_boolean (&return_value)) 756s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 756s # g_value_unset (&return_value); 756s # for (n = 0; n < num_params + num_extra; n++) 756s # g_value_unset (¶mv[n]); 756s # g_free (paramv); 756s # } 756s # 756s # static GVariant * 756s # _org_project_signaling_iface_skeleton_handle_get_property ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name G_GNUC_UNUSED, 756s # const gchar *property_name, 756s # GError **error, 756s # gpointer user_data) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 756s # GValue value = G_VALUE_INIT; 756s # GParamSpec *pspec; 756s # _ExtendedGDBusPropertyInfo *info; 756s # GVariant *ret; 756s # ret = NULL; 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 756s # g_assert (info != NULL); 756s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 756s # if (pspec == NULL) 756s # { 756s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 756s # } 756s # else 756s # { 756s # g_value_init (&value, pspec->value_type); 756s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 756s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 756s # g_value_unset (&value); 756s # } 756s # return ret; 756s # } 756s # 756s # static gboolean 756s # _org_project_signaling_iface_skeleton_handle_set_property ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name G_GNUC_UNUSED, 756s # const gchar *property_name, 756s # GVariant *variant, 756s # GError **error, 756s # gpointer user_data) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 756s # GValue value = G_VALUE_INIT; 756s # GParamSpec *pspec; 756s # _ExtendedGDBusPropertyInfo *info; 756s # gboolean ret; 756s # ret = FALSE; 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 756s # g_assert (info != NULL); 756s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 756s # if (pspec == NULL) 756s # { 756s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 756s # } 756s # else 756s # { 756s # if (info->use_gvariant) 756s # g_value_set_variant (&value, variant); 756s # else 756s # g_dbus_gvariant_to_gvalue (variant, &value); 756s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 756s # g_value_unset (&value); 756s # ret = TRUE; 756s # } 756s # return ret; 756s # } 756s # 756s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 756s # { 756s # _org_project_signaling_iface_skeleton_handle_method_call, 756s # _org_project_signaling_iface_skeleton_handle_get_property, 756s # _org_project_signaling_iface_skeleton_handle_set_property, 756s # {NULL} 756s # }; 756s # 756s # static GDBusInterfaceInfo * 756s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 756s # { 756s # return org_project_signaling_iface_interface_info (); 756s # } 756s # 756s # static GDBusInterfaceVTable * 756s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 756s # { 756s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 756s # } 756s # 756s # static GVariant * 756s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 756s # 756s # GVariantBuilder builder; 756s # guint n; 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 756s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 756s # #else 756s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 756s # #endif 756s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 756s # goto out; 756s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 756s # { 756s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 756s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 756s # { 756s # GVariant *value; 756s # 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); 756s # if (value != NULL) 756s # { 756s # g_variant_take_ref (value); 756s # g_variant_builder_add (&builder, "{sv}", info->name, value); 756s # g_variant_unref (value); 756s # } 756s # } 756s # } 756s # out: 756s # return g_variant_builder_end (&builder); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # static void 756s # _org_project_signaling_iface_on_signal_simple_signal ( 756s # OrgProjectSignalingIface *object) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 756s # 756s # GList *connections, *l; 756s # GVariant *signal_variant; 756s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 756s # 756s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 756s # for (l = connections; l != NULL; l = l->next) 756s # { 756s # GDBusConnection *connection = l->data; 756s # g_dbus_connection_emit_signal (connection, 756s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 756s # signal_variant, NULL); 756s # } 756s # g_variant_unref (signal_variant); 756s # g_list_free_full (connections, g_object_unref); 756s # } 756s # 756s # static void 756s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 756s # OrgProjectSignalingIface *object, 756s # const gchar *const *arg_arg_as) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 756s # 756s # GList *connections, *l; 756s # GVariant *signal_variant; 756s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 756s # 756s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 756s # arg_arg_as)); 756s # for (l = connections; l != NULL; l = l->next) 756s # { 756s # GDBusConnection *connection = l->data; 756s # g_dbus_connection_emit_signal (connection, 756s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 756s # signal_variant, NULL); 756s # } 756s # g_variant_unref (signal_variant); 756s # g_list_free_full (connections, g_object_unref); 756s # } 756s # 756s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 756s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 756s # 756s # #else 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 756s # 756s # #endif 756s # static void 756s # org_project_signaling_iface_skeleton_finalize (GObject *object) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 756s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 756s # if (skeleton->priv->changed_properties_idle_source != NULL) 756s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 756s # g_main_context_unref (skeleton->priv->context); 756s # g_mutex_clear (&skeleton->priv->lock); 756s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 756s # { 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 756s # #else 756s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 756s # #endif 756s # 756s # g_mutex_init (&skeleton->priv->lock); 756s # skeleton->priv->context = g_main_context_ref_thread_default (); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 756s # { 756s # GObjectClass *gobject_class; 756s # GDBusInterfaceSkeletonClass *skeleton_class; 756s # 756s # gobject_class = G_OBJECT_CLASS (klass); 756s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 756s # 756s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 756s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 756s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 756s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 756s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 756s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 756s # #endif 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 756s # { 756s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 756s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_skeleton_new: 756s # * 756s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_skeleton_new (void) 756s # { 756s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 756s # } 756s # Error: 756s # 756s # /tmp/tmpcyoquvv4/tmp8i6vnf6o.xml: 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcyoquvv4/tmp8i6vnf6o.xml', '--output', '-', '--body'] 756s # Return code: 0 756s # Output: 756s # /* 756s # * This file is generated by gdbus-codegen, do not modify it. 756s # * 756s # * The license of this code is the same as for the D-Bus interface description 756s # * it was derived from. Note that it links to GLib, so must comply with the 756s # * LGPL linking clauses. 756s # */ 756s # 756s # #ifdef HAVE_CONFIG_H 756s # # include "config.h" 756s # #endif 756s # 756s # #include 756s # #ifdef G_OS_UNIX 756s # # include 756s # #endif 756s # 756s # #ifdef G_ENABLE_DEBUG 756s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 756s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 756s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 756s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 756s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 756s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 756s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 756s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 756s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 756s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 756s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 756s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 756s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 756s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 756s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 756s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 756s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 756s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 756s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 756s # #else /* !G_ENABLE_DEBUG */ 756s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 756s # * Do not access GValues directly in your code. Instead, use the 756s # * g_value_get_*() functions 756s # */ 756s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 756s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 756s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 756s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 756s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 756s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 756s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 756s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 756s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 756s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 756s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 756s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 756s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 756s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 756s # #endif /* !G_ENABLE_DEBUG */ 756s # 756s # typedef struct 756s # { 756s # GDBusArgInfo parent_struct; 756s # gboolean use_gvariant; 756s # } _ExtendedGDBusArgInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusMethodInfo parent_struct; 756s # const gchar *signal_name; 756s # gboolean pass_fdlist; 756s # } _ExtendedGDBusMethodInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusSignalInfo parent_struct; 756s # const gchar *signal_name; 756s # } _ExtendedGDBusSignalInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusPropertyInfo parent_struct; 756s # const gchar *hyphen_name; 756s # guint use_gvariant : 1; 756s # guint emits_changed_signal : 1; 756s # } _ExtendedGDBusPropertyInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusInterfaceInfo parent_struct; 756s # const gchar *hyphen_name; 756s # } _ExtendedGDBusInterfaceInfo; 756s # 756s # typedef struct 756s # { 756s # const _ExtendedGDBusPropertyInfo *info; 756s # guint prop_id; 756s # GValue orig_value; /* the value before the change */ 756s # } ChangedProperty; 756s # 756s # static void 756s # _changed_property_free (ChangedProperty *data) 756s # { 756s # g_value_unset (&data->orig_value); 756s # g_free (data); 756s # } 756s # 756s # static gboolean 756s # _g_strv_equal0 (gchar **a, gchar **b) 756s # { 756s # gboolean ret = FALSE; 756s # guint n; 756s # if (a == NULL && b == NULL) 756s # { 756s # ret = TRUE; 756s # goto out; 756s # } 756s # if (a == NULL || b == NULL) 756s # goto out; 756s # if (g_strv_length (a) != g_strv_length (b)) 756s # goto out; 756s # for (n = 0; a[n] != NULL; n++) 756s # if (g_strcmp0 (a[n], b[n]) != 0) 756s # goto out; 756s # ret = TRUE; 756s # out: 756s # return ret; 756s # } 756s # 756s # static gboolean 756s # _g_variant_equal0 (GVariant *a, GVariant *b) 756s # { 756s # gboolean ret = FALSE; 756s # if (a == NULL && b == NULL) 756s # { 756s # ret = TRUE; 756s # goto out; 756s # } 756s # if (a == NULL || b == NULL) 756s # goto out; 756s # ret = g_variant_equal (a, b); 756s # out: 756s # return ret; 756s # } 756s # 756s # G_GNUC_UNUSED static gboolean 756s # _g_value_equal (const GValue *a, const GValue *b) 756s # { 756s # gboolean ret = FALSE; 756s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 756s # switch (G_VALUE_TYPE (a)) 756s # { 756s # case G_TYPE_BOOLEAN: 756s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 756s # break; 756s # case G_TYPE_UCHAR: 756s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 756s # break; 756s # case G_TYPE_INT: 756s # ret = (g_value_get_int (a) == g_value_get_int (b)); 756s # break; 756s # case G_TYPE_UINT: 756s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 756s # break; 756s # case G_TYPE_INT64: 756s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 756s # break; 756s # case G_TYPE_UINT64: 756s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 756s # break; 756s # case G_TYPE_DOUBLE: 756s # { 756s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 756s # gdouble da = g_value_get_double (a); 756s # gdouble db = g_value_get_double (b); 756s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 756s # } 756s # break; 756s # case G_TYPE_STRING: 756s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 756s # break; 756s # case G_TYPE_VARIANT: 756s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 756s # break; 756s # default: 756s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 756s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 756s # else 756s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 756s # break; 756s # } 756s # return ret; 756s # } 756s # 756s # /* ------------------------------------------------------------------------ 756s # * Code for interface org.project.SignalingIface 756s # * ------------------------------------------------------------------------ 756s # */ 756s # 756s # /** 756s # * SECTION:OrgProjectSignalingIface 756s # * @title: OrgProjectSignalingIface 756s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 756s # * 756s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 756s # */ 756s # 756s # enum 756s # { 756s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 756s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 756s # }; 756s # 756s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 756s # 756s # /* ---- Introspection data for org.project.SignalingIface ---- */ 756s # 756s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 756s # { 756s # { 756s # -1, 756s # (gchar *) "SimpleSignal", 756s # NULL, 756s # NULL 756s # }, 756s # "simple-signal" 756s # }; 756s # 756s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 756s # { 756s # { 756s # -1, 756s # (gchar *) "arg_ao", 756s # (gchar *) "ao", 756s # NULL 756s # }, 756s # FALSE 756s # }; 756s # 756s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 756s # { 756s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 756s # NULL 756s # }; 756s # 756s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 756s # { 756s # { 756s # -1, 756s # (gchar *) "SingleArgSignalAo", 756s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 756s # NULL 756s # }, 756s # "single-arg-signal-ao" 756s # }; 756s # 756s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 756s # { 756s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 756s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 756s # NULL 756s # }; 756s # 756s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 756s # { 756s # { 756s # -1, 756s # (gchar *) "org.project.SignalingIface", 756s # NULL, 756s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 756s # NULL, 756s # NULL 756s # }, 756s # "org-project-signaling-iface", 756s # }; 756s # 756s # 756s # /** 756s # * org_project_signaling_iface_interface_info: 756s # * 756s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 756s # * 756s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 756s # */ 756s # GDBusInterfaceInfo * 756s # org_project_signaling_iface_interface_info (void) 756s # { 756s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_override_properties: 756s # * @klass: The class structure for a #GObject derived class. 756s # * @property_id_begin: The property id to assign to the first overridden property. 756s # * 756s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 756s # * The properties are overridden in the order they are defined. 756s # * 756s # * Returns: The last property id. 756s # */ 756s # guint 756s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 756s # { 756s # return property_id_begin - 1; 756s # } 756s # 756s # 756s # inline static void 756s # org_project_signaling_iface_signal_marshal_simple_signal ( 756s # GClosure *closure, 756s # GValue *return_value, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint, 756s # void *marshal_data) 756s # { 756s # g_cclosure_marshal_VOID__VOID (closure, 756s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 756s # } 756s # 756s # inline static void 756s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 756s # GClosure *closure, 756s # GValue *return_value, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint, 756s # void *marshal_data) 756s # { 756s # g_cclosure_marshal_VOID__BOXED (closure, 756s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 756s # } 756s # 756s # 756s # /** 756s # * OrgProjectSignalingIface: 756s # * 756s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 756s # */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceIface: 756s # * @parent_iface: The parent interface. 756s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 756s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 756s # * 756s # * Virtual table for the D-Bus interface org.project.SignalingIface. 756s # */ 756s # 756s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 756s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 756s # 756s # static void 756s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 756s # { 756s # /* GObject signals for received D-Bus signals: */ 756s # /** 756s # * OrgProjectSignalingIface::simple-signal: 756s # * @object: A #OrgProjectSignalingIface. 756s # * 756s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 756s # * 756s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 756s # */ 756s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 756s # g_signal_new ("simple-signal", 756s # G_TYPE_FROM_INTERFACE (iface), 756s # G_SIGNAL_RUN_LAST, 756s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 756s # NULL, 756s # NULL, 756s # org_project_signaling_iface_signal_marshal_simple_signal, 756s # G_TYPE_NONE, 756s # 0); 756s # 756s # /** 756s # * OrgProjectSignalingIface::single-arg-signal-ao: 756s # * @object: A #OrgProjectSignalingIface. 756s # * @arg_arg_ao: Argument. 756s # * 756s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 756s # * 756s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 756s # */ 756s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 756s # g_signal_new ("single-arg-signal-ao", 756s # G_TYPE_FROM_INTERFACE (iface), 756s # G_SIGNAL_RUN_LAST, 756s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 756s # NULL, 756s # NULL, 756s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 756s # G_TYPE_NONE, 756s # 1, G_TYPE_STRV); 756s # 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_emit_simple_signal: 756s # * @object: A #OrgProjectSignalingIface. 756s # * 756s # * Emits the "SimpleSignal" D-Bus signal. 756s # */ 756s # void 756s # org_project_signaling_iface_emit_simple_signal ( 756s # OrgProjectSignalingIface *object) 756s # { 756s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_emit_single_arg_signal_ao: 756s # * @object: A #OrgProjectSignalingIface. 756s # * @arg_arg_ao: Argument to pass with the signal. 756s # * 756s # * Emits the "SingleArgSignalAo" D-Bus signal. 756s # */ 756s # void 756s # org_project_signaling_iface_emit_single_arg_signal_ao ( 756s # OrgProjectSignalingIface *object, 756s # const gchar *const *arg_arg_ao) 756s # { 756s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 756s # } 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceProxy: 756s # * 756s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 756s # */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceProxyClass: 756s # * @parent_class: The parent class. 756s # * 756s # * Class structure for #OrgProjectSignalingIfaceProxy. 756s # */ 756s # 756s # struct _OrgProjectSignalingIfaceProxyPrivate 756s # { 756s # GData *qdata; 756s # }; 756s # 756s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 756s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 756s # 756s # #else 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 756s # 756s # #endif 756s # static void 756s # org_project_signaling_iface_proxy_finalize (GObject *object) 756s # { 756s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 756s # g_datalist_clear (&proxy->priv->qdata); 756s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 756s # guint prop_id G_GNUC_UNUSED, 756s # GValue *value G_GNUC_UNUSED, 756s # GParamSpec *pspec G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 756s # guint prop_id G_GNUC_UNUSED, 756s # const GValue *value G_GNUC_UNUSED, 756s # GParamSpec *pspec G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 756s # const gchar *sender_name G_GNUC_UNUSED, 756s # const gchar *signal_name, 756s # GVariant *parameters) 756s # { 756s # _ExtendedGDBusSignalInfo *info; 756s # GVariantIter iter; 756s # GVariant *child; 756s # GValue *paramv; 756s # gsize num_params; 756s # gsize n; 756s # guint signal_id; 756s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 756s # if (info == NULL) 756s # return; 756s # num_params = g_variant_n_children (parameters); 756s # paramv = g_new0 (GValue, num_params + 1); 756s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 756s # g_value_set_object (¶mv[0], proxy); 756s # g_variant_iter_init (&iter, parameters); 756s # n = 1; 756s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 756s # { 756s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 756s # if (arg_info->use_gvariant) 756s # { 756s # g_value_init (¶mv[n], G_TYPE_VARIANT); 756s # g_value_set_variant (¶mv[n], child); 756s # n++; 756s # } 756s # else 756s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 756s # g_variant_unref (child); 756s # } 756s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 756s # g_signal_emitv (paramv, signal_id, 0, NULL); 756s # for (n = 0; n < num_params + 1; n++) 756s # g_value_unset (¶mv[n]); 756s # g_free (paramv); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 756s # GVariant *changed_properties, 756s # const gchar *const *invalidated_properties) 756s # { 756s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 756s # guint n; 756s # const gchar *key; 756s # GVariantIter *iter; 756s # _ExtendedGDBusPropertyInfo *info; 756s # g_variant_get (changed_properties, "a{sv}", &iter); 756s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 756s # { 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 756s # g_datalist_remove_data (&proxy->priv->qdata, key); 756s # if (info != NULL) 756s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 756s # } 756s # g_variant_iter_free (iter); 756s # for (n = 0; invalidated_properties[n] != NULL; n++) 756s # { 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 756s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 756s # if (info != NULL) 756s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 756s # } 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 756s # { 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 756s # #else 756s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 756s # #endif 756s # 756s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 756s # { 756s # GObjectClass *gobject_class; 756s # GDBusProxyClass *proxy_class; 756s # 756s # gobject_class = G_OBJECT_CLASS (klass); 756s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 756s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 756s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 756s # 756s # proxy_class = G_DBUS_PROXY_CLASS (klass); 756s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 756s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 756s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 756s # #endif 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new: 756s # * @connection: A #GDBusConnection. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 756s # * 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 756s # * 756s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 756s # */ 756s # void 756s # org_project_signaling_iface_proxy_new ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # 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); 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_finish: 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 756s # * @error: Return location for error or %NULL 756s # * 756s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_proxy_new_finish ( 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GObject *ret; 756s # GObject *source_object; 756s # source_object = g_async_result_get_source_object (res); 756s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 756s # g_object_unref (source_object); 756s # if (ret != NULL) 756s # return ORG_PROJECT_SIGNALING_IFACE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_sync: 756s # * @connection: A #GDBusConnection. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL 756s # * 756s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 756s # * 756s # * The calling thread is blocked until a reply is received. 756s # * 756s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_proxy_new_sync ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GInitable *ret; 756s # 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); 756s # if (ret != NULL) 756s # return ORG_PROJECT_SIGNALING_IFACE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_for_bus: 756s # * @bus_type: A #GBusType. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: A bus name (well-known or unique). 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 756s # * 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 756s # * 756s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 756s # */ 756s # void 756s # org_project_signaling_iface_proxy_new_for_bus ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # 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); 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_for_bus_finish: 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 756s # * @error: Return location for error or %NULL 756s # * 756s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_proxy_new_for_bus_finish ( 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GObject *ret; 756s # GObject *source_object; 756s # source_object = g_async_result_get_source_object (res); 756s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 756s # g_object_unref (source_object); 756s # if (ret != NULL) 756s # return ORG_PROJECT_SIGNALING_IFACE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_for_bus_sync: 756s # * @bus_type: A #GBusType. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: A bus name (well-known or unique). 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL 756s # * 756s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 756s # * 756s # * The calling thread is blocked until a reply is received. 756s # * 756s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_proxy_new_for_bus_sync ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GInitable *ret; 756s # 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); 756s # if (ret != NULL) 756s # return ORG_PROJECT_SIGNALING_IFACE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceSkeleton: 756s # * 756s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 756s # */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceSkeletonClass: 756s # * @parent_class: The parent class. 756s # * 756s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 756s # */ 756s # 756s # struct _OrgProjectSignalingIfaceSkeletonPrivate 756s # { 756s # GValue *properties; 756s # GList *changed_properties; 756s # GSource *changed_properties_idle_source; 756s # GMainContext *context; 756s # GMutex lock; 756s # }; 756s # 756s # static void 756s # _org_project_signaling_iface_skeleton_handle_method_call ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name, 756s # const gchar *method_name, 756s # GVariant *parameters, 756s # GDBusMethodInvocation *invocation, 756s # gpointer user_data) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 756s # _ExtendedGDBusMethodInfo *info; 756s # GVariantIter iter; 756s # GVariant *child; 756s # GValue *paramv; 756s # gsize num_params; 756s # guint num_extra; 756s # gsize n; 756s # guint signal_id; 756s # GValue return_value = G_VALUE_INIT; 756s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 756s # g_assert (info != NULL); 756s # num_params = g_variant_n_children (parameters); 756s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 756s # n = 0; 756s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 756s # g_value_set_object (¶mv[n++], skeleton); 756s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 756s # g_value_set_object (¶mv[n++], invocation); 756s # if (info->pass_fdlist) 756s # { 756s # #ifdef G_OS_UNIX 756s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 756s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 756s # #else 756s # g_assert_not_reached (); 756s # #endif 756s # } 756s # g_variant_iter_init (&iter, parameters); 756s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 756s # { 756s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 756s # if (arg_info->use_gvariant) 756s # { 756s # g_value_init (¶mv[n], G_TYPE_VARIANT); 756s # g_value_set_variant (¶mv[n], child); 756s # n++; 756s # } 756s # else 756s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 756s # g_variant_unref (child); 756s # } 756s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 756s # g_value_init (&return_value, G_TYPE_BOOLEAN); 756s # g_signal_emitv (paramv, signal_id, 0, &return_value); 756s # if (!g_value_get_boolean (&return_value)) 756s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 756s # g_value_unset (&return_value); 756s # for (n = 0; n < num_params + num_extra; n++) 756s # g_value_unset (¶mv[n]); 756s # g_free (paramv); 756s # } 756s # 756s # static GVariant * 756s # _org_project_signaling_iface_skeleton_handle_get_property ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name G_GNUC_UNUSED, 756s # const gchar *property_name, 756s # GError **error, 756s # gpointer user_data) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 756s # GValue value = G_VALUE_INIT; 756s # GParamSpec *pspec; 756s # _ExtendedGDBusPropertyInfo *info; 756s # GVariant *ret; 756s # ret = NULL; 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 756s # g_assert (info != NULL); 756s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 756s # if (pspec == NULL) 756s # { 756s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 756s # } 756s # else 756s # { 756s # g_value_init (&value, pspec->value_type); 756s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 756s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 756s # g_value_unset (&value); 756s # } 756s # return ret; 756s # } 756s # 756s # static gboolean 756s # _org_project_signaling_iface_skeleton_handle_set_property ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name G_GNUC_UNUSED, 756s # const gchar *property_name, 756s # GVariant *variant, 756s # GError **error, 756s # gpointer user_data) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 756s # GValue value = G_VALUE_INIT; 756s # GParamSpec *pspec; 756s # _ExtendedGDBusPropertyInfo *info; 756s # gboolean ret; 756s # ret = FALSE; 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 756s # g_assert (info != NULL); 756s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 756s # if (pspec == NULL) 756s # { 756s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 756s # } 756s # else 756s # { 756s # if (info->use_gvariant) 756s # g_value_set_variant (&value, variant); 756s # else 756s # g_dbus_gvariant_to_gvalue (variant, &value); 756s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 756s # g_value_unset (&value); 756s # ret = TRUE; 756s # } 756s # return ret; 756s # } 756s # 756s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 756s # { 756s # _org_project_signaling_iface_skeleton_handle_method_call, 756s # _org_project_signaling_iface_skeleton_handle_get_property, 756s # _org_project_signaling_iface_skeleton_handle_set_property, 756s # {NULL} 756s # }; 756s # 756s # static GDBusInterfaceInfo * 756s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 756s # { 756s # return org_project_signaling_iface_interface_info (); 756s # } 756s # 756s # static GDBusInterfaceVTable * 756s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 756s # { 756s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 756s # } 756s # 756s # static GVariant * 756s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 756s # 756s # GVariantBuilder builder; 756s # guint n; 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 756s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 756s # #else 756s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 756s # #endif 756s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 756s # goto out; 756s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 756s # { 756s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 756s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 756s # { 756s # GVariant *value; 756s # 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); 756s # if (value != NULL) 756s # { 756s # g_variant_take_ref (value); 756s # g_variant_builder_add (&builder, "{sv}", info->name, value); 756s # g_variant_unref (value); 756s # } 756s # } 756s # } 756s # out: 756s # return g_variant_builder_end (&builder); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # static void 756s # _org_project_signaling_iface_on_signal_simple_signal ( 756s # OrgProjectSignalingIface *object) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 756s # 756s # GList *connections, *l; 756s # GVariant *signal_variant; 756s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 756s # 756s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 756s # for (l = connections; l != NULL; l = l->next) 756s # { 756s # GDBusConnection *connection = l->data; 756s # g_dbus_connection_emit_signal (connection, 756s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 756s # signal_variant, NULL); 756s # } 756s # g_variant_unref (signal_variant); 756s # g_list_free_full (connections, g_object_unref); 756s # } 756s # 756s # static void 756s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 756s # OrgProjectSignalingIface *object, 756s # const gchar *const *arg_arg_ao) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 756s # 756s # GList *connections, *l; 756s # GVariant *signal_variant; 756s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 756s # 756s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 756s # arg_arg_ao)); 756s # for (l = connections; l != NULL; l = l->next) 756s # { 756s # GDBusConnection *connection = l->data; 756s # g_dbus_connection_emit_signal (connection, 756s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 756s # signal_variant, NULL); 756s # } 756s # g_variant_unref (signal_variant); 756s # g_list_free_full (connections, g_object_unref); 756s # } 756s # 756s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 756s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 756s # 756s # #else 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 756s # 756s # #endif 756s # static void 756s # org_project_signaling_iface_skeleton_finalize (GObject *object) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 756s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 756s # if (skeleton->priv->changed_properties_idle_source != NULL) 756s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 756s # g_main_context_unref (skeleton->priv->context); 756s # g_mutex_clear (&skeleton->priv->lock); 756s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 756s # { 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 756s # #else 756s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 756s # #endif 756s # 756s # g_mutex_init (&skeleton->priv->lock); 756s # skeleton->priv->context = g_main_context_ref_thread_default (); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 756s # { 756s # GObjectClass *gobject_class; 756s # GDBusInterfaceSkeletonClass *skeleton_class; 756s # 756s # gobject_class = G_OBJECT_CLASS (klass); 756s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 756s # 756s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 756s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 756s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 756s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 756s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 756s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 756s # #endif 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 756s # { 756s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 756s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_skeleton_new: 756s # * 756s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_skeleton_new (void) 756s # { 756s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 756s # } 756s # Error: 756s # 756s # /tmp/tmpcyoquvv4/tmpe8revlyt.xml: 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcyoquvv4/tmpe8revlyt.xml', '--output', '-', '--body'] 756s # Return code: 0 756s # Output: 756s # /* 756s # * This file is generated by gdbus-codegen, do not modify it. 756s # * 756s # * The license of this code is the same as for the D-Bus interface description 756s # * it was derived from. Note that it links to GLib, so must comply with the 756s # * LGPL linking clauses. 756s # */ 756s # 756s # #ifdef HAVE_CONFIG_H 756s # # include "config.h" 756s # #endif 756s # 756s # #include 756s # #ifdef G_OS_UNIX 756s # # include 756s # #endif 756s # 756s # #ifdef G_ENABLE_DEBUG 756s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 756s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 756s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 756s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 756s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 756s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 756s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 756s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 756s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 756s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 756s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 756s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 756s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 756s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 756s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 756s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 756s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 756s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 756s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 756s # #else /* !G_ENABLE_DEBUG */ 756s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 756s # * Do not access GValues directly in your code. Instead, use the 756s # * g_value_get_*() functions 756s # */ 756s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 756s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 756s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 756s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 756s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 756s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 756s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 756s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 756s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 756s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 756s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 756s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 756s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 756s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 756s # #endif /* !G_ENABLE_DEBUG */ 756s # 756s # typedef struct 756s # { 756s # GDBusArgInfo parent_struct; 756s # gboolean use_gvariant; 756s # } _ExtendedGDBusArgInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusMethodInfo parent_struct; 756s # const gchar *signal_name; 756s # gboolean pass_fdlist; 756s # } _ExtendedGDBusMethodInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusSignalInfo parent_struct; 756s # const gchar *signal_name; 756s # } _ExtendedGDBusSignalInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusPropertyInfo parent_struct; 756s # const gchar *hyphen_name; 756s # guint use_gvariant : 1; 756s # guint emits_changed_signal : 1; 756s # } _ExtendedGDBusPropertyInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusInterfaceInfo parent_struct; 756s # const gchar *hyphen_name; 756s # } _ExtendedGDBusInterfaceInfo; 756s # 756s # typedef struct 756s # { 756s # const _ExtendedGDBusPropertyInfo *info; 756s # guint prop_id; 756s # GValue orig_value; /* the value before the change */ 756s # } ChangedProperty; 756s # 756s # static void 756s # _changed_property_free (ChangedProperty *data) 756s # { 756s # g_value_unset (&data->orig_value); 756s # g_free (data); 756s # } 756s # 756s # static gboolean 756s # _g_strv_equal0 (gchar **a, gchar **b) 756s # { 756s # gboolean ret = FALSE; 756s # guint n; 756s # if (a == NULL && b == NULL) 756s # { 756s # ret = TRUE; 756s # goto out; 756s # } 756s # if (a == NULL || b == NULL) 756s # goto out; 756s # if (g_strv_length (a) != g_strv_length (b)) 756s # goto out; 756s # for (n = 0; a[n] != NULL; n++) 756s # if (g_strcmp0 (a[n], b[n]) != 0) 756s # goto out; 756s # ret = TRUE; 756s # out: 756s # return ret; 756s # } 756s # 756s # static gboolean 756s # _g_variant_equal0 (GVariant *a, GVariant *b) 756s # { 756s # gboolean ret = FALSE; 756s # if (a == NULL && b == NULL) 756s # { 756s # ret = TRUE; 756s # goto out; 756s # } 756s # if (a == NULL || b == NULL) 756s # goto out; 756s # ret = g_variant_equal (a, b); 756s # out: 756s # return ret; 756s # } 756s # 756s # G_GNUC_UNUSED static gboolean 756s # _g_value_equal (const GValue *a, const GValue *b) 756s # { 756s # gboolean ret = FALSE; 756s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 756s # switch (G_VALUE_TYPE (a)) 756s # { 756s # case G_TYPE_BOOLEAN: 756s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 756s # break; 756s # case G_TYPE_UCHAR: 756s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 756s # break; 756s # case G_TYPE_INT: 756s # ret = (g_value_get_int (a) == g_value_get_int (b)); 756s # break; 756s # case G_TYPE_UINT: 756s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 756s # break; 756s # case G_TYPE_INT64: 756s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 756s # break; 756s # case G_TYPE_UINT64: 756s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 756s # break; 756s # case G_TYPE_DOUBLE: 756s # { 756s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 756s # gdouble da = g_value_get_double (a); 756s # gdouble db = g_value_get_double (b); 756s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 756s # } 756s # break; 756s # case G_TYPE_STRING: 756s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 756s # break; 756s # case G_TYPE_VARIANT: 756s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 756s # break; 756s # default: 756s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 756s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 756s # else 756s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 756s # break; 756s # } 756s # return ret; 756s # } 756s # 756s # /* ------------------------------------------------------------------------ 756s # * Code for interface org.project.SignalingIface 756s # * ------------------------------------------------------------------------ 756s # */ 756s # 756s # /** 756s # * SECTION:OrgProjectSignalingIface 756s # * @title: OrgProjectSignalingIface 756s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 756s # * 756s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 756s # */ 756s # 756s # enum 756s # { 756s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 756s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 756s # }; 756s # 756s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 756s # 756s # /* ---- Introspection data for org.project.SignalingIface ---- */ 756s # 756s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 756s # { 756s # { 756s # -1, 756s # (gchar *) "SimpleSignal", 756s # NULL, 756s # NULL 756s # }, 756s # "simple-signal" 756s # }; 756s # 756s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 756s # { 756s # { 756s # -1, 756s # (gchar *) "arg_aay", 756s # (gchar *) "aay", 756s # NULL 756s # }, 756s # FALSE 756s # }; 756s # 756s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 756s # { 756s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 756s # NULL 756s # }; 756s # 756s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 756s # { 756s # { 756s # -1, 756s # (gchar *) "SingleArgSignalAay", 756s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 756s # NULL 756s # }, 756s # "single-arg-signal-aay" 756s # }; 756s # 756s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 756s # { 756s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 756s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 756s # NULL 756s # }; 756s # 756s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 756s # { 756s # { 756s # -1, 756s # (gchar *) "org.project.SignalingIface", 756s # NULL, 756s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 756s # NULL, 756s # NULL 756s # }, 756s # "org-project-signaling-iface", 756s # }; 756s # 756s # 756s # /** 756s # * org_project_signaling_iface_interface_info: 756s # * 756s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 756s # * 756s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 756s # */ 756s # GDBusInterfaceInfo * 756s # org_project_signaling_iface_interface_info (void) 756s # { 756s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_override_properties: 756s # * @klass: The class structure for a #GObject derived class. 756s # * @property_id_begin: The property id to assign to the first overridden property. 756s # * 756s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 756s # * The properties are overridden in the order they are defined. 756s # * 756s # * Returns: The last property id. 756s # */ 756s # guint 756s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 756s # { 756s # return property_id_begin - 1; 756s # } 756s # 756s # 756s # inline static void 756s # org_project_signaling_iface_signal_marshal_simple_signal ( 756s # GClosure *closure, 756s # GValue *return_value, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint, 756s # void *marshal_data) 756s # { 756s # g_cclosure_marshal_VOID__VOID (closure, 756s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 756s # } 756s # 756s # inline static void 756s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 756s # GClosure *closure, 756s # GValue *return_value, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint, 756s # void *marshal_data) 756s # { 756s # g_cclosure_marshal_VOID__BOXED (closure, 756s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 756s # } 756s # 756s # 756s # /** 756s # * OrgProjectSignalingIface: 756s # * 756s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 756s # */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceIface: 756s # * @parent_iface: The parent interface. 756s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 756s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 756s # * 756s # * Virtual table for the D-Bus interface org.project.SignalingIface. 756s # */ 756s # 756s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 756s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 756s # 756s # static void 756s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 756s # { 756s # /* GObject signals for received D-Bus signals: */ 756s # /** 756s # * OrgProjectSignalingIface::simple-signal: 756s # * @object: A #OrgProjectSignalingIface. 756s # * 756s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 756s # * 756s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 756s # */ 756s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 756s # g_signal_new ("simple-signal", 756s # G_TYPE_FROM_INTERFACE (iface), 756s # G_SIGNAL_RUN_LAST, 756s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 756s # NULL, 756s # NULL, 756s # org_project_signaling_iface_signal_marshal_simple_signal, 756s # G_TYPE_NONE, 756s # 0); 756s # 756s # /** 756s # * OrgProjectSignalingIface::single-arg-signal-aay: 756s # * @object: A #OrgProjectSignalingIface. 756s # * @arg_arg_aay: Argument. 756s # * 756s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 756s # * 756s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 756s # */ 756s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 756s # g_signal_new ("single-arg-signal-aay", 756s # G_TYPE_FROM_INTERFACE (iface), 756s # G_SIGNAL_RUN_LAST, 756s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 756s # NULL, 756s # NULL, 756s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 756s # G_TYPE_NONE, 756s # 1, G_TYPE_STRV); 756s # 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_emit_simple_signal: 756s # * @object: A #OrgProjectSignalingIface. 756s # * 756s # * Emits the "SimpleSignal" D-Bus signal. 756s # */ 756s # void 756s # org_project_signaling_iface_emit_simple_signal ( 756s # OrgProjectSignalingIface *object) 756s # { 756s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_emit_single_arg_signal_aay: 756s # * @object: A #OrgProjectSignalingIface. 756s # * @arg_arg_aay: Argument to pass with the signal. 756s # * 756s # * Emits the "SingleArgSignalAay" D-Bus signal. 756s # */ 756s # void 756s # org_project_signaling_iface_emit_single_arg_signal_aay ( 756s # OrgProjectSignalingIface *object, 756s # const gchar *const *arg_arg_aay) 756s # { 756s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 756s # } 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceProxy: 756s # * 756s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 756s # */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceProxyClass: 756s # * @parent_class: The parent class. 756s # * 756s # * Class structure for #OrgProjectSignalingIfaceProxy. 756s # */ 756s # 756s # struct _OrgProjectSignalingIfaceProxyPrivate 756s # { 756s # GData *qdata; 756s # }; 756s # 756s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 756s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 756s # 756s # #else 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 756s # 756s # #endif 756s # static void 756s # org_project_signaling_iface_proxy_finalize (GObject *object) 756s # { 756s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 756s # g_datalist_clear (&proxy->priv->qdata); 756s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 756s # guint prop_id G_GNUC_UNUSED, 756s # GValue *value G_GNUC_UNUSED, 756s # GParamSpec *pspec G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 756s # guint prop_id G_GNUC_UNUSED, 756s # const GValue *value G_GNUC_UNUSED, 756s # GParamSpec *pspec G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 756s # const gchar *sender_name G_GNUC_UNUSED, 756s # const gchar *signal_name, 756s # GVariant *parameters) 756s # { 756s # _ExtendedGDBusSignalInfo *info; 756s # GVariantIter iter; 756s # GVariant *child; 756s # GValue *paramv; 756s # gsize num_params; 756s # gsize n; 756s # guint signal_id; 756s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 756s # if (info == NULL) 756s # return; 756s # num_params = g_variant_n_children (parameters); 756s # paramv = g_new0 (GValue, num_params + 1); 756s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 756s # g_value_set_object (¶mv[0], proxy); 756s # g_variant_iter_init (&iter, parameters); 756s # n = 1; 756s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 756s # { 756s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 756s # if (arg_info->use_gvariant) 756s # { 756s # g_value_init (¶mv[n], G_TYPE_VARIANT); 756s # g_value_set_variant (¶mv[n], child); 756s # n++; 756s # } 756s # else 756s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 756s # g_variant_unref (child); 756s # } 756s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 756s # g_signal_emitv (paramv, signal_id, 0, NULL); 756s # for (n = 0; n < num_params + 1; n++) 756s # g_value_unset (¶mv[n]); 756s # g_free (paramv); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 756s # GVariant *changed_properties, 756s # const gchar *const *invalidated_properties) 756s # { 756s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 756s # guint n; 756s # const gchar *key; 756s # GVariantIter *iter; 756s # _ExtendedGDBusPropertyInfo *info; 756s # g_variant_get (changed_properties, "a{sv}", &iter); 756s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 756s # { 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 756s # g_datalist_remove_data (&proxy->priv->qdata, key); 756s # if (info != NULL) 756s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 756s # } 756s # g_variant_iter_free (iter); 756s # for (n = 0; invalidated_properties[n] != NULL; n++) 756s # { 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 756s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 756s # if (info != NULL) 756s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 756s # } 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 756s # { 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 756s # #else 756s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 756s # #endif 756s # 756s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 756s # { 756s # GObjectClass *gobject_class; 756s # GDBusProxyClass *proxy_class; 756s # 756s # gobject_class = G_OBJECT_CLASS (klass); 756s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 756s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 756s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 756s # 756s # proxy_class = G_DBUS_PROXY_CLASS (klass); 756s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 756s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 756s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 756s # #endif 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new: 756s # * @connection: A #GDBusConnection. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 756s # * 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 756s # * 756s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 756s # */ 756s # void 756s # org_project_signaling_iface_proxy_new ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # 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); 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_finish: 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 756s # * @error: Return location for error or %NULL 756s # * 756s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_proxy_new_finish ( 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GObject *ret; 756s # GObject *source_object; 756s # source_object = g_async_result_get_source_object (res); 756s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 756s # g_object_unref (source_object); 756s # if (ret != NULL) 756s # return ORG_PROJECT_SIGNALING_IFACE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_sync: 756s # * @connection: A #GDBusConnection. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL 756s # * 756s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 756s # * 756s # * The calling thread is blocked until a reply is received. 756s # * 756s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_proxy_new_sync ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GInitable *ret; 756s # 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); 756s # if (ret != NULL) 756s # return ORG_PROJECT_SIGNALING_IFACE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_for_bus: 756s # * @bus_type: A #GBusType. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: A bus name (well-known or unique). 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 756s # * 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 756s # * 756s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 756s # */ 756s # void 756s # org_project_signaling_iface_proxy_new_for_bus ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # 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); 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_for_bus_finish: 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 756s # * @error: Return location for error or %NULL 756s # * 756s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_proxy_new_for_bus_finish ( 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GObject *ret; 756s # GObject *source_object; 756s # source_object = g_async_result_get_source_object (res); 756s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 756s # g_object_unref (source_object); 756s # if (ret != NULL) 756s # return ORG_PROJECT_SIGNALING_IFACE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_for_bus_sync: 756s # * @bus_type: A #GBusType. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: A bus name (well-known or unique). 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL 756s # * 756s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 756s # * 756s # * The calling thread is blocked until a reply is received. 756s # * 756s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_proxy_new_for_bus_sync ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GInitable *ret; 756s # 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); 756s # if (ret != NULL) 756s # return ORG_PROJECT_SIGNALING_IFACE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceSkeleton: 756s # * 756s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 756s # */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceSkeletonClass: 756s # * @parent_class: The parent class. 756s # * 756s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 756s # */ 756s # 756s # struct _OrgProjectSignalingIfaceSkeletonPrivate 756s # { 756s # GValue *properties; 756s # GList *changed_properties; 756s # GSource *changed_properties_idle_source; 756s # GMainContext *context; 756s # GMutex lock; 756s # }; 756s # 756s # static void 756s # _org_project_signaling_iface_skeleton_handle_method_call ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name, 756s # const gchar *method_name, 756s # GVariant *parameters, 756s # GDBusMethodInvocation *invocation, 756s # gpointer user_data) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 756s # _ExtendedGDBusMethodInfo *info; 756s # GVariantIter iter; 756s # GVariant *child; 756s # GValue *paramv; 756s # gsize num_params; 756s # guint num_extra; 756s # gsize n; 756s # guint signal_id; 756s # GValue return_value = G_VALUE_INIT; 756s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 756s # g_assert (info != NULL); 756s # num_params = g_variant_n_children (parameters); 756s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 756s # n = 0; 756s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 756s # g_value_set_object (¶mv[n++], skeleton); 756s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 756s # g_value_set_object (¶mv[n++], invocation); 756s # if (info->pass_fdlist) 756s # { 756s # #ifdef G_OS_UNIX 756s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 756s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 756s # #else 756s # g_assert_not_reached (); 756s # #endif 756s # } 756s # g_variant_iter_init (&iter, parameters); 756s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 756s # { 756s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 756s # if (arg_info->use_gvariant) 756s # { 756s # g_value_init (¶mv[n], G_TYPE_VARIANT); 756s # g_value_set_variant (¶mv[n], child); 756s # n++; 756s # } 756s # else 756s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 756s # g_variant_unref (child); 756s # } 756s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 756s # g_value_init (&return_value, G_TYPE_BOOLEAN); 756s # g_signal_emitv (paramv, signal_id, 0, &return_value); 756s # if (!g_value_get_boolean (&return_value)) 756s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 756s # g_value_unset (&return_value); 756s # for (n = 0; n < num_params + num_extra; n++) 756s # g_value_unset (¶mv[n]); 756s # g_free (paramv); 756s # } 756s # 756s # static GVariant * 756s # _org_project_signaling_iface_skeleton_handle_get_property ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name G_GNUC_UNUSED, 756s # const gchar *property_name, 756s # GError **error, 756s # gpointer user_data) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 756s # GValue value = G_VALUE_INIT; 756s # GParamSpec *pspec; 756s # _ExtendedGDBusPropertyInfo *info; 756s # GVariant *ret; 756s # ret = NULL; 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 756s # g_assert (info != NULL); 756s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 756s # if (pspec == NULL) 756s # { 756s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 756s # } 756s # else 756s # { 756s # g_value_init (&value, pspec->value_type); 756s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 756s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 756s # g_value_unset (&value); 756s # } 756s # return ret; 756s # } 756s # 756s # static gboolean 756s # _org_project_signaling_iface_skeleton_handle_set_property ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name G_GNUC_UNUSED, 756s # const gchar *property_name, 756s # GVariant *variant, 756s # GError **error, 756s # gpointer user_data) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 756s # GValue value = G_VALUE_INIT; 756s # GParamSpec *pspec; 756s # _ExtendedGDBusPropertyInfo *info; 756s # gboolean ret; 756s # ret = FALSE; 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 756s # g_assert (info != NULL); 756s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 756s # if (pspec == NULL) 756s # { 756s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 756s # } 756s # else 756s # { 756s # if (info->use_gvariant) 756s # g_value_set_variant (&value, variant); 756s # else 756s # g_dbus_gvariant_to_gvalue (variant, &value); 756s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 756s # g_value_unset (&value); 756s # ret = TRUE; 756s # } 756s # return ret; 756s # } 756s # 756s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 756s # { 756s # _org_project_signaling_iface_skeleton_handle_method_call, 756s # _org_project_signaling_iface_skeleton_handle_get_property, 756s # _org_project_signaling_iface_skeleton_handle_set_property, 756s # {NULL} 756s # }; 756s # 756s # static GDBusInterfaceInfo * 756s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 756s # { 756s # return org_project_signaling_iface_interface_info (); 756s # } 756s # 756s # static GDBusInterfaceVTable * 756s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 756s # { 756s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 756s # } 756s # 756s # static GVariant * 756s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 756s # 756s # GVariantBuilder builder; 756s # guint n; 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 756s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 756s # #else 756s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 756s # #endif 756s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 756s # goto out; 756s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 756s # { 756s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 756s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 756s # { 756s # GVariant *value; 756s # 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); 756s # if (value != NULL) 756s # { 756s # g_variant_take_ref (value); 756s # g_variant_builder_add (&builder, "{sv}", info->name, value); 756s # g_variant_unref (value); 756s # } 756s # } 756s # } 756s # out: 756s # return g_variant_builder_end (&builder); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # static void 756s # _org_project_signaling_iface_on_signal_simple_signal ( 756s # OrgProjectSignalingIface *object) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 756s # 756s # GList *connections, *l; 756s # GVariant *signal_variant; 756s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 756s # 756s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 756s # for (l = connections; l != NULL; l = l->next) 756s # { 756s # GDBusConnection *connection = l->data; 756s # g_dbus_connection_emit_signal (connection, 756s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 756s # signal_variant, NULL); 756s # } 756s # g_variant_unref (signal_variant); 756s # g_list_free_full (connections, g_object_unref); 756s # } 756s # 756s # static void 756s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 756s # OrgProjectSignalingIface *object, 756s # const gchar *const *arg_arg_aay) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 756s # 756s # GList *connections, *l; 756s # GVariant *signal_variant; 756s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 756s # 756s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 756s # arg_arg_aay)); 756s # for (l = connections; l != NULL; l = l->next) 756s # { 756s # GDBusConnection *connection = l->data; 756s # g_dbus_connection_emit_signal (connection, 756s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 756s # signal_variant, NULL); 756s # } 756s # g_variant_unref (signal_variant); 756s # g_list_free_full (connections, g_object_unref); 756s # } 756s # 756s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 756s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 756s # 756s # #else 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 756s # 756s # #endif 756s # static void 756s # org_project_signaling_iface_skeleton_finalize (GObject *object) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 756s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 756s # if (skeleton->priv->changed_properties_idle_source != NULL) 756s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 756s # g_main_context_unref (skeleton->priv->context); 756s # g_mutex_clear (&skeleton->priv->lock); 756s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 756s # { 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 756s # #else 756s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 756s # #endif 756s # 756s # g_mutex_init (&skeleton->priv->lock); 756s # skeleton->priv->context = g_main_context_ref_thread_default (); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 756s # { 756s # GObjectClass *gobject_class; 756s # GDBusInterfaceSkeletonClass *skeleton_class; 756s # 756s # gobject_class = G_OBJECT_CLASS (klass); 756s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 756s # 756s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 756s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 756s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 756s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 756s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 756s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 756s # #endif 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 756s # { 756s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 756s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_skeleton_new: 756s # * 756s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_skeleton_new (void) 756s # { 756s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 756s # } 756s # Error: 756s # 756s # /tmp/tmpcyoquvv4/tmp5nwd0e0u.xml: 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcyoquvv4/tmp5nwd0e0u.xml', '--output', '-', '--body'] 756s # Return code: 0 756s # Output: 756s # /* 756s # * This file is generated by gdbus-codegen, do not modify it. 756s # * 756s # * The license of this code is the same as for the D-Bus interface description 756s # * it was derived from. Note that it links to GLib, so must comply with the 756s # * LGPL linking clauses. 756s # */ 756s # 756s # #ifdef HAVE_CONFIG_H 756s # # include "config.h" 756s # #endif 756s # 756s # #include 756s # #ifdef G_OS_UNIX 756s # # include 756s # #endif 756s # 756s # #ifdef G_ENABLE_DEBUG 756s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 756s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 756s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 756s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 756s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 756s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 756s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 756s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 756s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 756s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 756s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 756s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 756s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 756s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 756s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 756s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 756s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 756s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 756s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 756s # #else /* !G_ENABLE_DEBUG */ 756s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 756s # * Do not access GValues directly in your code. Instead, use the 756s # * g_value_get_*() functions 756s # */ 756s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 756s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 756s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 756s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 756s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 756s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 756s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 756s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 756s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 756s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 756s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 756s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 756s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 756s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 756s # #endif /* !G_ENABLE_DEBUG */ 756s # 756s # typedef struct 756s # { 756s # GDBusArgInfo parent_struct; 756s # gboolean use_gvariant; 756s # } _ExtendedGDBusArgInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusMethodInfo parent_struct; 756s # const gchar *signal_name; 756s # gboolean pass_fdlist; 756s # } _ExtendedGDBusMethodInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusSignalInfo parent_struct; 756s # const gchar *signal_name; 756s # } _ExtendedGDBusSignalInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusPropertyInfo parent_struct; 756s # const gchar *hyphen_name; 756s # guint use_gvariant : 1; 756s # guint emits_changed_signal : 1; 756s # } _ExtendedGDBusPropertyInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusInterfaceInfo parent_struct; 756s # const gchar *hyphen_name; 756s # } _ExtendedGDBusInterfaceInfo; 756s # 756s # typedef struct 756s # { 756s # const _ExtendedGDBusPropertyInfo *info; 756s # guint prop_id; 756s # GValue orig_value; /* the value before the change */ 756s # } ChangedProperty; 756s # 756s # static void 756s # _changed_property_free (ChangedProperty *data) 756s # { 756s # g_value_unset (&data->orig_value); 756s # g_free (data); 756s # } 756s # 756s # static gboolean 756s # _g_strv_equal0 (gchar **a, gchar **b) 756s # { 756s # gboolean ret = FALSE; 756s # guint n; 756s # if (a == NULL && b == NULL) 756s # { 756s # ret = TRUE; 756s # goto out; 756s # } 756s # if (a == NULL || b == NULL) 756s # goto out; 756s # if (g_strv_length (a) != g_strv_length (b)) 756s # goto out; 756s # for (n = 0; a[n] != NULL; n++) 756s # if (g_strcmp0 (a[n], b[n]) != 0) 756s # goto out; 756s # ret = TRUE; 756s # out: 756s # return ret; 756s # } 756s # 756s # static gboolean 756s # _g_variant_equal0 (GVariant *a, GVariant *b) 756s # { 756s # gboolean ret = FALSE; 756s # if (a == NULL && b == NULL) 756s # { 756s # ret = TRUE; 756s # goto out; 756s # } 756s # if (a == NULL || b == NULL) 756s # goto out; 756s # ret = g_variant_equal (a, b); 756s # out: 756s # return ret; 756s # } 756s # 756s # G_GNUC_UNUSED static gboolean 756s # _g_value_equal (const GValue *a, const GValue *b) 756s # { 756s # gboolean ret = FALSE; 756s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 756s # switch (G_VALUE_TYPE (a)) 756s # { 756s # case G_TYPE_BOOLEAN: 756s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 756s # break; 756s # case G_TYPE_UCHAR: 756s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 756s # break; 756s # case G_TYPE_INT: 756s # ret = (g_value_get_int (a) == g_value_get_int (b)); 756s # break; 756s # case G_TYPE_UINT: 756s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 756s # break; 756s # case G_TYPE_INT64: 756s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 756s # break; 756s # case G_TYPE_UINT64: 756s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 756s # break; 756s # case G_TYPE_DOUBLE: 756s # { 756s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 756s # gdouble da = g_value_get_double (a); 756s # gdouble db = g_value_get_double (b); 756s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 756s # } 756s # break; 756s # case G_TYPE_STRING: 756s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 756s # break; 756s # case G_TYPE_VARIANT: 756s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 756s # break; 756s # default: 756s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 756s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 756s # else 756s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 756s # break; 756s # } 756s # return ret; 756s # } 756s # 756s # /* ------------------------------------------------------------------------ 756s # * Code for interface org.project.SignalingIface 756s # * ------------------------------------------------------------------------ 756s # */ 756s # 756s # /** 756s # * SECTION:OrgProjectSignalingIface 756s # * @title: OrgProjectSignalingIface 756s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 756s # * 756s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 756s # */ 756s # 756s # enum 756s # { 756s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 756s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 756s # }; 756s # 756s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 756s # 756s # /* ---- Introspection data for org.project.SignalingIface ---- */ 756s # 756s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 756s # { 756s # { 756s # -1, 756s # (gchar *) "SimpleSignal", 756s # NULL, 756s # NULL 756s # }, 756s # "simple-signal" 756s # }; 756s # 756s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 756s # { 756s # { 756s # -1, 756s # (gchar *) "arg_asv", 756s # (gchar *) "a{sv}", 756s # NULL 756s # }, 756s # FALSE 756s # }; 756s # 756s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 756s # { 756s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 756s # NULL 756s # }; 756s # 756s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 756s # { 756s # { 756s # -1, 756s # (gchar *) "SingleArgSignalAsv", 756s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 756s # NULL 756s # }, 756s # "single-arg-signal-asv" 756s # }; 756s # 756s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 756s # { 756s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 756s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 756s # NULL 756s # }; 756s # 756s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 756s # { 756s # { 756s # -1, 756s # (gchar *) "org.project.SignalingIface", 756s # NULL, 756s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 756s # NULL, 756s # NULL 756s # }, 756s # "org-project-signaling-iface", 756s # }; 756s # 756s # 756s # /** 756s # * org_project_signaling_iface_interface_info: 756s # * 756s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 756s # * 756s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 756s # */ 756s # GDBusInterfaceInfo * 756s # org_project_signaling_iface_interface_info (void) 756s # { 756s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_override_properties: 756s # * @klass: The class structure for a #GObject derived class. 756s # * @property_id_begin: The property id to assign to the first overridden property. 756s # * 756s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 756s # * The properties are overridden in the order they are defined. 756s # * 756s # * Returns: The last property id. 756s # */ 756s # guint 756s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 756s # { 756s # return property_id_begin - 1; 756s # } 756s # 756s # 756s # inline static void 756s # org_project_signaling_iface_signal_marshal_simple_signal ( 756s # GClosure *closure, 756s # GValue *return_value, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint, 756s # void *marshal_data) 756s # { 756s # g_cclosure_marshal_VOID__VOID (closure, 756s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 756s # } 756s # 756s # inline static void 756s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 756s # GClosure *closure, 756s # GValue *return_value, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint, 756s # void *marshal_data) 756s # { 756s # g_cclosure_marshal_VOID__VARIANT (closure, 756s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 756s # } 756s # 756s # 756s # /** 756s # * OrgProjectSignalingIface: 756s # * 756s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 756s # */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceIface: 756s # * @parent_iface: The parent interface. 756s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 756s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 756s # * 756s # * Virtual table for the D-Bus interface org.project.SignalingIface. 756s # */ 756s # 756s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 756s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 756s # 756s # static void 756s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 756s # { 756s # /* GObject signals for received D-Bus signals: */ 756s # /** 756s # * OrgProjectSignalingIface::simple-signal: 756s # * @object: A #OrgProjectSignalingIface. 756s # * 756s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 756s # * 756s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 756s # */ 756s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 756s # g_signal_new ("simple-signal", 756s # G_TYPE_FROM_INTERFACE (iface), 756s # G_SIGNAL_RUN_LAST, 756s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 756s # NULL, 756s # NULL, 756s # org_project_signaling_iface_signal_marshal_simple_signal, 756s # G_TYPE_NONE, 756s # 0); 756s # 756s # /** 756s # * OrgProjectSignalingIface::single-arg-signal-asv: 756s # * @object: A #OrgProjectSignalingIface. 756s # * @arg_arg_asv: Argument. 756s # * 756s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 756s # * 756s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 756s # */ 756s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 756s # g_signal_new ("single-arg-signal-asv", 756s # G_TYPE_FROM_INTERFACE (iface), 756s # G_SIGNAL_RUN_LAST, 756s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 756s # NULL, 756s # NULL, 756s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 756s # G_TYPE_NONE, 756s # 1, G_TYPE_VARIANT); 756s # 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_emit_simple_signal: 756s # * @object: A #OrgProjectSignalingIface. 756s # * 756s # * Emits the "SimpleSignal" D-Bus signal. 756s # */ 756s # void 756s # org_project_signaling_iface_emit_simple_signal ( 756s # OrgProjectSignalingIface *object) 756s # { 756s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_emit_single_arg_signal_asv: 756s # * @object: A #OrgProjectSignalingIface. 756s # * @arg_arg_asv: Argument to pass with the signal. 756s # * 756s # * Emits the "SingleArgSignalAsv" D-Bus signal. 756s # */ 756s # void 756s # org_project_signaling_iface_emit_single_arg_signal_asv ( 756s # OrgProjectSignalingIface *object, 756s # GVariant *arg_arg_asv) 756s # { 756s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 756s # } 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceProxy: 756s # * 756s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 756s # */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceProxyClass: 756s # * @parent_class: The parent class. 756s # * 756s # * Class structure for #OrgProjectSignalingIfaceProxy. 756s # */ 756s # 756s # struct _OrgProjectSignalingIfaceProxyPrivate 756s # { 756s # GData *qdata; 756s # }; 756s # 756s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 756s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 756s # 756s # #else 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 756s # 756s # #endif 756s # static void 756s # org_project_signaling_iface_proxy_finalize (GObject *object) 756s # { 756s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 756s # g_datalist_clear (&proxy->priv->qdata); 756s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 756s # guint prop_id G_GNUC_UNUSED, 756s # GValue *value G_GNUC_UNUSED, 756s # GParamSpec *pspec G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 756s # guint prop_id G_GNUC_UNUSED, 756s # const GValue *value G_GNUC_UNUSED, 756s # GParamSpec *pspec G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 756s # const gchar *sender_name G_GNUC_UNUSED, 756s # const gchar *signal_name, 756s # GVariant *parameters) 756s # { 756s # _ExtendedGDBusSignalInfo *info; 756s # GVariantIter iter; 756s # GVariant *child; 756s # GValue *paramv; 756s # gsize num_params; 756s # gsize n; 756s # guint signal_id; 756s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 756s # if (info == NULL) 756s # return; 756s # num_params = g_variant_n_children (parameters); 756s # paramv = g_new0 (GValue, num_params + 1); 756s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 756s # g_value_set_object (¶mv[0], proxy); 756s # g_variant_iter_init (&iter, parameters); 756s # n = 1; 756s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 756s # { 756s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 756s # if (arg_info->use_gvariant) 756s # { 756s # g_value_init (¶mv[n], G_TYPE_VARIANT); 756s # g_value_set_variant (¶mv[n], child); 756s # n++; 756s # } 756s # else 756s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 756s # g_variant_unref (child); 756s # } 756s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 756s # g_signal_emitv (paramv, signal_id, 0, NULL); 756s # for (n = 0; n < num_params + 1; n++) 756s # g_value_unset (¶mv[n]); 756s # g_free (paramv); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 756s # GVariant *changed_properties, 756s # const gchar *const *invalidated_properties) 756s # { 756s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 756s # guint n; 756s # const gchar *key; 756s # GVariantIter *iter; 756s # _ExtendedGDBusPropertyInfo *info; 756s # g_variant_get (changed_properties, "a{sv}", &iter); 756s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 756s # { 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 756s # g_datalist_remove_data (&proxy->priv->qdata, key); 756s # if (info != NULL) 756s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 756s # } 756s # g_variant_iter_free (iter); 756s # for (n = 0; invalidated_properties[n] != NULL; n++) 756s # { 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 756s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 756s # if (info != NULL) 756s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 756s # } 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 756s # { 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 756s # #else 756s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 756s # #endif 756s # 756s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 756s # { 756s # GObjectClass *gobject_class; 756s # GDBusProxyClass *proxy_class; 756s # 756s # gobject_class = G_OBJECT_CLASS (klass); 756s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 756s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 756s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 756s # 756s # proxy_class = G_DBUS_PROXY_CLASS (klass); 756s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 756s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 756s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 756s # #endif 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new: 756s # * @connection: A #GDBusConnection. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 756s # * 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 756s # * 756s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 756s # */ 756s # void 756s # org_project_signaling_iface_proxy_new ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # 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); 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_finish: 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 756s # * @error: Return location for error or %NULL 756s # * 756s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_proxy_new_finish ( 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GObject *ret; 756s # GObject *source_object; 756s # source_object = g_async_result_get_source_object (res); 756s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 756s # g_object_unref (source_object); 756s # if (ret != NULL) 756s # return ORG_PROJECT_SIGNALING_IFACE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_sync: 756s # * @connection: A #GDBusConnection. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL 756s # * 756s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 756s # * 756s # * The calling thread is blocked until a reply is received. 756s # * 756s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_proxy_new_sync ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GInitable *ret; 756s # 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); 756s # if (ret != NULL) 756s # return ORG_PROJECT_SIGNALING_IFACE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_for_bus: 756s # * @bus_type: A #GBusType. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: A bus name (well-known or unique). 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 756s # * 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 756s # * 756s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 756s # */ 756s # void 756s # org_project_signaling_iface_proxy_new_for_bus ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # 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); 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_for_bus_finish: 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 756s # * @error: Return location for error or %NULL 756s # * 756s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_proxy_new_for_bus_finish ( 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GObject *ret; 756s # GObject *source_object; 756s # source_object = g_async_result_get_source_object (res); 756s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 756s # g_object_unref (source_object); 756s # if (ret != NULL) 756s # return ORG_PROJECT_SIGNALING_IFACE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_for_bus_sync: 756s # * @bus_type: A #GBusType. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: A bus name (well-known or unique). 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL 756s # * 756s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 756s # * 756s # * The calling thread is blocked until a reply is received. 756s # * 756s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_proxy_new_for_bus_sync ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GInitable *ret; 756s # 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); 756s # if (ret != NULL) 756s # return ORG_PROJECT_SIGNALING_IFACE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceSkeleton: 756s # * 756s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 756s # */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceSkeletonClass: 756s # * @parent_class: The parent class. 756s # * 756s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 756s # */ 756s # 756s # struct _OrgProjectSignalingIfaceSkeletonPrivate 756s # { 756s # GValue *properties; 756s # GList *changed_properties; 756s # GSource *changed_properties_idle_source; 756s # GMainContext *context; 756s # GMutex lock; 756s # }; 756s # 756s # static void 756s # _org_project_signaling_iface_skeleton_handle_method_call ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name, 756s # const gchar *method_name, 756s # GVariant *parameters, 756s # GDBusMethodInvocation *invocation, 756s # gpointer user_data) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 756s # _ExtendedGDBusMethodInfo *info; 756s # GVariantIter iter; 756s # GVariant *child; 756s # GValue *paramv; 756s # gsize num_params; 756s # guint num_extra; 756s # gsize n; 756s # guint signal_id; 756s # GValue return_value = G_VALUE_INIT; 756s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 756s # g_assert (info != NULL); 756s # num_params = g_variant_n_children (parameters); 756s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 756s # n = 0; 756s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 756s # g_value_set_object (¶mv[n++], skeleton); 756s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 756s # g_value_set_object (¶mv[n++], invocation); 756s # if (info->pass_fdlist) 756s # { 756s # #ifdef G_OS_UNIX 756s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 756s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 756s # #else 756s # g_assert_not_reached (); 756s # #endif 756s # } 756s # g_variant_iter_init (&iter, parameters); 756s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 756s # { 756s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 756s # if (arg_info->use_gvariant) 756s # { 756s # g_value_init (¶mv[n], G_TYPE_VARIANT); 756s # g_value_set_variant (¶mv[n], child); 756s # n++; 756s # } 756s # else 756s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 756s # g_variant_unref (child); 756s # } 756s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 756s # g_value_init (&return_value, G_TYPE_BOOLEAN); 756s # g_signal_emitv (paramv, signal_id, 0, &return_value); 756s # if (!g_value_get_boolean (&return_value)) 756s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 756s # g_value_unset (&return_value); 756s # for (n = 0; n < num_params + num_extra; n++) 756s # g_value_unset (¶mv[n]); 756s # g_free (paramv); 756s # } 756s # 756s # static GVariant * 756s # _org_project_signaling_iface_skeleton_handle_get_property ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name G_GNUC_UNUSED, 756s # const gchar *property_name, 756s # GError **error, 756s # gpointer user_data) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 756s # GValue value = G_VALUE_INIT; 756s # GParamSpec *pspec; 756s # _ExtendedGDBusPropertyInfo *info; 756s # GVariant *ret; 756s # ret = NULL; 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 756s # g_assert (info != NULL); 756s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 756s # if (pspec == NULL) 756s # { 756s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 756s # } 756s # else 756s # { 756s # g_value_init (&value, pspec->value_type); 756s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 756s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 756s # g_value_unset (&value); 756s # } 756s # return ret; 756s # } 756s # 756s # static gboolean 756s # _org_project_signaling_iface_skeleton_handle_set_property ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name G_GNUC_UNUSED, 756s # const gchar *property_name, 756s # GVariant *variant, 756s # GError **error, 756s # gpointer user_data) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 756s # GValue value = G_VALUE_INIT; 756s # GParamSpec *pspec; 756s # _ExtendedGDBusPropertyInfo *info; 756s # gboolean ret; 756s # ret = FALSE; 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 756s # g_assert (info != NULL); 756s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 756s # if (pspec == NULL) 756s # { 756s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 756s # } 756s # else 756s # { 756s # if (info->use_gvariant) 756s # g_value_set_variant (&value, variant); 756s # else 756s # g_dbus_gvariant_to_gvalue (variant, &value); 756s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 756s # g_value_unset (&value); 756s # ret = TRUE; 756s # } 756s # return ret; 756s # } 756s # 756s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 756s # { 756s # _org_project_signaling_iface_skeleton_handle_method_call, 756s # _org_project_signaling_iface_skeleton_handle_get_property, 756s # _org_project_signaling_iface_skeleton_handle_set_property, 756s # {NULL} 756s # }; 756s # 756s # static GDBusInterfaceInfo * 756s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 756s # { 756s # return org_project_signaling_iface_interface_info (); 756s # } 756s # 756s # static GDBusInterfaceVTable * 756s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 756s # { 756s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 756s # } 756s # 756s # static GVariant * 756s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 756s # 756s # GVariantBuilder builder; 756s # guint n; 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 756s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 756s # #else 756s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 756s # #endif 756s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 756s # goto out; 756s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 756s # { 756s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 756s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 756s # { 756s # GVariant *value; 756s # 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); 756s # if (value != NULL) 756s # { 756s # g_variant_take_ref (value); 756s # g_variant_builder_add (&builder, "{sv}", info->name, value); 756s # g_variant_unref (value); 756s # } 756s # } 756s # } 756s # out: 756s # return g_variant_builder_end (&builder); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # static void 756s # _org_project_signaling_iface_on_signal_simple_signal ( 756s # OrgProjectSignalingIface *object) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 756s # 756s # GList *connections, *l; 756s # GVariant *signal_variant; 756s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 756s # 756s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 756s # for (l = connections; l != NULL; l = l->next) 756s # { 756s # GDBusConnection *connection = l->data; 756s # g_dbus_connection_emit_signal (connection, 756s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 756s # signal_variant, NULL); 756s # } 756s # g_variant_unref (signal_variant); 756s # g_list_free_full (connections, g_object_unref); 756s # } 756s # 756s # static void 756s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 756s # OrgProjectSignalingIface *object, 756s # GVariant *arg_arg_asv) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 756s # 756s # GList *connections, *l; 756s # GVariant *signal_variant; 756s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 756s # 756s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 756s # arg_arg_asv)); 756s # for (l = connections; l != NULL; l = l->next) 756s # { 756s # GDBusConnection *connection = l->data; 756s # g_dbus_connection_emit_signal (connection, 756s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 756s # signal_variant, NULL); 756s # } 756s # g_variant_unref (signal_variant); 756s # g_list_free_full (connections, g_object_unref); 756s # } 756s # 756s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 756s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 756s # 756s # #else 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 756s # 756s # #endif 756s # static void 756s # org_project_signaling_iface_skeleton_finalize (GObject *object) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 756s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 756s # if (skeleton->priv->changed_properties_idle_source != NULL) 756s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 756s # g_main_context_unref (skeleton->priv->context); 756s # g_mutex_clear (&skeleton->priv->lock); 756s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 756s # { 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 756s # #else 756s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 756s # #endif 756s # 756s # g_mutex_init (&skeleton->priv->lock); 756s # skeleton->priv->context = g_main_context_ref_thread_default (); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 756s # { 756s # GObjectClass *gobject_class; 756s # GDBusInterfaceSkeletonClass *skeleton_class; 756s # 756s # gobject_class = G_OBJECT_CLASS (klass); 756s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 756s # 756s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 756s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 756s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 756s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 756s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 756s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 756s # #endif 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 756s # { 756s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 756s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_skeleton_new: 756s # * 756s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_skeleton_new (void) 756s # { 756s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 756s # } 756s # Error: 756s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 756s # gdbus-codegen: /usr/bin/gdbus-codegen 756s # tmpdir: /tmp/tmp8nfw2eno 756s # /tmp/tmp8nfw2eno/tmpxfs4bd4p.xml: 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8nfw2eno/tmpxfs4bd4p.xml', '--output', '-', '--body'] 756s # Return code: 0 756s # Output: 756s # /* 756s # * This file is generated by gdbus-codegen, do not modify it. 756s # * 756s # * The license of this code is the same as for the D-Bus interface description 756s # * it was derived from. Note that it links to GLib, so must comply with the 756s # * LGPL linking clauses. 756s # */ 756s # 756s # #ifdef HAVE_CONFIG_H 756s # # include "config.h" 756s # #endif 756s # 756s # #include 756s # #ifdef G_OS_UNIX 756s # # include 756s # #endif 756s # 756s # #ifdef G_ENABLE_DEBUG 756s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 756s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 756s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 756s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 756s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 756s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 756s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 756s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 756s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 756s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 756s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 756s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 756s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 756s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 756s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 756s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 756s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 756s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 756s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 756s # #else /* !G_ENABLE_DEBUG */ 756s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 756s # * Do not access GValues directly in your code. Instead, use the 756s # * g_value_get_*() functions 756s # */ 756s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 756s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 756s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 756s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 756s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 756s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 756s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 756s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 756s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 756s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 756s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 756s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 756s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 756s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 756s # #endif /* !G_ENABLE_DEBUG */ 756s # 756s # typedef struct 756s # { 756s # GDBusArgInfo parent_struct; 756s # gboolean use_gvariant; 756s # } _ExtendedGDBusArgInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusMethodInfo parent_struct; 756s # const gchar *signal_name; 756s # gboolean pass_fdlist; 756s # } _ExtendedGDBusMethodInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusSignalInfo parent_struct; 756s # const gchar *signal_name; 756s # } _ExtendedGDBusSignalInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusPropertyInfo parent_struct; 756s # const gchar *hyphen_name; 756s # guint use_gvariant : 1; 756s # guint emits_changed_signal : 1; 756s # } _ExtendedGDBusPropertyInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusInterfaceInfo parent_struct; 756s # const gchar *hyphen_name; 756s # } _ExtendedGDBusInterfaceInfo; 756s # 756s # typedef struct 756s # { 756s # const _ExtendedGDBusPropertyInfo *info; 756s # guint prop_id; 756s # GValue orig_value; /* the value before the change */ 756s # } ChangedProperty; 756s # 756s # static void 756s # _changed_property_free (ChangedProperty *data) 756s # { 756s # g_value_unset (&data->orig_value); 756s # g_free (data); 756s # } 756s # 756s # static gboolean 756s # _g_strv_equal0 (gchar **a, gchar **b) 756s # { 756s # gboolean ret = FALSE; 756s # guint n; 756s # if (a == NULL && b == NULL) 756s # { 756s # ret = TRUE; 756s # goto out; 756s # } 756s # if (a == NULL || b == NULL) 756s # goto out; 756s # if (g_strv_length (a) != g_strv_length (b)) 756s # goto out; 756s # for (n = 0; a[n] != NULL; n++) 756s # if (g_strcmp0 (a[n], b[n]) != 0) 756s # goto out; 756s # ret = TRUE; 756s # out: 756s # return ret; 756s # } 756s # 756s # static gboolean 756s # _g_variant_equal0 (GVariant *a, GVariant *b) 756s # { 756s # gboolean ret = FALSE; 756s # if (a == NULL && b == NULL) 756s # { 756s # ret = TRUE; 756s # goto out; 756s # } 756s # if (a == NULL || b == NULL) 756s # goto out; 756s # ret = g_variant_equal (a, b); 756s # out: 756s # return ret; 756s # } 756s # 756s # G_GNUC_UNUSED static gboolean 756s # _g_value_equal (const GValue *a, const GValue *b) 756s # { 756s # gboolean ret = FALSE; 756s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 756s # switch (G_VALUE_TYPE (a)) 756s # { 756s # case G_TYPE_BOOLEAN: 756s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 756s # break; 756s # case G_TYPE_UCHAR: 756s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 756s # break; 756s # case G_TYPE_INT: 756s # ret = (g_value_get_int (a) == g_value_get_int (b)); 756s # break; 756s # case G_TYPE_UINT: 756s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 756s # break; 756s # case G_TYPE_INT64: 756s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 756s # break; 756s # case G_TYPE_UINT64: 756s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 756s # break; 756s # case G_TYPE_DOUBLE: 756s # { 756s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 756s # gdouble da = g_value_get_double (a); 756s # gdouble db = g_value_get_double (b); 756s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 756s # } 756s # break; 756s # case G_TYPE_STRING: 756s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 756s # break; 756s # case G_TYPE_VARIANT: 756s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 756s # break; 756s # default: 756s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 756s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 756s # else 756s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 756s # break; 756s # } 756s # return ret; 756s # } 756s # 756s # static void 756s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 756s # GClosure *closure, 756s # GValue *return_value G_GNUC_UNUSED, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint G_GNUC_UNUSED, 756s # void *marshal_data) 756s # { 756s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 756s # (void *data1, 756s # gboolean arg_an_b, 756s # guchar arg_an_y, 756s # gint16 arg_an_n, 756s # guint16 arg_an_q, 756s # gint arg_an_i, 756s # guint arg_an_u, 756s # gint64 arg_an_x, 756s # guint64 arg_an_t, 756s # gdouble arg_an_d, 756s # const gchar *arg_an_s, 756s # const gchar *arg_an_o, 756s # const gchar *arg_an_g, 756s # GVariant *arg_an_h, 756s # const gchar *arg_an_ay, 756s # const gchar *const *arg_an_as, 756s # const gchar *const *arg_an_ao, 756s # const gchar *const *arg_an_aay, 756s # GVariant *arg_an_asv, 756s # void *data2); 756s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 756s # GCClosure *cc = (GCClosure*) closure; 756s # void *data1, *data2; 756s # 756s # g_return_if_fail (n_param_values == 19); 756s # 756s # if (G_CCLOSURE_SWAP_DATA (closure)) 756s # { 756s # data1 = closure->data; 756s # data2 = g_value_peek_pointer (param_values + 0); 756s # } 756s # else 756s # { 756s # data1 = g_value_peek_pointer (param_values + 0); 756s # data2 = closure->data; 756s # } 756s # 756s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 756s # (marshal_data ? marshal_data : cc->callback); 756s # 756s # callback (data1, 756s # g_marshal_value_peek_boolean (param_values + 1), 756s # g_marshal_value_peek_uchar (param_values + 2), 756s # g_marshal_value_peek_int (param_values + 3), 756s # g_marshal_value_peek_uint (param_values + 4), 756s # g_marshal_value_peek_int (param_values + 5), 756s # g_marshal_value_peek_uint (param_values + 6), 756s # g_marshal_value_peek_int64 (param_values + 7), 756s # g_marshal_value_peek_uint64 (param_values + 8), 756s # g_marshal_value_peek_double (param_values + 9), 756s # g_marshal_value_peek_string (param_values + 10), 756s # g_marshal_value_peek_string (param_values + 11), 756s # g_marshal_value_peek_string (param_values + 12), 756s # g_marshal_value_peek_variant (param_values + 13), 756s # g_marshal_value_peek_string (param_values + 14), 756s # g_marshal_value_peek_boxed (param_values + 15), 756s # g_marshal_value_peek_boxed (param_values + 16), 756s # g_marshal_value_peek_boxed (param_values + 17), 756s # g_marshal_value_peek_variant (param_values + 18), 756s # data2); 756s # } 756s # 756s # /* ------------------------------------------------------------------------ 756s # * Code for interface org.project.SignalingIface 756s # * ------------------------------------------------------------------------ 756s # */ 756s # 756s # /** 756s # * SECTION:OrgProjectSignalingIface 756s # * @title: OrgProjectSignalingIface 756s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 756s # * 756s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 756s # */ 756s # 756s # enum 756s # { 756s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 756s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 756s # }; 756s # 756s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 756s # 756s # /* ---- Introspection data for org.project.SignalingIface ---- */ 756s # 756s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 756s # { 756s # { 756s # -1, 756s # (gchar *) "SimpleSignal", 756s # NULL, 756s # NULL 756s # }, 756s # "simple-signal" 756s # }; 756s # 756s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 756s # { 756s # { 756s # -1, 756s # (gchar *) "an_b", 756s # (gchar *) "b", 756s # NULL 756s # }, 756s # FALSE 756s # }; 756s # 756s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 756s # { 756s # { 756s # -1, 756s # (gchar *) "an_y", 756s # (gchar *) "y", 756s # NULL 756s # }, 756s # FALSE 756s # }; 756s # 756s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 756s # { 756s # { 756s # -1, 756s # (gchar *) "an_n", 756s # (gchar *) "n", 756s # NULL 756s # }, 756s # FALSE 756s # }; 756s # 756s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 756s # { 756s # { 756s # -1, 756s # (gchar *) "an_q", 756s # (gchar *) "q", 756s # NULL 756s # }, 756s # FALSE 756s # }; 756s # 756s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 756s # { 756s # { 756s # -1, 756s # (gchar *) "an_i", 756s # (gchar *) "i", 756s # NULL 756s # }, 756s # FALSE 756s # }; 756s # 756s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 756s # { 756s # { 756s # -1, 756s # (gchar *) "an_u", 756s # (gchar *) "u", 756s # NULL 756s # }, 756s # FALSE 756s # }; 756s # 756s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 756s # { 756s # { 756s # -1, 756s # (gchar *) "an_x", 756s # (gchar *) "x", 756s # NULL 756s # }, 756s # FALSE 756s # }; 756s # 756s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 756s # { 756s # { 756s # -1, 756s # (gchar *) "an_t", 756s # (gchar *) "t", 756s # NULL 756s # }, 756s # FALSE 756s # }; 756s # 756s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 756s # { 756s # { 756s # -1, 756s # (gchar *) "an_d", 756s # (gchar *) "d", 756s # NULL 756s # }, 756s # FALSE 756s # }; 756s # 756s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 756s # { 756s # { 756s # -1, 756s # (gchar *) "an_s", 756s # (gchar *) "s", 756s # NULL 756s # }, 756s # FALSE 756s # }; 756s # 756s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 756s # { 756s # { 756s # -1, 756s # (gchar *) "an_o", 756s # (gchar *) "o", 756s # NULL 756s # }, 756s # FALSE 756s # }; 756s # 756s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 756s # { 756s # { 756s # -1, 756s # (gchar *) "an_g", 756s # (gchar *) "g", 756s # NULL 756s # }, 756s # FALSE 756s # }; 756s # 756s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 756s # { 756s # { 756s # -1, 756s # (gchar *) "an_h", 756s # (gchar *) "h", 756s # NULL 756s # }, 756s # FALSE 756s # }; 756s # 756s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 756s # { 756s # { 756s # -1, 756s # (gchar *) "an_ay", 756s # (gchar *) "ay", 756s # NULL 756s # }, 756s # FALSE 756s # }; 756s # 756s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 756s # { 756s # { 756s # -1, 756s # (gchar *) "an_as", 756s # (gchar *) "as", 756s # NULL 756s # }, 756s # FALSE 756s # }; 756s # 756s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 756s # { 756s # { 756s # -1, 756s # (gchar *) "an_ao", 756s # (gchar *) "ao", 756s # NULL 756s # }, 756s # FALSE 756s # }; 756s # 756s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 756s # { 756s # { 756s # -1, 756s # (gchar *) "an_aay", 756s # (gchar *) "aay", 756s # NULL 756s # }, 756s # FALSE 756s # }; 756s # 756s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 756s # { 756s # { 756s # -1, 756s # (gchar *) "an_asv", 756s # (gchar *) "a{sv}", 756s # NULL 756s # }, 756s # FALSE 756s # }; 756s # 756s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 756s # { 756s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 756s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 756s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 756s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 756s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 756s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 756s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 756s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 756s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 756s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 756s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 756s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 756s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 756s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 756s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 756s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 756s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 756s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 756s # NULL 756s # }; 756s # 756s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 756s # { 756s # { 756s # -1, 756s # (gchar *) "SignalWithManyArgs", 756s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 756s # NULL 756s # }, 756s # "signal-with-many-args" 756s # }; 756s # 756s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 756s # { 756s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 756s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 756s # NULL 756s # }; 756s # 756s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 756s # { 756s # { 756s # -1, 756s # (gchar *) "org.project.SignalingIface", 756s # NULL, 756s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 756s # NULL, 756s # NULL 756s # }, 756s # "org-project-signaling-iface", 756s # }; 756s # 756s # 756s # /** 756s # * org_project_signaling_iface_interface_info: 756s # * 756s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 756s # * 756s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 756s # */ 756s # GDBusInterfaceInfo * 756s # org_project_signaling_iface_interface_info (void) 756s # { 756s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_override_properties: 756s # * @klass: The class structure for a #GObject derived class. 756s # * @property_id_begin: The property id to assign to the first overridden property. 756s # * 756s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 756s # * The properties are overridden in the order they are defined. 756s # * 756s # * Returns: The last property id. 756s # */ 756s # guint 756s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 756s # { 756s # return property_id_begin - 1; 756s # } 756s # 756s # 756s # inline static void 756s # org_project_signaling_iface_signal_marshal_simple_signal ( 756s # GClosure *closure, 756s # GValue *return_value, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint, 756s # void *marshal_data) 756s # { 756s # g_cclosure_marshal_VOID__VOID (closure, 756s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 756s # } 756s # 756s # inline static void 756s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 756s # GClosure *closure, 756s # GValue *return_value, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint, 756s # void *marshal_data) 756s # { 756s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 756s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 756s # } 756s # 756s # 756s # /** 756s # * OrgProjectSignalingIface: 756s # * 756s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 756s # */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceIface: 756s # * @parent_iface: The parent interface. 756s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 756s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 756s # * 756s # * Virtual table for the D-Bus interface org.project.SignalingIface. 756s # */ 756s # 756s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 756s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 756s # 756s # static void 756s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 756s # { 756s # /* GObject signals for received D-Bus signals: */ 756s # /** 756s # * OrgProjectSignalingIface::simple-signal: 756s # * @object: A #OrgProjectSignalingIface. 756s # * 756s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 756s # * 756s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 756s # */ 756s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 756s # g_signal_new ("simple-signal", 756s # G_TYPE_FROM_INTERFACE (iface), 756s # G_SIGNAL_RUN_LAST, 756s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 756s # NULL, 756s # NULL, 756s # org_project_signaling_iface_signal_marshal_simple_signal, 756s # G_TYPE_NONE, 756s # 0); 756s # 756s # /** 756s # * OrgProjectSignalingIface::signal-with-many-args: 756s # * @object: A #OrgProjectSignalingIface. 756s # * @arg_an_b: Argument. 756s # * @arg_an_y: Argument. 756s # * @arg_an_n: Argument. 756s # * @arg_an_q: Argument. 756s # * @arg_an_i: Argument. 756s # * @arg_an_u: Argument. 756s # * @arg_an_x: Argument. 756s # * @arg_an_t: Argument. 756s # * @arg_an_d: Argument. 756s # * @arg_an_s: Argument. 756s # * @arg_an_o: Argument. 756s # * @arg_an_g: Argument. 756s # * @arg_an_h: Argument. 756s # * @arg_an_ay: Argument. 756s # * @arg_an_as: Argument. 756s # * @arg_an_ao: Argument. 756s # * @arg_an_aay: Argument. 756s # * @arg_an_asv: Argument. 756s # * 756s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 756s # * 756s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 756s # */ 756s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 756s # g_signal_new ("signal-with-many-args", 756s # G_TYPE_FROM_INTERFACE (iface), 756s # G_SIGNAL_RUN_LAST, 756s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 756s # NULL, 756s # NULL, 756s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 756s # G_TYPE_NONE, 756s # 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); 756s # 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_emit_simple_signal: 756s # * @object: A #OrgProjectSignalingIface. 756s # * 756s # * Emits the "SimpleSignal" D-Bus signal. 756s # */ 756s # void 756s # org_project_signaling_iface_emit_simple_signal ( 756s # OrgProjectSignalingIface *object) 756s # { 756s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_emit_signal_with_many_args: 756s # * @object: A #OrgProjectSignalingIface. 756s # * @arg_an_b: Argument to pass with the signal. 756s # * @arg_an_y: Argument to pass with the signal. 756s # * @arg_an_n: Argument to pass with the signal. 756s # * @arg_an_q: Argument to pass with the signal. 756s # * @arg_an_i: Argument to pass with the signal. 756s # * @arg_an_u: Argument to pass with the signal. 756s # * @arg_an_x: Argument to pass with the signal. 756s # * @arg_an_t: Argument to pass with the signal. 756s # * @arg_an_d: Argument to pass with the signal. 756s # * @arg_an_s: Argument to pass with the signal. 756s # * @arg_an_o: Argument to pass with the signal. 756s # * @arg_an_g: Argument to pass with the signal. 756s # * @arg_an_h: Argument to pass with the signal. 756s # * @arg_an_ay: Argument to pass with the signal. 756s # * @arg_an_as: Argument to pass with the signal. 756s # * @arg_an_ao: Argument to pass with the signal. 756s # * @arg_an_aay: Argument to pass with the signal. 756s # * @arg_an_asv: Argument to pass with the signal. 756s # * 756s # * Emits the "SignalWithManyArgs" D-Bus signal. 756s # */ 756s # void 756s # org_project_signaling_iface_emit_signal_with_many_args ( 756s # OrgProjectSignalingIface *object, 756s # gboolean arg_an_b, 756s # guchar arg_an_y, 756s # gint16 arg_an_n, 756s # guint16 arg_an_q, 756s # gint arg_an_i, 756s # guint arg_an_u, 756s # gint64 arg_an_x, 756s # guint64 arg_an_t, 756s # gdouble arg_an_d, 756s # const gchar *arg_an_s, 756s # const gchar *arg_an_o, 756s # const gchar *arg_an_g, 756s # GVariant *arg_an_h, 756s # const gchar *arg_an_ay, 756s # const gchar *const *arg_an_as, 756s # const gchar *const *arg_an_ao, 756s # const gchar *const *arg_an_aay, 756s # GVariant *arg_an_asv) 756s # { 756s # 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); 756s # } 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceProxy: 756s # * 756s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 756s # */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceProxyClass: 756s # * @parent_class: The parent class. 756s # * 756s # * Class structure for #OrgProjectSignalingIfaceProxy. 756s # */ 756s # 756s # struct _OrgProjectSignalingIfaceProxyPrivate 756s # { 756s # GData *qdata; 756s # }; 756s # 756s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 756s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 756s # 756s # #else 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 756s # 756s # #endif 756s # static void 756s # org_project_signaling_iface_proxy_finalize (GObject *object) 756s # { 756s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 756s # g_datalist_clear (&proxy->priv->qdata); 756s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 756s # guint prop_id G_GNUC_UNUSED, 756s # GValue *value G_GNUC_UNUSED, 756s # GParamSpec *pspec G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 756s # guint prop_id G_GNUC_UNUSED, 756s # const GValue *value G_GNUC_UNUSED, 756s # GParamSpec *pspec G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 756s # const gchar *sender_name G_GNUC_UNUSED, 756s # const gchar *signal_name, 756s # GVariant *parameters) 756s # { 756s # _ExtendedGDBusSignalInfo *info; 756s # GVariantIter iter; 756s # GVariant *child; 756s # GValue *paramv; 756s # gsize num_params; 756s # gsize n; 756s # guint signal_id; 756s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 756s # if (info == NULL) 756s # return; 756s # num_params = g_variant_n_children (parameters); 756s # paramv = g_new0 (GValue, num_params + 1); 756s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 756s # g_value_set_object (¶mv[0], proxy); 756s # g_variant_iter_init (&iter, parameters); 756s # n = 1; 756s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 756s # { 756s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 756s # if (arg_info->use_gvariant) 756s # { 756s # g_value_init (¶mv[n], G_TYPE_VARIANT); 756s # g_value_set_variant (¶mv[n], child); 756s # n++; 756s # } 756s # else 756s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 756s # g_variant_unref (child); 756s # } 756s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 756s # g_signal_emitv (paramv, signal_id, 0, NULL); 756s # for (n = 0; n < num_params + 1; n++) 756s # g_value_unset (¶mv[n]); 756s # g_free (paramv); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 756s # GVariant *changed_properties, 756s # const gchar *const *invalidated_properties) 756s # { 756s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 756s # guint n; 756s # const gchar *key; 756s # GVariantIter *iter; 756s # _ExtendedGDBusPropertyInfo *info; 756s # g_variant_get (changed_properties, "a{sv}", &iter); 756s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 756s # { 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 756s # g_datalist_remove_data (&proxy->priv->qdata, key); 756s # if (info != NULL) 756s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 756s # } 756s # g_variant_iter_free (iter); 756s # for (n = 0; invalidated_properties[n] != NULL; n++) 756s # { 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 756s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 756s # if (info != NULL) 756s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 756s # } 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 756s # { 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 756s # #else 756s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 756s # #endif 756s # 756s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 756s # { 756s # GObjectClass *gobject_class; 756s # GDBusProxyClass *proxy_class; 756s # 756s # gobject_class = G_OBJECT_CLASS (klass); 756s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 756s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 756s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 756s # 756s # proxy_class = G_DBUS_PROXY_CLASS (klass); 756s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 756s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 756s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 756s # #endif 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new: 756s # * @connection: A #GDBusConnection. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 756s # * 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 756s # * 756s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 756s # */ 756s # void 756s # org_project_signaling_iface_proxy_new ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # 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); 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_finish: 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 756s # * @error: Return location for error or %NULL 756s # * 756s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_proxy_new_finish ( 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GObject *ret; 756s # GObject *source_object; 756s # source_object = g_async_result_get_source_object (res); 756s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 756s # g_object_unref (source_object); 756s # if (ret != NULL) 756s # return ORG_PROJECT_SIGNALING_IFACE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_sync: 756s # * @connection: A #GDBusConnection. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL 756s # * 756s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 756s # * 756s # * The calling thread is blocked until a reply is received. 756s # * 756s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_proxy_new_sync ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GInitable *ret; 756s # 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); 756s # if (ret != NULL) 756s # return ORG_PROJECT_SIGNALING_IFACE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_for_bus: 756s # * @bus_type: A #GBusType. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: A bus name (well-known or unique). 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 756s # * 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 756s # * 756s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 756s # */ 756s # void 756s # org_project_signaling_iface_proxy_new_for_bus ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # 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); 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_for_bus_finish: 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 756s # * @error: Return location for error or %NULL 756s # * 756s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_proxy_new_for_bus_finish ( 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GObject *ret; 756s # GObject *source_object; 756s # source_object = g_async_result_get_source_object (res); 756s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 756s # g_object_unref (source_object); 756s # if (ret != NULL) 756s # return ORG_PROJECT_SIGNALING_IFACE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_proxy_new_for_bus_sync: 756s # * @bus_type: A #GBusType. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: A bus name (well-known or unique). 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL 756s # * 756s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 756s # * 756s # * The calling thread is blocked until a reply is received. 756s # * 756s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_proxy_new_for_bus_sync ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GInitable *ret; 756s # 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); 756s # if (ret != NULL) 756s # return ORG_PROJECT_SIGNALING_IFACE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceSkeleton: 756s # * 756s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 756s # */ 756s # 756s # /** 756s # * OrgProjectSignalingIfaceSkeletonClass: 756s # * @parent_class: The parent class. 756s # * 756s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 756s # */ 756s # 756s # struct _OrgProjectSignalingIfaceSkeletonPrivate 756s # { 756s # GValue *properties; 756s # GList *changed_properties; 756s # GSource *changed_properties_idle_source; 756s # GMainContext *context; 756s # GMutex lock; 756s # }; 756s # 756s # static void 756s # _org_project_signaling_iface_skeleton_handle_method_call ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name, 756s # const gchar *method_name, 756s # GVariant *parameters, 756s # GDBusMethodInvocation *invocation, 756s # gpointer user_data) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 756s # _ExtendedGDBusMethodInfo *info; 756s # GVariantIter iter; 756s # GVariant *child; 756s # GValue *paramv; 756s # gsize num_params; 756s # guint num_extra; 756s # gsize n; 756s # guint signal_id; 756s # GValue return_value = G_VALUE_INIT; 756s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 756s # g_assert (info != NULL); 756s # num_params = g_variant_n_children (parameters); 756s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 756s # n = 0; 756s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 756s # g_value_set_object (¶mv[n++], skeleton); 756s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 756s # g_value_set_object (¶mv[n++], invocation); 756s # if (info->pass_fdlist) 756s # { 756s # #ifdef G_OS_UNIX 756s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 756s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 756s # #else 756s # g_assert_not_reached (); 756s # #endif 756s # } 756s # g_variant_iter_init (&iter, parameters); 756s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 756s # { 756s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 756s # if (arg_info->use_gvariant) 756s # { 756s # g_value_init (¶mv[n], G_TYPE_VARIANT); 756s # g_value_set_variant (¶mv[n], child); 756s # n++; 756s # } 756s # else 756s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 756s # g_variant_unref (child); 756s # } 756s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 756s # g_value_init (&return_value, G_TYPE_BOOLEAN); 756s # g_signal_emitv (paramv, signal_id, 0, &return_value); 756s # if (!g_value_get_boolean (&return_value)) 756s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 756s # g_value_unset (&return_value); 756s # for (n = 0; n < num_params + num_extra; n++) 756s # g_value_unset (¶mv[n]); 756s # g_free (paramv); 756s # } 756s # 756s # static GVariant * 756s # _org_project_signaling_iface_skeleton_handle_get_property ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name G_GNUC_UNUSED, 756s # const gchar *property_name, 756s # GError **error, 756s # gpointer user_data) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 756s # GValue value = G_VALUE_INIT; 756s # GParamSpec *pspec; 756s # _ExtendedGDBusPropertyInfo *info; 756s # GVariant *ret; 756s # ret = NULL; 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 756s # g_assert (info != NULL); 756s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 756s # if (pspec == NULL) 756s # { 756s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 756s # } 756s # else 756s # { 756s # g_value_init (&value, pspec->value_type); 756s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 756s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 756s # g_value_unset (&value); 756s # } 756s # return ret; 756s # } 756s # 756s # static gboolean 756s # _org_project_signaling_iface_skeleton_handle_set_property ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name G_GNUC_UNUSED, 756s # const gchar *property_name, 756s # GVariant *variant, 756s # GError **error, 756s # gpointer user_data) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 756s # GValue value = G_VALUE_INIT; 756s # GParamSpec *pspec; 756s # _ExtendedGDBusPropertyInfo *info; 756s # gboolean ret; 756s # ret = FALSE; 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 756s # g_assert (info != NULL); 756s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 756s # if (pspec == NULL) 756s # { 756s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 756s # } 756s # else 756s # { 756s # if (info->use_gvariant) 756s # g_value_set_variant (&value, variant); 756s # else 756s # g_dbus_gvariant_to_gvalue (variant, &value); 756s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 756s # g_value_unset (&value); 756s # ret = TRUE; 756s # } 756s # return ret; 756s # } 756s # 756s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 756s # { 756s # _org_project_signaling_iface_skeleton_handle_method_call, 756s # _org_project_signaling_iface_skeleton_handle_get_property, 756s # _org_project_signaling_iface_skeleton_handle_set_property, 756s # {NULL} 756s # }; 756s # 756s # static GDBusInterfaceInfo * 756s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 756s # { 756s # return org_project_signaling_iface_interface_info (); 756s # } 756s # 756s # static GDBusInterfaceVTable * 756s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 756s # { 756s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 756s # } 756s # 756s # static GVariant * 756s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 756s # 756s # GVariantBuilder builder; 756s # guint n; 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 756s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 756s # #else 756s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 756s # #endif 756s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 756s # goto out; 756s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 756s # { 756s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 756s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 756s # { 756s # GVariant *value; 756s # 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); 756s # if (value != NULL) 756s # { 756s # g_variant_take_ref (value); 756s # g_variant_builder_add (&builder, "{sv}", info->name, value); 756s # g_variant_unref (value); 756s # } 756s # } 756s # } 756s # out: 756s # return g_variant_builder_end (&builder); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # static void 756s # _org_project_signaling_iface_on_signal_simple_signal ( 756s # OrgProjectSignalingIface *object) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 756s # 756s # GList *connections, *l; 756s # GVariant *signal_variant; 756s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 756s # 756s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 756s # for (l = connections; l != NULL; l = l->next) 756s # { 756s # GDBusConnection *connection = l->data; 756s # g_dbus_connection_emit_signal (connection, 756s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 756s # signal_variant, NULL); 756s # } 756s # g_variant_unref (signal_variant); 756s # g_list_free_full (connections, g_object_unref); 756s # } 756s # 756s # static void 756s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 756s # OrgProjectSignalingIface *object, 756s # gboolean arg_an_b, 756s # guchar arg_an_y, 756s # gint16 arg_an_n, 756s # guint16 arg_an_q, 756s # gint arg_an_i, 756s # guint arg_an_u, 756s # gint64 arg_an_x, 756s # guint64 arg_an_t, 756s # gdouble arg_an_d, 756s # const gchar *arg_an_s, 756s # const gchar *arg_an_o, 756s # const gchar *arg_an_g, 756s # GVariant *arg_an_h, 756s # const gchar *arg_an_ay, 756s # const gchar *const *arg_an_as, 756s # const gchar *const *arg_an_ao, 756s # const gchar *const *arg_an_aay, 756s # GVariant *arg_an_asv) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 756s # 756s # GList *connections, *l; 756s # GVariant *signal_variant; 756s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 756s # 756s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 756s # arg_an_b, 756s # arg_an_y, 756s # arg_an_n, 756s # arg_an_q, 756s # arg_an_i, 756s # arg_an_u, 756s # arg_an_x, 756s # arg_an_t, 756s # arg_an_d, 756s # arg_an_s, 756s # arg_an_o, 756s # arg_an_g, 756s # arg_an_h, 756s # arg_an_ay, 756s # arg_an_as, 756s # arg_an_ao, 756s # arg_an_aay, 756s # arg_an_asv)); 756s # for (l = connections; l != NULL; l = l->next) 756s # { 756s # GDBusConnection *connection = l->data; 756s # g_dbus_connection_emit_signal (connection, 756s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 756s # signal_variant, NULL); 756s # } 756s # g_variant_unref (signal_variant); 756s # g_list_free_full (connections, g_object_unref); 756s # } 756s # 756s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 756s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 756s # 756s # #else 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 756s # 756s # #endif 756s # static void 756s # org_project_signaling_iface_skeleton_finalize (GObject *object) 756s # { 756s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 756s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 756s # if (skeleton->priv->changed_properties_idle_source != NULL) 756s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 756s # g_main_context_unref (skeleton->priv->context); 756s # g_mutex_clear (&skeleton->priv->lock); 756s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 756s # { 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 756s # #else 756s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 756s # #endif 756s # 756s # g_mutex_init (&skeleton->priv->lock); 756s # skeleton->priv->context = g_main_context_ref_thread_default (); 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 756s # { 756s # GObjectClass *gobject_class; 756s # GDBusInterfaceSkeletonClass *skeleton_class; 756s # 756s # gobject_class = G_OBJECT_CLASS (klass); 756s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 756s # 756s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 756s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 756s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 756s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 756s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 756s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 756s # #endif 756s # } 756s # 756s # static void 756s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 756s # { 756s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 756s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 756s # } 756s # 756s # /** 756s # * org_project_signaling_iface_skeleton_new: 756s # * 756s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 756s # * 756s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 756s # */ 756s # OrgProjectSignalingIface * 756s # org_project_signaling_iface_skeleton_new (void) 756s # { 756s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 756s # } 756s # Error: 756s ok 25 __main__.TestCodegen.test_generate_valid_docbook 756s # gdbus-codegen: /usr/bin/gdbus-codegen 756s # tmpdir: /tmp/tmpjpy0rktg 756s # /tmp/tmpjpy0rktg/tmpj7lp0vr4.xml: 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjpy0rktg/tmpj7lp0vr4.xml', '--generate-docbook', 'test'] 756s # Return code: 0 756s # Output: 756s # 756s # Error: 756s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 756s # gdbus-codegen: /usr/bin/gdbus-codegen 756s # tmpdir: /tmp/tmpjqcdal63 756s # /tmp/tmpjqcdal63/tmpc775_khp.xml: 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjqcdal63/tmpc775_khp.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 756s # Return code: 1 756s # Output: 756s # 756s # Error: 756s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62)) 756s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 756s # gdbus-codegen: /usr/bin/gdbus-codegen 756s # tmpdir: /tmp/tmp0_m3pae0 756s # /tmp/tmp0_m3pae0/tmpirqrf6cj.xml: 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0_m3pae0/tmpirqrf6cj.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 756s # Return code: 0 756s # Output: 756s # /* 756s # * This file is generated by gdbus-codegen, do not modify it. 756s # * 756s # * The license of this code is the same as for the D-Bus interface description 756s # * it was derived from. Note that it links to GLib, so must comply with the 756s # * LGPL linking clauses. 756s # */ 756s # 756s # #ifndef __STDOUT__ 756s # #define __STDOUT__ 756s # 756s # #include 756s # 756s # G_BEGIN_DECLS 756s # 756s # 756s # G_END_DECLS 756s # 756s # #endif /* __STDOUT__ */ 756s # Error: 756s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 756s # gdbus-codegen: /usr/bin/gdbus-codegen 756s # tmpdir: /tmp/tmpv_p9db00 756s # /tmp/tmpv_p9db00/tmpnab6e7nr.xml: 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv_p9db00/tmpnab6e7nr.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 756s # Return code: 1 756s # Output: 756s # 756s # Error: 756s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6)) 756s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 756s # gdbus-codegen: /usr/bin/gdbus-codegen 756s # tmpdir: /tmp/tmpi6xz95xe 756s # /tmp/tmpi6xz95xe/tmpudtb25uv.xml: 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi6xz95xe/tmpudtb25uv.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 756s # Return code: 0 756s # Output: 756s # /* 756s # * This file is generated by gdbus-codegen, do not modify it. 756s # * 756s # * The license of this code is the same as for the D-Bus interface description 756s # * it was derived from. Note that it links to GLib, so must comply with the 756s # * LGPL linking clauses. 756s # */ 756s # 756s # #ifndef __STDOUT__ 756s # #define __STDOUT__ 756s # 756s # #include 756s # 756s # G_BEGIN_DECLS 756s # 756s # 756s # G_END_DECLS 756s # 756s # #endif /* __STDOUT__ */ 756s # Error: 756s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 756s # gdbus-codegen: /usr/bin/gdbus-codegen 756s # tmpdir: /tmp/tmpi0d4zfld 756s # /tmp/tmpi0d4zfld/tmp5gnoo1q6.xml: 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi0d4zfld/tmp5gnoo1q6.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 756s # Return code: 0 756s # Output: 756s # /* 756s # * This file is generated by gdbus-codegen, do not modify it. 756s # * 756s # * The license of this code is the same as for the D-Bus interface description 756s # * it was derived from. Note that it links to GLib, so must comply with the 756s # * LGPL linking clauses. 756s # */ 756s # 756s # #ifndef __STDOUT__ 756s # #define __STDOUT__ 756s # 756s # #include 756s # 756s # G_BEGIN_DECLS 756s # 756s # 756s # G_END_DECLS 756s # 756s # #endif /* __STDOUT__ */ 756s # Error: 756s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 756s # gdbus-codegen: /usr/bin/gdbus-codegen 756s # tmpdir: /tmp/tmpf9_wg9_0 756s # /tmp/tmpf9_wg9_0/tmpp6mt_o1c.xml: 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf9_wg9_0/tmpp6mt_o1c.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 756s # Return code: 1 756s # Output: 756s # 756s # Error: 756s # ERROR: Unrecognized --glib-min-required string ‘hello mum’ 756s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 756s # gdbus-codegen: /usr/bin/gdbus-codegen 756s # tmpdir: /tmp/tmpy2znc4gz 756s # /tmp/tmpy2znc4gz/tmp6xpaxhen.xml: 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy2znc4gz/tmp6xpaxhen.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 756s # Return code: 0 756s # Output: 756s # /* 756s # * This file is generated by gdbus-codegen, do not modify it. 756s # * 756s # * The license of this code is the same as for the D-Bus interface description 756s # * it was derived from. Note that it links to GLib, so must comply with the 756s # * LGPL linking clauses. 756s # */ 756s # 756s # #ifndef __STDOUT__ 756s # #define __STDOUT__ 756s # 756s # #include 756s # 756s # G_BEGIN_DECLS 756s # 756s # 756s # G_END_DECLS 756s # 756s # #endif /* __STDOUT__ */ 756s # Error: 756s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 756s # gdbus-codegen: /usr/bin/gdbus-codegen 756s # tmpdir: /tmp/tmps1aetgex 756s # /tmp/tmps1aetgex/tmp5m57ozw3.xml: 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps1aetgex/tmp5m57ozw3.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 756s # Return code: 1 756s # Output: 756s # 756s # Error: 756s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30 756s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 756s # gdbus-codegen: /usr/bin/gdbus-codegen 756s # tmpdir: /tmp/tmpb_xd9wmp 756s # /tmp/tmpb_xd9wmp/tmp142zg42p.xml: 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb_xd9wmp/tmp142zg42p.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 756s # Return code: 0 756s # Output: 756s # /* 756s # * This file is generated by gdbus-codegen, do not modify it. 756s # * 756s # * The license of this code is the same as for the D-Bus interface description 756s # * it was derived from. Note that it links to GLib, so must comply with the 756s # * LGPL linking clauses. 756s # */ 756s # 756s # #ifndef __STDOUT__ 756s # #define __STDOUT__ 756s # 756s # #include 756s # 756s # G_BEGIN_DECLS 756s # 756s # 756s # G_END_DECLS 756s # 756s # #endif /* __STDOUT__ */ 756s # Error: 756s ok 35 __main__.TestCodegen.test_help 756s # gdbus-codegen: /usr/bin/gdbus-codegen 756s # tmpdir: /tmp/tmpaw2skwl0 756s # Running: ['/usr/bin/gdbus-codegen', '--help'] 756s # Return code: 0 756s # Output: 756s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 756s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 756s # [--c-generate-autocleanup {none,objects,all}] 756s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 756s # [--generate-rst OUTFILES] [--pragma-once] 756s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 756s # [--glib-min-required VERSION] 756s # [--glib-max-allowed VERSION] 756s # [--symbol-decorator SYMBOL_DECORATOR] 756s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 756s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 756s # [--generate-c-code OUTFILES | --header | --body | 756s # --interface-info-header | --interface-info-body] 756s # [--output FILE | --output-directory OUTDIR] 756s # FILE [FILE ...] 756s # 756s # D-Bus code and documentation generator 756s # 756s # positional arguments: 756s # FILE D-Bus introspection XML file 756s # 756s # options: 756s # -h, --help show this help message and exit 756s # --interface-prefix PREFIX 756s # String to strip from D-Bus interface names for code 756s # and docs 756s # --c-namespace NAMESPACE 756s # The namespace to use for generated C code 756s # --c-generate-object-manager 756s # Generate a GDBusObjectManagerClient subclass when 756s # generating C code 756s # --c-generate-autocleanup {none,objects,all} 756s # Generate autocleanup support 756s # --generate-docbook OUTFILES 756s # Generate Docbook in OUTFILES-org.Project.IFace.xml 756s # --generate-md OUTFILES 756s # Generate Markdown in OUTFILES-org.Project.IFace.md 756s # --generate-rst OUTFILES 756s # Generate reStructuredText in OUTFILES- 756s # org.Project.IFace.rst 756s # --pragma-once Use "pragma once" as the inclusion guard 756s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 756s # Add annotation (may be used several times) 756s # --glib-min-required VERSION 756s # Minimum version of GLib to be supported by the 756s # outputted code (default: 2.30) 756s # --glib-max-allowed VERSION 756s # Maximum version of GLib to be used by the outputted 756s # code (default: current GLib version) 756s # --symbol-decorator SYMBOL_DECORATOR 756s # Macro used to decorate a symbol in the outputted 756s # header, possibly to export symbols 756s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 756s # Additional header required for decorator specified by 756s # --symbol-decorator 756s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 756s # Additional define required for decorator specified by 756s # --symbol-decorator 756s # --generate-c-code OUTFILES 756s # Generate C code in OUTFILES.[ch] 756s # --header Generate C headers 756s # --body Generate C code 756s # --interface-info-header 756s # Generate GDBusInterfaceInfo C header 756s # --interface-info-body 756s # Generate GDBusInterfaceInfo C code 756s # --output FILE Write output into the specified file 756s # --output-directory OUTDIR 756s # Location to output generated files 756s # Error: 756s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 756s # gdbus-codegen: /usr/bin/gdbus-codegen 756s # tmpdir: /tmp/tmp2os9j_kw 756s # /tmp/tmp2os9j_kw/tmppo64lofc.xml: 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2os9j_kw/tmppo64lofc.xml', '--generate-rst', 'test'] 756s # Return code: 0 756s # Output: 756s # 756s # Error: 756s # 756s # /tmp/tmp2os9j_kw/tmpx1a3caf0.xml: 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2os9j_kw/tmpx1a3caf0.xml', '--generate-md', 'test'] 756s # Return code: 0 756s # Output: 756s # 756s # Error: 756s # 756s # /tmp/tmp2os9j_kw/tmp58s79wx3.xml: 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2os9j_kw/tmp58s79wx3.xml', '--generate-docbook', 'test'] 756s # Return code: 0 756s # Output: 756s # 756s # Error: 756s ok 37 __main__.TestCodegen.test_no_args 756s # gdbus-codegen: /usr/bin/gdbus-codegen 756s # tmpdir: /tmp/tmploknmcxn 756s # Running: ['/usr/bin/gdbus-codegen'] 756s # Return code: 2 756s # Output: 756s # 756s # Error: 756s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 756s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 756s # [--c-generate-autocleanup {none,objects,all}] 756s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 756s # [--generate-rst OUTFILES] [--pragma-once] 756s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 756s # [--glib-min-required VERSION] 756s # [--glib-max-allowed VERSION] 756s # [--symbol-decorator SYMBOL_DECORATOR] 756s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 756s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 756s # [--generate-c-code OUTFILES | --header | --body | 756s # --interface-info-header | --interface-info-body] 756s # [--output FILE | --output-directory OUTDIR] 756s # FILE [FILE ...] 756s # gdbus-codegen: error: the following arguments are required: FILE 756s ok 38 __main__.TestCodegen.test_reproducible 756s # gdbus-codegen: /usr/bin/gdbus-codegen 756s # tmpdir: /tmp/tmp22hykezw 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22hykezw/tmp3jwyt3dt1.xml', '/tmp/tmp22hykezw/tmp9j4j3hid2.xml', '--output', '-', '--header'] 756s # Return code: 0 756s # Output: 756s # /* 756s # * This file is generated by gdbus-codegen, do not modify it. 756s # * 756s # * The license of this code is the same as for the D-Bus interface description 756s # * it was derived from. Note that it links to GLib, so must comply with the 756s # * LGPL linking clauses. 756s # */ 756s # 756s # #ifndef __STDOUT__ 756s # #define __STDOUT__ 756s # 756s # #include 756s # 756s # G_BEGIN_DECLS 756s # 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # /* Declarations for com.acme.Coyote */ 756s # 756s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 756s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 756s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 756s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 756s # 756s # struct _ComAcmeCoyote; 756s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 756s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 756s # 756s # struct _ComAcmeCoyoteIface 756s # { 756s # GTypeInterface parent_iface; 756s # 756s # 756s # 756s # gboolean (*handle_attack) ( 756s # ComAcmeCoyote *object, 756s # GDBusMethodInvocation *invocation); 756s # 756s # gboolean (*handle_run) ( 756s # ComAcmeCoyote *object, 756s # GDBusMethodInvocation *invocation); 756s # 756s # gboolean (*handle_sleep) ( 756s # ComAcmeCoyote *object, 756s # GDBusMethodInvocation *invocation); 756s # 756s # const gchar * (*get_mood) (ComAcmeCoyote *object); 756s # 756s # void (*surprised) ( 756s # ComAcmeCoyote *object); 756s # 756s # }; 756s # 756s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 756s # 756s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 756s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 756s # 756s # 756s # /* D-Bus method call completion functions: */ 756s # void com_acme_coyote_complete_run ( 756s # ComAcmeCoyote *object, 756s # GDBusMethodInvocation *invocation); 756s # 756s # void com_acme_coyote_complete_sleep ( 756s # ComAcmeCoyote *object, 756s # GDBusMethodInvocation *invocation); 756s # 756s # void com_acme_coyote_complete_attack ( 756s # ComAcmeCoyote *object, 756s # GDBusMethodInvocation *invocation); 756s # 756s # 756s # 756s # /* D-Bus signal emissions functions: */ 756s # void com_acme_coyote_emit_surprised ( 756s # ComAcmeCoyote *object); 756s # 756s # 756s # 756s # /* D-Bus method calls: */ 756s # void com_acme_coyote_call_run ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # 756s # gboolean com_acme_coyote_call_run_finish ( 756s # ComAcmeCoyote *proxy, 756s # GAsyncResult *res, 756s # GError **error); 756s # 756s # gboolean com_acme_coyote_call_run_sync ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # void com_acme_coyote_call_sleep ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # 756s # gboolean com_acme_coyote_call_sleep_finish ( 756s # ComAcmeCoyote *proxy, 756s # GAsyncResult *res, 756s # GError **error); 756s # 756s # gboolean com_acme_coyote_call_sleep_sync ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # void com_acme_coyote_call_attack ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # 756s # gboolean com_acme_coyote_call_attack_finish ( 756s # ComAcmeCoyote *proxy, 756s # GAsyncResult *res, 756s # GError **error); 756s # 756s # gboolean com_acme_coyote_call_attack_sync ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # 756s # 756s # /* D-Bus property accessors: */ 756s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 756s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 756s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 756s # 756s # 756s # /* ---- */ 756s # 756s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 756s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 756s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 756s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 756s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 756s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 756s # 756s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 756s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 756s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 756s # 756s # struct _ComAcmeCoyoteProxy 756s # { 756s # /*< private >*/ 756s # GDBusProxy parent_instance; 756s # ComAcmeCoyoteProxyPrivate *priv; 756s # }; 756s # 756s # struct _ComAcmeCoyoteProxyClass 756s # { 756s # GDBusProxyClass parent_class; 756s # }; 756s # 756s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 756s # 756s # #if GLIB_CHECK_VERSION(2, 44, 0) 756s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 756s # #endif 756s # 756s # void com_acme_coyote_proxy_new ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 756s # GAsyncResult *res, 756s # GError **error); 756s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # void com_acme_coyote_proxy_new_for_bus ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 756s # GAsyncResult *res, 756s # GError **error); 756s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # 756s # /* ---- */ 756s # 756s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 756s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 756s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 756s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 756s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 756s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 756s # 756s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 756s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 756s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 756s # 756s # struct _ComAcmeCoyoteSkeleton 756s # { 756s # /*< private >*/ 756s # GDBusInterfaceSkeleton parent_instance; 756s # ComAcmeCoyoteSkeletonPrivate *priv; 756s # }; 756s # 756s # struct _ComAcmeCoyoteSkeletonClass 756s # { 756s # GDBusInterfaceSkeletonClass parent_class; 756s # }; 756s # 756s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 756s # 756s # #if GLIB_CHECK_VERSION(2, 44, 0) 756s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 756s # #endif 756s # 756s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 756s # 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # /* Declarations for org.project.Bar.Frobnicator */ 756s # 756s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 756s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 756s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 756s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 756s # 756s # struct _OrgProjectBarFrobnicator; 756s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 756s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 756s # 756s # struct _OrgProjectBarFrobnicatorIface 756s # { 756s # GTypeInterface parent_iface; 756s # 756s # gboolean (*handle_random_method) ( 756s # OrgProjectBarFrobnicator *object, 756s # GDBusMethodInvocation *invocation); 756s # 756s # }; 756s # 756s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 756s # 756s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 756s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 756s # 756s # 756s # /* D-Bus method call completion functions: */ 756s # void org_project_bar_frobnicator_complete_random_method ( 756s # OrgProjectBarFrobnicator *object, 756s # GDBusMethodInvocation *invocation); 756s # 756s # 756s # 756s # /* D-Bus method calls: */ 756s # void org_project_bar_frobnicator_call_random_method ( 756s # OrgProjectBarFrobnicator *proxy, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # 756s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 756s # OrgProjectBarFrobnicator *proxy, 756s # GAsyncResult *res, 756s # GError **error); 756s # 756s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 756s # OrgProjectBarFrobnicator *proxy, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # 756s # 756s # /* ---- */ 756s # 756s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 756s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 756s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 756s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 756s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 756s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 756s # 756s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 756s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 756s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 756s # 756s # struct _OrgProjectBarFrobnicatorProxy 756s # { 756s # /*< private >*/ 756s # GDBusProxy parent_instance; 756s # OrgProjectBarFrobnicatorProxyPrivate *priv; 756s # }; 756s # 756s # struct _OrgProjectBarFrobnicatorProxyClass 756s # { 756s # GDBusProxyClass parent_class; 756s # }; 756s # 756s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 756s # 756s # #if GLIB_CHECK_VERSION(2, 44, 0) 756s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 756s # #endif 756s # 756s # void org_project_bar_frobnicator_proxy_new ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 756s # GAsyncResult *res, 756s # GError **error); 756s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # void org_project_bar_frobnicator_proxy_new_for_bus ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 756s # GAsyncResult *res, 756s # GError **error); 756s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # 756s # /* ---- */ 756s # 756s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 756s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 756s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 756s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 756s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 756s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 756s # 756s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 756s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 756s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 756s # 756s # struct _OrgProjectBarFrobnicatorSkeleton 756s # { 756s # /*< private >*/ 756s # GDBusInterfaceSkeleton parent_instance; 756s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 756s # }; 756s # 756s # struct _OrgProjectBarFrobnicatorSkeletonClass 756s # { 756s # GDBusInterfaceSkeletonClass parent_class; 756s # }; 756s # 756s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 756s # 756s # #if GLIB_CHECK_VERSION(2, 44, 0) 756s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 756s # #endif 756s # 756s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 756s # 756s # 756s # G_END_DECLS 756s # 756s # #endif /* __STDOUT__ */ 756s # Error: 756s # 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22hykezw/tmp9j4j3hid2.xml', '/tmp/tmp22hykezw/tmp3jwyt3dt1.xml', '--output', '-', '--header'] 756s # Return code: 0 756s # Output: 756s # /* 756s # * This file is generated by gdbus-codegen, do not modify it. 756s # * 756s # * The license of this code is the same as for the D-Bus interface description 756s # * it was derived from. Note that it links to GLib, so must comply with the 756s # * LGPL linking clauses. 756s # */ 756s # 756s # #ifndef __STDOUT__ 756s # #define __STDOUT__ 756s # 756s # #include 756s # 756s # G_BEGIN_DECLS 756s # 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # /* Declarations for com.acme.Coyote */ 756s # 756s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 756s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 756s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 756s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 756s # 756s # struct _ComAcmeCoyote; 756s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 756s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 756s # 756s # struct _ComAcmeCoyoteIface 756s # { 756s # GTypeInterface parent_iface; 756s # 756s # 756s # 756s # gboolean (*handle_attack) ( 756s # ComAcmeCoyote *object, 756s # GDBusMethodInvocation *invocation); 756s # 756s # gboolean (*handle_run) ( 756s # ComAcmeCoyote *object, 756s # GDBusMethodInvocation *invocation); 756s # 756s # gboolean (*handle_sleep) ( 756s # ComAcmeCoyote *object, 756s # GDBusMethodInvocation *invocation); 756s # 756s # const gchar * (*get_mood) (ComAcmeCoyote *object); 756s # 756s # void (*surprised) ( 756s # ComAcmeCoyote *object); 756s # 756s # }; 756s # 756s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 756s # 756s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 756s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 756s # 756s # 756s # /* D-Bus method call completion functions: */ 756s # void com_acme_coyote_complete_run ( 756s # ComAcmeCoyote *object, 756s # GDBusMethodInvocation *invocation); 756s # 756s # void com_acme_coyote_complete_sleep ( 756s # ComAcmeCoyote *object, 756s # GDBusMethodInvocation *invocation); 756s # 756s # void com_acme_coyote_complete_attack ( 756s # ComAcmeCoyote *object, 756s # GDBusMethodInvocation *invocation); 756s # 756s # 756s # 756s # /* D-Bus signal emissions functions: */ 756s # void com_acme_coyote_emit_surprised ( 756s # ComAcmeCoyote *object); 756s # 756s # 756s # 756s # /* D-Bus method calls: */ 756s # void com_acme_coyote_call_run ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # 756s # gboolean com_acme_coyote_call_run_finish ( 756s # ComAcmeCoyote *proxy, 756s # GAsyncResult *res, 756s # GError **error); 756s # 756s # gboolean com_acme_coyote_call_run_sync ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # void com_acme_coyote_call_sleep ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # 756s # gboolean com_acme_coyote_call_sleep_finish ( 756s # ComAcmeCoyote *proxy, 756s # GAsyncResult *res, 756s # GError **error); 756s # 756s # gboolean com_acme_coyote_call_sleep_sync ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # void com_acme_coyote_call_attack ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # 756s # gboolean com_acme_coyote_call_attack_finish ( 756s # ComAcmeCoyote *proxy, 756s # GAsyncResult *res, 756s # GError **error); 756s # 756s # gboolean com_acme_coyote_call_attack_sync ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # 756s # 756s # /* D-Bus property accessors: */ 756s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 756s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 756s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 756s # 756s # 756s # /* ---- */ 756s # 756s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 756s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 756s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 756s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 756s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 756s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 756s # 756s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 756s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 756s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 756s # 756s # struct _ComAcmeCoyoteProxy 756s # { 756s # /*< private >*/ 756s # GDBusProxy parent_instance; 756s # ComAcmeCoyoteProxyPrivate *priv; 756s # }; 756s # 756s # struct _ComAcmeCoyoteProxyClass 756s # { 756s # GDBusProxyClass parent_class; 756s # }; 756s # 756s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 756s # 756s # #if GLIB_CHECK_VERSION(2, 44, 0) 756s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 756s # #endif 756s # 756s # void com_acme_coyote_proxy_new ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 756s # GAsyncResult *res, 756s # GError **error); 756s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # void com_acme_coyote_proxy_new_for_bus ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 756s # GAsyncResult *res, 756s # GError **error); 756s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # 756s # /* ---- */ 756s # 756s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 756s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 756s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 756s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 756s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 756s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 756s # 756s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 756s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 756s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 756s # 756s # struct _ComAcmeCoyoteSkeleton 756s # { 756s # /*< private >*/ 756s # GDBusInterfaceSkeleton parent_instance; 756s # ComAcmeCoyoteSkeletonPrivate *priv; 756s # }; 756s # 756s # struct _ComAcmeCoyoteSkeletonClass 756s # { 756s # GDBusInterfaceSkeletonClass parent_class; 756s # }; 756s # 756s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 756s # 756s # #if GLIB_CHECK_VERSION(2, 44, 0) 756s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 756s # #endif 756s # 756s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 756s # 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # /* Declarations for org.project.Bar.Frobnicator */ 756s # 756s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 756s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 756s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 756s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 756s # 756s # struct _OrgProjectBarFrobnicator; 756s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 756s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 756s # 756s # struct _OrgProjectBarFrobnicatorIface 756s # { 756s # GTypeInterface parent_iface; 756s # 756s # gboolean (*handle_random_method) ( 756s # OrgProjectBarFrobnicator *object, 756s # GDBusMethodInvocation *invocation); 756s # 756s # }; 756s # 756s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 756s # 756s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 756s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 756s # 756s # 756s # /* D-Bus method call completion functions: */ 756s # void org_project_bar_frobnicator_complete_random_method ( 756s # OrgProjectBarFrobnicator *object, 756s # GDBusMethodInvocation *invocation); 756s # 756s # 756s # 756s # /* D-Bus method calls: */ 756s # void org_project_bar_frobnicator_call_random_method ( 756s # OrgProjectBarFrobnicator *proxy, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # 756s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 756s # OrgProjectBarFrobnicator *proxy, 756s # GAsyncResult *res, 756s # GError **error); 756s # 756s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 756s # OrgProjectBarFrobnicator *proxy, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # 756s # 756s # /* ---- */ 756s # 756s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 756s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 756s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 756s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 756s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 756s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 756s # 756s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 756s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 756s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 756s # 756s # struct _OrgProjectBarFrobnicatorProxy 756s # { 756s # /*< private >*/ 756s # GDBusProxy parent_instance; 756s # OrgProjectBarFrobnicatorProxyPrivate *priv; 756s # }; 756s # 756s # struct _OrgProjectBarFrobnicatorProxyClass 756s # { 756s # GDBusProxyClass parent_class; 756s # }; 756s # 756s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 756s # 756s # #if GLIB_CHECK_VERSION(2, 44, 0) 756s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 756s # #endif 756s # 756s # void org_project_bar_frobnicator_proxy_new ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 756s # GAsyncResult *res, 756s # GError **error); 756s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # void org_project_bar_frobnicator_proxy_new_for_bus ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 756s # GAsyncResult *res, 756s # GError **error); 756s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # 756s # /* ---- */ 756s # 756s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 756s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 756s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 756s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 756s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 756s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 756s # 756s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 756s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 756s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 756s # 756s # struct _OrgProjectBarFrobnicatorSkeleton 756s # { 756s # /*< private >*/ 756s # GDBusInterfaceSkeleton parent_instance; 756s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 756s # }; 756s # 756s # struct _OrgProjectBarFrobnicatorSkeletonClass 756s # { 756s # GDBusInterfaceSkeletonClass parent_class; 756s # }; 756s # 756s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 756s # 756s # #if GLIB_CHECK_VERSION(2, 44, 0) 756s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 756s # #endif 756s # 756s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 756s # 756s # 756s # G_END_DECLS 756s # 756s # #endif /* __STDOUT__ */ 756s # Error: 756s # 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22hykezw/tmp3jwyt3dt1.xml', '/tmp/tmp22hykezw/tmp9j4j3hid2.xml', '--output', '-', '--body'] 756s # Return code: 0 756s # Output: 756s # /* 756s # * This file is generated by gdbus-codegen, do not modify it. 756s # * 756s # * The license of this code is the same as for the D-Bus interface description 756s # * it was derived from. Note that it links to GLib, so must comply with the 756s # * LGPL linking clauses. 756s # */ 756s # 756s # #ifdef HAVE_CONFIG_H 756s # # include "config.h" 756s # #endif 756s # 756s # #include 756s # #ifdef G_OS_UNIX 756s # # include 756s # #endif 756s # 756s # #ifdef G_ENABLE_DEBUG 756s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 756s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 756s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 756s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 756s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 756s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 756s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 756s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 756s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 756s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 756s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 756s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 756s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 756s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 756s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 756s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 756s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 756s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 756s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 756s # #else /* !G_ENABLE_DEBUG */ 756s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 756s # * Do not access GValues directly in your code. Instead, use the 756s # * g_value_get_*() functions 756s # */ 756s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 756s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 756s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 756s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 756s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 756s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 756s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 756s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 756s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 756s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 756s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 756s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 756s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 756s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 756s # #endif /* !G_ENABLE_DEBUG */ 756s # 756s # typedef struct 756s # { 756s # GDBusArgInfo parent_struct; 756s # gboolean use_gvariant; 756s # } _ExtendedGDBusArgInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusMethodInfo parent_struct; 756s # const gchar *signal_name; 756s # gboolean pass_fdlist; 756s # } _ExtendedGDBusMethodInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusSignalInfo parent_struct; 756s # const gchar *signal_name; 756s # } _ExtendedGDBusSignalInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusPropertyInfo parent_struct; 756s # const gchar *hyphen_name; 756s # guint use_gvariant : 1; 756s # guint emits_changed_signal : 1; 756s # } _ExtendedGDBusPropertyInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusInterfaceInfo parent_struct; 756s # const gchar *hyphen_name; 756s # } _ExtendedGDBusInterfaceInfo; 756s # 756s # typedef struct 756s # { 756s # const _ExtendedGDBusPropertyInfo *info; 756s # guint prop_id; 756s # GValue orig_value; /* the value before the change */ 756s # } ChangedProperty; 756s # 756s # static void 756s # _changed_property_free (ChangedProperty *data) 756s # { 756s # g_value_unset (&data->orig_value); 756s # g_free (data); 756s # } 756s # 756s # static gboolean 756s # _g_strv_equal0 (gchar **a, gchar **b) 756s # { 756s # gboolean ret = FALSE; 756s # guint n; 756s # if (a == NULL && b == NULL) 756s # { 756s # ret = TRUE; 756s # goto out; 756s # } 756s # if (a == NULL || b == NULL) 756s # goto out; 756s # if (g_strv_length (a) != g_strv_length (b)) 756s # goto out; 756s # for (n = 0; a[n] != NULL; n++) 756s # if (g_strcmp0 (a[n], b[n]) != 0) 756s # goto out; 756s # ret = TRUE; 756s # out: 756s # return ret; 756s # } 756s # 756s # static gboolean 756s # _g_variant_equal0 (GVariant *a, GVariant *b) 756s # { 756s # gboolean ret = FALSE; 756s # if (a == NULL && b == NULL) 756s # { 756s # ret = TRUE; 756s # goto out; 756s # } 756s # if (a == NULL || b == NULL) 756s # goto out; 756s # ret = g_variant_equal (a, b); 756s # out: 756s # return ret; 756s # } 756s # 756s # G_GNUC_UNUSED static gboolean 756s # _g_value_equal (const GValue *a, const GValue *b) 756s # { 756s # gboolean ret = FALSE; 756s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 756s # switch (G_VALUE_TYPE (a)) 756s # { 756s # case G_TYPE_BOOLEAN: 756s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 756s # break; 756s # case G_TYPE_UCHAR: 756s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 756s # break; 756s # case G_TYPE_INT: 756s # ret = (g_value_get_int (a) == g_value_get_int (b)); 756s # break; 756s # case G_TYPE_UINT: 756s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 756s # break; 756s # case G_TYPE_INT64: 756s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 756s # break; 756s # case G_TYPE_UINT64: 756s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 756s # break; 756s # case G_TYPE_DOUBLE: 756s # { 756s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 756s # gdouble da = g_value_get_double (a); 756s # gdouble db = g_value_get_double (b); 756s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 756s # } 756s # break; 756s # case G_TYPE_STRING: 756s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 756s # break; 756s # case G_TYPE_VARIANT: 756s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 756s # break; 756s # default: 756s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 756s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 756s # else 756s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 756s # break; 756s # } 756s # return ret; 756s # } 756s # 756s # static void 756s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 756s # GClosure *closure, 756s # GValue *return_value, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint G_GNUC_UNUSED, 756s # void *marshal_data) 756s # { 756s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 756s # (void *data1, 756s # GDBusMethodInvocation *arg_method_invocation, 756s # void *data2); 756s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 756s # GCClosure *cc = (GCClosure*) closure; 756s # void *data1, *data2; 756s # gboolean v_return; 756s # 756s # g_return_if_fail (return_value != NULL); 756s # g_return_if_fail (n_param_values == 2); 756s # 756s # if (G_CCLOSURE_SWAP_DATA (closure)) 756s # { 756s # data1 = closure->data; 756s # data2 = g_value_peek_pointer (param_values + 0); 756s # } 756s # else 756s # { 756s # data1 = g_value_peek_pointer (param_values + 0); 756s # data2 = closure->data; 756s # } 756s # 756s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 756s # (marshal_data ? marshal_data : cc->callback); 756s # 756s # v_return = 756s # callback (data1, 756s # g_marshal_value_peek_object (param_values + 1), 756s # data2); 756s # 756s # g_value_set_boolean (return_value, v_return); 756s # } 756s # 756s # /* ------------------------------------------------------------------------ 756s # * Code for interface com.acme.Coyote 756s # * ------------------------------------------------------------------------ 756s # */ 756s # 756s # /** 756s # * SECTION:ComAcmeCoyote 756s # * @title: ComAcmeCoyote 756s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 756s # * 756s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 756s # */ 756s # 756s # enum 756s # { 756s # _COM_ACME_COYOTE_SURPRISED, 756s # }; 756s # 756s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 756s # 756s # /* ---- Introspection data for com.acme.Coyote ---- */ 756s # 756s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 756s # { 756s # { 756s # -1, 756s # (gchar *) "Run", 756s # NULL, 756s # NULL, 756s # NULL 756s # }, 756s # "handle-run", 756s # FALSE 756s # }; 756s # 756s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 756s # { 756s # { 756s # -1, 756s # (gchar *) "Sleep", 756s # NULL, 756s # NULL, 756s # NULL 756s # }, 756s # "handle-sleep", 756s # FALSE 756s # }; 756s # 756s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 756s # { 756s # { 756s # -1, 756s # (gchar *) "Attack", 756s # NULL, 756s # NULL, 756s # NULL 756s # }, 756s # "handle-attack", 756s # FALSE 756s # }; 756s # 756s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 756s # { 756s # &_com_acme_coyote_method_info_run.parent_struct, 756s # &_com_acme_coyote_method_info_sleep.parent_struct, 756s # &_com_acme_coyote_method_info_attack.parent_struct, 756s # NULL 756s # }; 756s # 756s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 756s # { 756s # { 756s # -1, 756s # (gchar *) "Surprised", 756s # NULL, 756s # NULL 756s # }, 756s # "surprised" 756s # }; 756s # 756s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 756s # { 756s # &_com_acme_coyote_signal_info_surprised.parent_struct, 756s # NULL 756s # }; 756s # 756s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 756s # { 756s # { 756s # -1, 756s # (gchar *) "Mood", 756s # (gchar *) "s", 756s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 756s # NULL 756s # }, 756s # "mood", 756s # FALSE, 756s # TRUE 756s # }; 756s # 756s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 756s # { 756s # &_com_acme_coyote_property_info_mood.parent_struct, 756s # NULL 756s # }; 756s # 756s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 756s # { 756s # { 756s # -1, 756s # (gchar *) "com.acme.Coyote", 756s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 756s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 756s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 756s # NULL 756s # }, 756s # "com-acme-coyote", 756s # }; 756s # 756s # 756s # /** 756s # * com_acme_coyote_interface_info: 756s # * 756s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 756s # * 756s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 756s # */ 756s # GDBusInterfaceInfo * 756s # com_acme_coyote_interface_info (void) 756s # { 756s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_override_properties: 756s # * @klass: The class structure for a #GObject derived class. 756s # * @property_id_begin: The property id to assign to the first overridden property. 756s # * 756s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 756s # * The properties are overridden in the order they are defined. 756s # * 756s # * Returns: The last property id. 756s # */ 756s # guint 756s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 756s # { 756s # g_object_class_override_property (klass, property_id_begin++, "mood"); 756s # return property_id_begin - 1; 756s # } 756s # 756s # 756s # inline static void 756s # com_acme_coyote_signal_marshal_surprised ( 756s # GClosure *closure, 756s # GValue *return_value, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint, 756s # void *marshal_data) 756s # { 756s # g_cclosure_marshal_VOID__VOID (closure, 756s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 756s # } 756s # 756s # inline static void 756s # com_acme_coyote_method_marshal_run ( 756s # GClosure *closure, 756s # GValue *return_value, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint, 756s # void *marshal_data) 756s # { 756s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 756s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 756s # } 756s # 756s # inline static void 756s # com_acme_coyote_method_marshal_sleep ( 756s # GClosure *closure, 756s # GValue *return_value, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint, 756s # void *marshal_data) 756s # { 756s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 756s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 756s # } 756s # 756s # inline static void 756s # com_acme_coyote_method_marshal_attack ( 756s # GClosure *closure, 756s # GValue *return_value, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint, 756s # void *marshal_data) 756s # { 756s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 756s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 756s # } 756s # 756s # 756s # /** 756s # * ComAcmeCoyote: 756s # * 756s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 756s # */ 756s # 756s # /** 756s # * ComAcmeCoyoteIface: 756s # * @parent_iface: The parent interface. 756s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 756s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 756s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 756s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 756s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 756s # * 756s # * Virtual table for the D-Bus interface com.acme.Coyote. 756s # */ 756s # 756s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 756s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 756s # 756s # static void 756s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 756s # { 756s # /* GObject signals for incoming D-Bus method calls: */ 756s # /** 756s # * ComAcmeCoyote::handle-run: 756s # * @object: A #ComAcmeCoyote. 756s # * @invocation: A #GDBusMethodInvocation. 756s # * 756s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 756s # * 756s # * 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. 756s # * 756s # * 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. 756s # */ 756s # g_signal_new ("handle-run", 756s # G_TYPE_FROM_INTERFACE (iface), 756s # G_SIGNAL_RUN_LAST, 756s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 756s # g_signal_accumulator_true_handled, 756s # NULL, 756s # com_acme_coyote_method_marshal_run, 756s # G_TYPE_BOOLEAN, 756s # 1, 756s # G_TYPE_DBUS_METHOD_INVOCATION); 756s # 756s # /** 756s # * ComAcmeCoyote::handle-sleep: 756s # * @object: A #ComAcmeCoyote. 756s # * @invocation: A #GDBusMethodInvocation. 756s # * 756s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 756s # * 756s # * 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. 756s # * 756s # * 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. 756s # */ 756s # g_signal_new ("handle-sleep", 756s # G_TYPE_FROM_INTERFACE (iface), 756s # G_SIGNAL_RUN_LAST, 756s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 756s # g_signal_accumulator_true_handled, 756s # NULL, 756s # com_acme_coyote_method_marshal_sleep, 756s # G_TYPE_BOOLEAN, 756s # 1, 756s # G_TYPE_DBUS_METHOD_INVOCATION); 756s # 756s # /** 756s # * ComAcmeCoyote::handle-attack: 756s # * @object: A #ComAcmeCoyote. 756s # * @invocation: A #GDBusMethodInvocation. 756s # * 756s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 756s # * 756s # * 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. 756s # * 756s # * 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. 756s # */ 756s # g_signal_new ("handle-attack", 756s # G_TYPE_FROM_INTERFACE (iface), 756s # G_SIGNAL_RUN_LAST, 756s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 756s # g_signal_accumulator_true_handled, 756s # NULL, 756s # com_acme_coyote_method_marshal_attack, 756s # G_TYPE_BOOLEAN, 756s # 1, 756s # G_TYPE_DBUS_METHOD_INVOCATION); 756s # 756s # /* GObject signals for received D-Bus signals: */ 756s # /** 756s # * ComAcmeCoyote::surprised: 756s # * @object: A #ComAcmeCoyote. 756s # * 756s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 756s # * 756s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 756s # */ 756s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 756s # g_signal_new ("surprised", 756s # G_TYPE_FROM_INTERFACE (iface), 756s # G_SIGNAL_RUN_LAST, 756s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 756s # NULL, 756s # NULL, 756s # com_acme_coyote_signal_marshal_surprised, 756s # G_TYPE_NONE, 756s # 0); 756s # 756s # /* GObject properties for D-Bus properties: */ 756s # /** 756s # * ComAcmeCoyote:mood: 756s # * 756s # * Represents the D-Bus property "Mood". 756s # * 756s # * 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. 756s # */ 756s # g_object_interface_install_property (iface, 756s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 756s # } 756s # 756s # /** 756s # * com_acme_coyote_get_mood: (skip) 756s # * @object: A #ComAcmeCoyote. 756s # * 756s # * Gets the value of the "Mood" D-Bus property. 756s # * 756s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 756s # * 756s # * 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. 756s # * 756s # * 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. 756s # */ 756s # const gchar * 756s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 756s # { 756s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 756s # 756s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 756s # } 756s # 756s # /** 756s # * com_acme_coyote_dup_mood: (skip) 756s # * @object: A #ComAcmeCoyote. 756s # * 756s # * Gets a copy of the "Mood" D-Bus property. 756s # * 756s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 756s # * 756s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 756s # */ 756s # gchar * 756s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 756s # { 756s # gchar *value; 756s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 756s # return value; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_set_mood: (skip) 756s # * @object: A #ComAcmeCoyote. 756s # * @value: The value to set. 756s # * 756s # * Sets the "Mood" D-Bus property to @value. 756s # * 756s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 756s # */ 756s # void 756s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 756s # { 756s # g_object_set (G_OBJECT (object), "mood", value, NULL); 756s # } 756s # 756s # /** 756s # * com_acme_coyote_emit_surprised: 756s # * @object: A #ComAcmeCoyote. 756s # * 756s # * Emits the "Surprised" D-Bus signal. 756s # */ 756s # void 756s # com_acme_coyote_emit_surprised ( 756s # ComAcmeCoyote *object) 756s # { 756s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 756s # } 756s # 756s # /** 756s # * com_acme_coyote_call_run: 756s # * @proxy: A #ComAcmeCoyoteProxy. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Asynchronously invokes the Run() D-Bus method on @proxy. 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 756s # * 756s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 756s # */ 756s # void 756s # com_acme_coyote_call_run ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 756s # "Run", 756s # g_variant_new ("()"), 756s # G_DBUS_CALL_FLAGS_NONE, 756s # -1, 756s # cancellable, 756s # callback, 756s # user_data); 756s # } 756s # 756s # /** 756s # * com_acme_coyote_call_run_finish: 756s # * @proxy: A #ComAcmeCoyoteProxy. 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 756s # * @error: Return location for error or %NULL. 756s # * 756s # * Finishes an operation started with com_acme_coyote_call_run(). 756s # * 756s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 756s # */ 756s # gboolean 756s # com_acme_coyote_call_run_finish ( 756s # ComAcmeCoyote *proxy, 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GVariant *_ret; 756s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 756s # if (_ret == NULL) 756s # goto _out; 756s # g_variant_get (_ret, 756s # "()"); 756s # g_variant_unref (_ret); 756s # _out: 756s # return _ret != NULL; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_call_run_sync: 756s # * @proxy: A #ComAcmeCoyoteProxy. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL. 756s # * 756s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 756s # * 756s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 756s # * 756s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 756s # */ 756s # gboolean 756s # com_acme_coyote_call_run_sync ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GVariant *_ret; 756s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 756s # "Run", 756s # g_variant_new ("()"), 756s # G_DBUS_CALL_FLAGS_NONE, 756s # -1, 756s # cancellable, 756s # error); 756s # if (_ret == NULL) 756s # goto _out; 756s # g_variant_get (_ret, 756s # "()"); 756s # g_variant_unref (_ret); 756s # _out: 756s # return _ret != NULL; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_call_sleep: 756s # * @proxy: A #ComAcmeCoyoteProxy. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 756s # * 756s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 756s # */ 756s # void 756s # com_acme_coyote_call_sleep ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 756s # "Sleep", 756s # g_variant_new ("()"), 756s # G_DBUS_CALL_FLAGS_NONE, 756s # -1, 756s # cancellable, 756s # callback, 756s # user_data); 756s # } 756s # 756s # /** 756s # * com_acme_coyote_call_sleep_finish: 756s # * @proxy: A #ComAcmeCoyoteProxy. 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 756s # * @error: Return location for error or %NULL. 756s # * 756s # * Finishes an operation started with com_acme_coyote_call_sleep(). 756s # * 756s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 756s # */ 756s # gboolean 756s # com_acme_coyote_call_sleep_finish ( 756s # ComAcmeCoyote *proxy, 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GVariant *_ret; 756s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 756s # if (_ret == NULL) 756s # goto _out; 756s # g_variant_get (_ret, 756s # "()"); 756s # g_variant_unref (_ret); 756s # _out: 756s # return _ret != NULL; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_call_sleep_sync: 756s # * @proxy: A #ComAcmeCoyoteProxy. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL. 756s # * 756s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 756s # * 756s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 756s # * 756s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 756s # */ 756s # gboolean 756s # com_acme_coyote_call_sleep_sync ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GVariant *_ret; 756s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 756s # "Sleep", 756s # g_variant_new ("()"), 756s # G_DBUS_CALL_FLAGS_NONE, 756s # -1, 756s # cancellable, 756s # error); 756s # if (_ret == NULL) 756s # goto _out; 756s # g_variant_get (_ret, 756s # "()"); 756s # g_variant_unref (_ret); 756s # _out: 756s # return _ret != NULL; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_call_attack: 756s # * @proxy: A #ComAcmeCoyoteProxy. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 756s # * 756s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 756s # */ 756s # void 756s # com_acme_coyote_call_attack ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 756s # "Attack", 756s # g_variant_new ("()"), 756s # G_DBUS_CALL_FLAGS_NONE, 756s # -1, 756s # cancellable, 756s # callback, 756s # user_data); 756s # } 756s # 756s # /** 756s # * com_acme_coyote_call_attack_finish: 756s # * @proxy: A #ComAcmeCoyoteProxy. 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 756s # * @error: Return location for error or %NULL. 756s # * 756s # * Finishes an operation started with com_acme_coyote_call_attack(). 756s # * 756s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 756s # */ 756s # gboolean 756s # com_acme_coyote_call_attack_finish ( 756s # ComAcmeCoyote *proxy, 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GVariant *_ret; 756s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 756s # if (_ret == NULL) 756s # goto _out; 756s # g_variant_get (_ret, 756s # "()"); 756s # g_variant_unref (_ret); 756s # _out: 756s # return _ret != NULL; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_call_attack_sync: 756s # * @proxy: A #ComAcmeCoyoteProxy. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL. 756s # * 756s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 756s # * 756s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 756s # * 756s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 756s # */ 756s # gboolean 756s # com_acme_coyote_call_attack_sync ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GVariant *_ret; 756s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 756s # "Attack", 756s # g_variant_new ("()"), 756s # G_DBUS_CALL_FLAGS_NONE, 756s # -1, 756s # cancellable, 756s # error); 756s # if (_ret == NULL) 756s # goto _out; 756s # g_variant_get (_ret, 756s # "()"); 756s # g_variant_unref (_ret); 756s # _out: 756s # return _ret != NULL; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_complete_run: 756s # * @object: A #ComAcmeCoyote. 756s # * @invocation: (transfer full): A #GDBusMethodInvocation. 756s # * 756s # * 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. 756s # * 756s # * This method will free @invocation, you cannot use it afterwards. 756s # */ 756s # void 756s # com_acme_coyote_complete_run ( 756s # ComAcmeCoyote *object G_GNUC_UNUSED, 756s # GDBusMethodInvocation *invocation) 756s # { 756s # g_dbus_method_invocation_return_value (invocation, 756s # g_variant_new ("()")); 756s # } 756s # 756s # /** 756s # * com_acme_coyote_complete_sleep: 756s # * @object: A #ComAcmeCoyote. 756s # * @invocation: (transfer full): A #GDBusMethodInvocation. 756s # * 756s # * 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. 756s # * 756s # * This method will free @invocation, you cannot use it afterwards. 756s # */ 756s # void 756s # com_acme_coyote_complete_sleep ( 756s # ComAcmeCoyote *object G_GNUC_UNUSED, 756s # GDBusMethodInvocation *invocation) 756s # { 756s # g_dbus_method_invocation_return_value (invocation, 756s # g_variant_new ("()")); 756s # } 756s # 756s # /** 756s # * com_acme_coyote_complete_attack: 756s # * @object: A #ComAcmeCoyote. 756s # * @invocation: (transfer full): A #GDBusMethodInvocation. 756s # * 756s # * 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. 756s # * 756s # * This method will free @invocation, you cannot use it afterwards. 756s # */ 756s # void 756s # com_acme_coyote_complete_attack ( 756s # ComAcmeCoyote *object G_GNUC_UNUSED, 756s # GDBusMethodInvocation *invocation) 756s # { 756s # g_dbus_method_invocation_return_value (invocation, 756s # g_variant_new ("()")); 756s # } 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # 756s # /** 756s # * ComAcmeCoyoteProxy: 756s # * 756s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 756s # */ 756s # 756s # /** 756s # * ComAcmeCoyoteProxyClass: 756s # * @parent_class: The parent class. 756s # * 756s # * Class structure for #ComAcmeCoyoteProxy. 756s # */ 756s # 756s # struct _ComAcmeCoyoteProxyPrivate 756s # { 756s # GData *qdata; 756s # }; 756s # 756s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 756s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 756s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 756s # 756s # #else 756s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 756s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 756s # 756s # #endif 756s # static void 756s # com_acme_coyote_proxy_finalize (GObject *object) 756s # { 756s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 756s # g_datalist_clear (&proxy->priv->qdata); 756s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 756s # } 756s # 756s # static void 756s # com_acme_coyote_proxy_get_property (GObject *object, 756s # guint prop_id, 756s # GValue *value, 756s # GParamSpec *pspec G_GNUC_UNUSED) 756s # { 756s # const _ExtendedGDBusPropertyInfo *info; 756s # GVariant *variant; 756s # g_assert (prop_id != 0 && prop_id - 1 < 1); 756s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 756s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 756s # if (info->use_gvariant) 756s # { 756s # g_value_set_variant (value, variant); 756s # } 756s # else 756s # { 756s # if (variant != NULL) 756s # g_dbus_gvariant_to_gvalue (variant, value); 756s # } 756s # if (variant != NULL) 756s # g_variant_unref (variant); 756s # } 756s # 756s # static void 756s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 756s # GAsyncResult *res, 756s # gpointer user_data) 756s # { 756s # const _ExtendedGDBusPropertyInfo *info = user_data; 756s # GError *error; 756s # GVariant *_ret; 756s # error = NULL; 756s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 756s # if (!_ret) 756s # { 756s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 756s # info->parent_struct.name, 756s # error->message, g_quark_to_string (error->domain), error->code); 756s # g_error_free (error); 756s # } 756s # else 756s # { 756s # g_variant_unref (_ret); 756s # } 756s # } 756s # 756s # static void 756s # com_acme_coyote_proxy_set_property (GObject *object, 756s # guint prop_id, 756s # const GValue *value, 756s # GParamSpec *pspec G_GNUC_UNUSED) 756s # { 756s # const _ExtendedGDBusPropertyInfo *info; 756s # GVariant *variant; 756s # g_assert (prop_id != 0 && prop_id - 1 < 1); 756s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 756s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 756s # g_dbus_proxy_call (G_DBUS_PROXY (object), 756s # "org.freedesktop.DBus.Properties.Set", 756s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 756s # G_DBUS_CALL_FLAGS_NONE, 756s # -1, 756s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 756s # g_variant_unref (variant); 756s # } 756s # 756s # static void 756s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 756s # const gchar *sender_name G_GNUC_UNUSED, 756s # const gchar *signal_name, 756s # GVariant *parameters) 756s # { 756s # _ExtendedGDBusSignalInfo *info; 756s # GVariantIter iter; 756s # GVariant *child; 756s # GValue *paramv; 756s # gsize num_params; 756s # gsize n; 756s # guint signal_id; 756s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 756s # if (info == NULL) 756s # return; 756s # num_params = g_variant_n_children (parameters); 756s # paramv = g_new0 (GValue, num_params + 1); 756s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 756s # g_value_set_object (¶mv[0], proxy); 756s # g_variant_iter_init (&iter, parameters); 756s # n = 1; 756s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 756s # { 756s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 756s # if (arg_info->use_gvariant) 756s # { 756s # g_value_init (¶mv[n], G_TYPE_VARIANT); 756s # g_value_set_variant (¶mv[n], child); 756s # n++; 756s # } 756s # else 756s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 756s # g_variant_unref (child); 756s # } 756s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 756s # g_signal_emitv (paramv, signal_id, 0, NULL); 756s # for (n = 0; n < num_params + 1; n++) 756s # g_value_unset (¶mv[n]); 756s # g_free (paramv); 756s # } 756s # 756s # static void 756s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 756s # GVariant *changed_properties, 756s # const gchar *const *invalidated_properties) 756s # { 756s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 756s # guint n; 756s # const gchar *key; 756s # GVariantIter *iter; 756s # _ExtendedGDBusPropertyInfo *info; 756s # g_variant_get (changed_properties, "a{sv}", &iter); 756s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 756s # { 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 756s # g_datalist_remove_data (&proxy->priv->qdata, key); 756s # if (info != NULL) 756s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 756s # } 756s # g_variant_iter_free (iter); 756s # for (n = 0; invalidated_properties[n] != NULL; n++) 756s # { 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 756s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 756s # if (info != NULL) 756s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 756s # } 756s # } 756s # 756s # static const gchar * 756s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 756s # { 756s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 756s # GVariant *variant; 756s # const gchar *value = NULL; 756s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 756s # if (variant != NULL) 756s # { 756s # value = g_variant_get_string (variant, NULL); 756s # g_variant_unref (variant); 756s # } 756s # return value; 756s # } 756s # 756s # static void 756s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 756s # { 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 756s # #else 756s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 756s # #endif 756s # 756s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 756s # } 756s # 756s # static void 756s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 756s # { 756s # GObjectClass *gobject_class; 756s # GDBusProxyClass *proxy_class; 756s # 756s # gobject_class = G_OBJECT_CLASS (klass); 756s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 756s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 756s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 756s # 756s # proxy_class = G_DBUS_PROXY_CLASS (klass); 756s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 756s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 756s # 756s # com_acme_coyote_override_properties (gobject_class, 1); 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 756s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 756s # #endif 756s # } 756s # 756s # static void 756s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 756s # { 756s # iface->get_mood = com_acme_coyote_proxy_get_mood; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_proxy_new: 756s # * @connection: A #GDBusConnection. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 756s # * 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 756s # * 756s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 756s # */ 756s # void 756s # com_acme_coyote_proxy_new ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # 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); 756s # } 756s # 756s # /** 756s # * com_acme_coyote_proxy_new_finish: 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 756s # * @error: Return location for error or %NULL 756s # * 756s # * Finishes an operation started with com_acme_coyote_proxy_new(). 756s # * 756s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # ComAcmeCoyote * 756s # com_acme_coyote_proxy_new_finish ( 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GObject *ret; 756s # GObject *source_object; 756s # source_object = g_async_result_get_source_object (res); 756s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 756s # g_object_unref (source_object); 756s # if (ret != NULL) 756s # return COM_ACME_COYOTE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_proxy_new_sync: 756s # * @connection: A #GDBusConnection. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL 756s # * 756s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 756s # * 756s # * The calling thread is blocked until a reply is received. 756s # * 756s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 756s # * 756s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # ComAcmeCoyote * 756s # com_acme_coyote_proxy_new_sync ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GInitable *ret; 756s # 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); 756s # if (ret != NULL) 756s # return COM_ACME_COYOTE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # 756s # /** 756s # * com_acme_coyote_proxy_new_for_bus: 756s # * @bus_type: A #GBusType. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: A bus name (well-known or unique). 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 756s # * 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 756s # * 756s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 756s # */ 756s # void 756s # com_acme_coyote_proxy_new_for_bus ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # 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); 756s # } 756s # 756s # /** 756s # * com_acme_coyote_proxy_new_for_bus_finish: 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 756s # * @error: Return location for error or %NULL 756s # * 756s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 756s # * 756s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # ComAcmeCoyote * 756s # com_acme_coyote_proxy_new_for_bus_finish ( 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GObject *ret; 756s # GObject *source_object; 756s # source_object = g_async_result_get_source_object (res); 756s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 756s # g_object_unref (source_object); 756s # if (ret != NULL) 756s # return COM_ACME_COYOTE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_proxy_new_for_bus_sync: 756s # * @bus_type: A #GBusType. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: A bus name (well-known or unique). 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL 756s # * 756s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 756s # * 756s # * The calling thread is blocked until a reply is received. 756s # * 756s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 756s # * 756s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # ComAcmeCoyote * 756s # com_acme_coyote_proxy_new_for_bus_sync ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GInitable *ret; 756s # 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); 756s # if (ret != NULL) 756s # return COM_ACME_COYOTE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # 756s # /** 756s # * ComAcmeCoyoteSkeleton: 756s # * 756s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 756s # */ 756s # 756s # /** 756s # * ComAcmeCoyoteSkeletonClass: 756s # * @parent_class: The parent class. 756s # * 756s # * Class structure for #ComAcmeCoyoteSkeleton. 756s # */ 756s # 756s # struct _ComAcmeCoyoteSkeletonPrivate 756s # { 756s # GValue *properties; 756s # GList *changed_properties; 756s # GSource *changed_properties_idle_source; 756s # GMainContext *context; 756s # GMutex lock; 756s # }; 756s # 756s # static void 756s # _com_acme_coyote_skeleton_handle_method_call ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name, 756s # const gchar *method_name, 756s # GVariant *parameters, 756s # GDBusMethodInvocation *invocation, 756s # gpointer user_data) 756s # { 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 756s # _ExtendedGDBusMethodInfo *info; 756s # GVariantIter iter; 756s # GVariant *child; 756s # GValue *paramv; 756s # gsize num_params; 756s # guint num_extra; 756s # gsize n; 756s # guint signal_id; 756s # GValue return_value = G_VALUE_INIT; 756s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 756s # g_assert (info != NULL); 756s # num_params = g_variant_n_children (parameters); 756s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 756s # n = 0; 756s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 756s # g_value_set_object (¶mv[n++], skeleton); 756s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 756s # g_value_set_object (¶mv[n++], invocation); 756s # if (info->pass_fdlist) 756s # { 756s # #ifdef G_OS_UNIX 756s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 756s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 756s # #else 756s # g_assert_not_reached (); 756s # #endif 756s # } 756s # g_variant_iter_init (&iter, parameters); 756s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 756s # { 756s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 756s # if (arg_info->use_gvariant) 756s # { 756s # g_value_init (¶mv[n], G_TYPE_VARIANT); 756s # g_value_set_variant (¶mv[n], child); 756s # n++; 756s # } 756s # else 756s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 756s # g_variant_unref (child); 756s # } 756s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 756s # g_value_init (&return_value, G_TYPE_BOOLEAN); 756s # g_signal_emitv (paramv, signal_id, 0, &return_value); 756s # if (!g_value_get_boolean (&return_value)) 756s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 756s # g_value_unset (&return_value); 756s # for (n = 0; n < num_params + num_extra; n++) 756s # g_value_unset (¶mv[n]); 756s # g_free (paramv); 756s # } 756s # 756s # static GVariant * 756s # _com_acme_coyote_skeleton_handle_get_property ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name G_GNUC_UNUSED, 756s # const gchar *property_name, 756s # GError **error, 756s # gpointer user_data) 756s # { 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 756s # GValue value = G_VALUE_INIT; 756s # GParamSpec *pspec; 756s # _ExtendedGDBusPropertyInfo *info; 756s # GVariant *ret; 756s # ret = NULL; 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 756s # g_assert (info != NULL); 756s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 756s # if (pspec == NULL) 756s # { 756s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 756s # } 756s # else 756s # { 756s # g_value_init (&value, pspec->value_type); 756s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 756s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 756s # g_value_unset (&value); 756s # } 756s # return ret; 756s # } 756s # 756s # static gboolean 756s # _com_acme_coyote_skeleton_handle_set_property ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name G_GNUC_UNUSED, 756s # const gchar *property_name, 756s # GVariant *variant, 756s # GError **error, 756s # gpointer user_data) 756s # { 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 756s # GValue value = G_VALUE_INIT; 756s # GParamSpec *pspec; 756s # _ExtendedGDBusPropertyInfo *info; 756s # gboolean ret; 756s # ret = FALSE; 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 756s # g_assert (info != NULL); 756s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 756s # if (pspec == NULL) 756s # { 756s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 756s # } 756s # else 756s # { 756s # if (info->use_gvariant) 756s # g_value_set_variant (&value, variant); 756s # else 756s # g_dbus_gvariant_to_gvalue (variant, &value); 756s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 756s # g_value_unset (&value); 756s # ret = TRUE; 756s # } 756s # return ret; 756s # } 756s # 756s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 756s # { 756s # _com_acme_coyote_skeleton_handle_method_call, 756s # _com_acme_coyote_skeleton_handle_get_property, 756s # _com_acme_coyote_skeleton_handle_set_property, 756s # {NULL} 756s # }; 756s # 756s # static GDBusInterfaceInfo * 756s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 756s # { 756s # return com_acme_coyote_interface_info (); 756s # } 756s # 756s # static GDBusInterfaceVTable * 756s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 756s # { 756s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 756s # } 756s # 756s # static GVariant * 756s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 756s # { 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 756s # 756s # GVariantBuilder builder; 756s # guint n; 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 756s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 756s # #else 756s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 756s # #endif 756s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 756s # goto out; 756s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 756s # { 756s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 756s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 756s # { 756s # GVariant *value; 756s # 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); 756s # if (value != NULL) 756s # { 756s # g_variant_take_ref (value); 756s # g_variant_builder_add (&builder, "{sv}", info->name, value); 756s # g_variant_unref (value); 756s # } 756s # } 756s # } 756s # out: 756s # return g_variant_builder_end (&builder); 756s # } 756s # 756s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 756s # 756s # static void 756s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 756s # { 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 756s # gboolean emit_changed = FALSE; 756s # 756s # g_mutex_lock (&skeleton->priv->lock); 756s # if (skeleton->priv->changed_properties_idle_source != NULL) 756s # { 756s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 756s # skeleton->priv->changed_properties_idle_source = NULL; 756s # emit_changed = TRUE; 756s # } 756s # g_mutex_unlock (&skeleton->priv->lock); 756s # 756s # if (emit_changed) 756s # _com_acme_coyote_emit_changed (skeleton); 756s # } 756s # 756s # static void 756s # _com_acme_coyote_on_signal_surprised ( 756s # ComAcmeCoyote *object) 756s # { 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 756s # 756s # GList *connections, *l; 756s # GVariant *signal_variant; 756s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 756s # 756s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 756s # for (l = connections; l != NULL; l = l->next) 756s # { 756s # GDBusConnection *connection = l->data; 756s # g_dbus_connection_emit_signal (connection, 756s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 756s # signal_variant, NULL); 756s # } 756s # g_variant_unref (signal_variant); 756s # g_list_free_full (connections, g_object_unref); 756s # } 756s # 756s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 756s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 756s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 756s # 756s # #else 756s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 756s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 756s # 756s # #endif 756s # static void 756s # com_acme_coyote_skeleton_finalize (GObject *object) 756s # { 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 756s # guint n; 756s # for (n = 0; n < 1; n++) 756s # g_value_unset (&skeleton->priv->properties[n]); 756s # g_free (skeleton->priv->properties); 756s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 756s # if (skeleton->priv->changed_properties_idle_source != NULL) 756s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 756s # g_main_context_unref (skeleton->priv->context); 756s # g_mutex_clear (&skeleton->priv->lock); 756s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 756s # } 756s # 756s # static void 756s # com_acme_coyote_skeleton_get_property (GObject *object, 756s # guint prop_id, 756s # GValue *value, 756s # GParamSpec *pspec G_GNUC_UNUSED) 756s # { 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 756s # g_assert (prop_id != 0 && prop_id - 1 < 1); 756s # g_mutex_lock (&skeleton->priv->lock); 756s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 756s # g_mutex_unlock (&skeleton->priv->lock); 756s # } 756s # 756s # static gboolean 756s # _com_acme_coyote_emit_changed (gpointer user_data) 756s # { 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 756s # GList *l; 756s # GVariantBuilder builder; 756s # GVariantBuilder invalidated_builder; 756s # guint num_changes; 756s # 756s # g_mutex_lock (&skeleton->priv->lock); 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 756s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 756s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 756s # #else 756s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 756s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 756s # #endif 756s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 756s # { 756s # ChangedProperty *cp = l->data; 756s # GVariant *variant; 756s # const GValue *cur_value; 756s # 756s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 756s # if (!_g_value_equal (cur_value, &cp->orig_value)) 756s # { 756s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 756s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 756s # g_variant_unref (variant); 756s # num_changes++; 756s # } 756s # } 756s # if (num_changes > 0) 756s # { 756s # GList *connections, *ll; 756s # GVariant *signal_variant; 756s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 756s # &builder, &invalidated_builder)); 756s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 756s # for (ll = connections; ll != NULL; ll = ll->next) 756s # { 756s # GDBusConnection *connection = ll->data; 756s # 756s # g_dbus_connection_emit_signal (connection, 756s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 756s # "org.freedesktop.DBus.Properties", 756s # "PropertiesChanged", 756s # signal_variant, 756s # NULL); 756s # } 756s # g_variant_unref (signal_variant); 756s # g_list_free_full (connections, g_object_unref); 756s # } 756s # else 756s # { 756s # g_variant_builder_clear (&builder); 756s # g_variant_builder_clear (&invalidated_builder); 756s # } 756s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 756s # skeleton->priv->changed_properties = NULL; 756s # skeleton->priv->changed_properties_idle_source = NULL; 756s # g_mutex_unlock (&skeleton->priv->lock); 756s # return FALSE; 756s # } 756s # 756s # static void 756s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 756s # { 756s # ChangedProperty *cp; 756s # GList *l; 756s # cp = NULL; 756s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 756s # { 756s # ChangedProperty *i_cp = l->data; 756s # if (i_cp->info == info) 756s # { 756s # cp = i_cp; 756s # break; 756s # } 756s # } 756s # if (cp == NULL) 756s # { 756s # cp = g_new0 (ChangedProperty, 1); 756s # cp->prop_id = prop_id; 756s # cp->info = info; 756s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 756s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 756s # g_value_copy (orig_value, &cp->orig_value); 756s # } 756s # } 756s # 756s # static void 756s # com_acme_coyote_skeleton_notify (GObject *object, 756s # GParamSpec *pspec G_GNUC_UNUSED) 756s # { 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 756s # g_mutex_lock (&skeleton->priv->lock); 756s # if (skeleton->priv->changed_properties != NULL && 756s # skeleton->priv->changed_properties_idle_source == NULL) 756s # { 756s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 756s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 756s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 756s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 756s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 756s # g_source_unref (skeleton->priv->changed_properties_idle_source); 756s # } 756s # g_mutex_unlock (&skeleton->priv->lock); 756s # } 756s # 756s # static void 756s # com_acme_coyote_skeleton_set_property (GObject *object, 756s # guint prop_id, 756s # const GValue *value, 756s # GParamSpec *pspec) 756s # { 756s # const _ExtendedGDBusPropertyInfo *info; 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 756s # g_assert (prop_id != 0 && prop_id - 1 < 1); 756s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 756s # g_mutex_lock (&skeleton->priv->lock); 756s # g_object_freeze_notify (object); 756s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 756s # { 756s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 756s # info->emits_changed_signal) 756s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 756s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 756s # g_object_notify_by_pspec (object, pspec); 756s # } 756s # g_mutex_unlock (&skeleton->priv->lock); 756s # g_object_thaw_notify (object); 756s # } 756s # 756s # static void 756s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 756s # { 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 756s # #else 756s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 756s # #endif 756s # 756s # g_mutex_init (&skeleton->priv->lock); 756s # skeleton->priv->context = g_main_context_ref_thread_default (); 756s # skeleton->priv->properties = g_new0 (GValue, 1); 756s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 756s # } 756s # 756s # static const gchar * 756s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 756s # { 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 756s # const gchar *value; 756s # g_mutex_lock (&skeleton->priv->lock); 756s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 756s # g_mutex_unlock (&skeleton->priv->lock); 756s # return value; 756s # } 756s # 756s # static void 756s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 756s # { 756s # GObjectClass *gobject_class; 756s # GDBusInterfaceSkeletonClass *skeleton_class; 756s # 756s # gobject_class = G_OBJECT_CLASS (klass); 756s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 756s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 756s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 756s # gobject_class->notify = com_acme_coyote_skeleton_notify; 756s # 756s # 756s # com_acme_coyote_override_properties (gobject_class, 1); 756s # 756s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 756s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 756s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 756s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 756s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 756s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 756s # #endif 756s # } 756s # 756s # static void 756s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 756s # { 756s # iface->surprised = _com_acme_coyote_on_signal_surprised; 756s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_skeleton_new: 756s # * 756s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 756s # * 756s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 756s # */ 756s # ComAcmeCoyote * 756s # com_acme_coyote_skeleton_new (void) 756s # { 756s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 756s # } 756s # 756s # /* ------------------------------------------------------------------------ 756s # * Code for interface org.project.Bar.Frobnicator 756s # * ------------------------------------------------------------------------ 756s # */ 756s # 756s # /** 756s # * SECTION:OrgProjectBarFrobnicator 756s # * @title: OrgProjectBarFrobnicator 756s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 756s # * 756s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 756s # */ 756s # 756s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 756s # 756s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 756s # { 756s # { 756s # -1, 756s # (gchar *) "RandomMethod", 756s # NULL, 756s # NULL, 756s # NULL 756s # }, 756s # "handle-random-method", 756s # FALSE 756s # }; 756s # 756s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 756s # { 756s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 756s # NULL 756s # }; 756s # 756s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 756s # { 756s # { 756s # -1, 756s # (gchar *) "org.project.Bar.Frobnicator", 756s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 756s # NULL, 756s # NULL, 756s # NULL 756s # }, 756s # "org-project-bar-frobnicator", 756s # }; 756s # 756s # 756s # /** 756s # * org_project_bar_frobnicator_interface_info: 756s # * 756s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 756s # * 756s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 756s # */ 756s # GDBusInterfaceInfo * 756s # org_project_bar_frobnicator_interface_info (void) 756s # { 756s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 756s # } 756s # 756s # /** 756s # * org_project_bar_frobnicator_override_properties: 756s # * @klass: The class structure for a #GObject derived class. 756s # * @property_id_begin: The property id to assign to the first overridden property. 756s # * 756s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 756s # * The properties are overridden in the order they are defined. 756s # * 756s # * Returns: The last property id. 756s # */ 756s # guint 756s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 756s # { 756s # return property_id_begin - 1; 756s # } 756s # 756s # 756s # inline static void 756s # org_project_bar_frobnicator_method_marshal_random_method ( 756s # GClosure *closure, 756s # GValue *return_value, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint, 756s # void *marshal_data) 756s # { 756s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 756s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 756s # } 756s # 756s # 756s # /** 756s # * OrgProjectBarFrobnicator: 756s # * 756s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 756s # */ 756s # 756s # /** 756s # * OrgProjectBarFrobnicatorIface: 756s # * @parent_iface: The parent interface. 756s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 756s # * 756s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 756s # */ 756s # 756s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 756s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 756s # 756s # static void 756s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 756s # { 756s # /* GObject signals for incoming D-Bus method calls: */ 756s # /** 756s # * OrgProjectBarFrobnicator::handle-random-method: 756s # * @object: A #OrgProjectBarFrobnicator. 756s # * @invocation: A #GDBusMethodInvocation. 756s # * 756s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 756s # * 756s # * 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. 756s # * 756s # * 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. 756s # */ 756s # g_signal_new ("handle-random-method", 756s # G_TYPE_FROM_INTERFACE (iface), 756s # G_SIGNAL_RUN_LAST, 756s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 756s # g_signal_accumulator_true_handled, 756s # NULL, 756s # org_project_bar_frobnicator_method_marshal_random_method, 756s # G_TYPE_BOOLEAN, 756s # 1, 756s # G_TYPE_DBUS_METHOD_INVOCATION); 756s # 756s # } 756s # 756s # /** 756s # * org_project_bar_frobnicator_call_random_method: 756s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 756s # * 756s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 756s # */ 756s # void 756s # org_project_bar_frobnicator_call_random_method ( 756s # OrgProjectBarFrobnicator *proxy, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 756s # "RandomMethod", 756s # g_variant_new ("()"), 756s # G_DBUS_CALL_FLAGS_NONE, 756s # -1, 756s # cancellable, 756s # callback, 756s # user_data); 756s # } 756s # 756s # /** 756s # * org_project_bar_frobnicator_call_random_method_finish: 756s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 756s # * @error: Return location for error or %NULL. 756s # * 756s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 756s # * 756s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 756s # */ 756s # gboolean 756s # org_project_bar_frobnicator_call_random_method_finish ( 756s # OrgProjectBarFrobnicator *proxy, 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GVariant *_ret; 756s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 756s # if (_ret == NULL) 756s # goto _out; 756s # g_variant_get (_ret, 756s # "()"); 756s # g_variant_unref (_ret); 756s # _out: 756s # return _ret != NULL; 756s # } 756s # 756s # /** 756s # * org_project_bar_frobnicator_call_random_method_sync: 756s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL. 756s # * 756s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 756s # * 756s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 756s # * 756s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 756s # */ 756s # gboolean 756s # org_project_bar_frobnicator_call_random_method_sync ( 756s # OrgProjectBarFrobnicator *proxy, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GVariant *_ret; 756s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 756s # "RandomMethod", 756s # g_variant_new ("()"), 756s # G_DBUS_CALL_FLAGS_NONE, 756s # -1, 756s # cancellable, 756s # error); 756s # if (_ret == NULL) 756s # goto _out; 756s # g_variant_get (_ret, 756s # "()"); 756s # g_variant_unref (_ret); 756s # _out: 756s # return _ret != NULL; 756s # } 756s # 756s # /** 756s # * org_project_bar_frobnicator_complete_random_method: 756s # * @object: A #OrgProjectBarFrobnicator. 756s # * @invocation: (transfer full): A #GDBusMethodInvocation. 756s # * 756s # * 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. 756s # * 756s # * This method will free @invocation, you cannot use it afterwards. 756s # */ 756s # void 756s # org_project_bar_frobnicator_complete_random_method ( 756s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 756s # GDBusMethodInvocation *invocation) 756s # { 756s # g_dbus_method_invocation_return_value (invocation, 756s # g_variant_new ("()")); 756s # } 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # 756s # /** 756s # * OrgProjectBarFrobnicatorProxy: 756s # * 756s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 756s # */ 756s # 756s # /** 756s # * OrgProjectBarFrobnicatorProxyClass: 756s # * @parent_class: The parent class. 756s # * 756s # * Class structure for #OrgProjectBarFrobnicatorProxy. 756s # */ 756s # 756s # struct _OrgProjectBarFrobnicatorProxyPrivate 756s # { 756s # GData *qdata; 756s # }; 756s # 756s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 756s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 756s # 756s # #else 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 756s # 756s # #endif 756s # static void 756s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 756s # { 756s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 756s # g_datalist_clear (&proxy->priv->qdata); 756s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 756s # } 756s # 756s # static void 756s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 756s # guint prop_id G_GNUC_UNUSED, 756s # GValue *value G_GNUC_UNUSED, 756s # GParamSpec *pspec G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # static void 756s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 756s # guint prop_id G_GNUC_UNUSED, 756s # const GValue *value G_GNUC_UNUSED, 756s # GParamSpec *pspec G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # static void 756s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 756s # const gchar *sender_name G_GNUC_UNUSED, 756s # const gchar *signal_name, 756s # GVariant *parameters) 756s # { 756s # _ExtendedGDBusSignalInfo *info; 756s # GVariantIter iter; 756s # GVariant *child; 756s # GValue *paramv; 756s # gsize num_params; 756s # gsize n; 756s # guint signal_id; 756s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 756s # if (info == NULL) 756s # return; 756s # num_params = g_variant_n_children (parameters); 756s # paramv = g_new0 (GValue, num_params + 1); 756s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 756s # g_value_set_object (¶mv[0], proxy); 756s # g_variant_iter_init (&iter, parameters); 756s # n = 1; 756s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 756s # { 756s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 756s # if (arg_info->use_gvariant) 756s # { 756s # g_value_init (¶mv[n], G_TYPE_VARIANT); 756s # g_value_set_variant (¶mv[n], child); 756s # n++; 756s # } 756s # else 756s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 756s # g_variant_unref (child); 756s # } 756s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 756s # g_signal_emitv (paramv, signal_id, 0, NULL); 756s # for (n = 0; n < num_params + 1; n++) 756s # g_value_unset (¶mv[n]); 756s # g_free (paramv); 756s # } 756s # 756s # static void 756s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 756s # GVariant *changed_properties, 756s # const gchar *const *invalidated_properties) 756s # { 756s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 756s # guint n; 756s # const gchar *key; 756s # GVariantIter *iter; 756s # _ExtendedGDBusPropertyInfo *info; 756s # g_variant_get (changed_properties, "a{sv}", &iter); 756s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 756s # { 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 756s # g_datalist_remove_data (&proxy->priv->qdata, key); 756s # if (info != NULL) 756s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 756s # } 756s # g_variant_iter_free (iter); 756s # for (n = 0; invalidated_properties[n] != NULL; n++) 756s # { 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 756s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 756s # if (info != NULL) 756s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 756s # } 756s # } 756s # 756s # static void 756s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 756s # { 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 756s # #else 756s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 756s # #endif 756s # 756s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 756s # } 756s # 756s # static void 756s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 756s # { 756s # GObjectClass *gobject_class; 756s # GDBusProxyClass *proxy_class; 756s # 756s # gobject_class = G_OBJECT_CLASS (klass); 756s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 756s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 756s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 756s # 756s # proxy_class = G_DBUS_PROXY_CLASS (klass); 756s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 756s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 756s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 756s # #endif 756s # } 756s # 756s # static void 756s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # /** 756s # * org_project_bar_frobnicator_proxy_new: 756s # * @connection: A #GDBusConnection. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 756s # * 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 756s # * 756s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 756s # */ 756s # void 756s # org_project_bar_frobnicator_proxy_new ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # 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); 756s # } 756s # 756s # /** 756s # * org_project_bar_frobnicator_proxy_new_finish: 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 756s # * @error: Return location for error or %NULL 756s # * 756s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 756s # * 756s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectBarFrobnicator * 756s # org_project_bar_frobnicator_proxy_new_finish ( 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GObject *ret; 756s # GObject *source_object; 756s # source_object = g_async_result_get_source_object (res); 756s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 756s # g_object_unref (source_object); 756s # if (ret != NULL) 756s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # /** 756s # * org_project_bar_frobnicator_proxy_new_sync: 756s # * @connection: A #GDBusConnection. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL 756s # * 756s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 756s # * 756s # * The calling thread is blocked until a reply is received. 756s # * 756s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 756s # * 756s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectBarFrobnicator * 756s # org_project_bar_frobnicator_proxy_new_sync ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GInitable *ret; 756s # 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); 756s # if (ret != NULL) 756s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # 756s # /** 756s # * org_project_bar_frobnicator_proxy_new_for_bus: 756s # * @bus_type: A #GBusType. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: A bus name (well-known or unique). 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 756s # * 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 756s # * 756s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 756s # */ 756s # void 756s # org_project_bar_frobnicator_proxy_new_for_bus ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # 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); 756s # } 756s # 756s # /** 756s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 756s # * @error: Return location for error or %NULL 756s # * 756s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 756s # * 756s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectBarFrobnicator * 756s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GObject *ret; 756s # GObject *source_object; 756s # source_object = g_async_result_get_source_object (res); 756s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 756s # g_object_unref (source_object); 756s # if (ret != NULL) 756s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # /** 756s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 756s # * @bus_type: A #GBusType. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: A bus name (well-known or unique). 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL 756s # * 756s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 756s # * 756s # * The calling thread is blocked until a reply is received. 756s # * 756s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 756s # * 756s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectBarFrobnicator * 756s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GInitable *ret; 756s # 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); 756s # if (ret != NULL) 756s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # 756s # /** 756s # * OrgProjectBarFrobnicatorSkeleton: 756s # * 756s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 756s # */ 756s # 756s # /** 756s # * OrgProjectBarFrobnicatorSkeletonClass: 756s # * @parent_class: The parent class. 756s # * 756s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 756s # */ 756s # 756s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 756s # { 756s # GValue *properties; 756s # GList *changed_properties; 756s # GSource *changed_properties_idle_source; 756s # GMainContext *context; 756s # GMutex lock; 756s # }; 756s # 756s # static void 756s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name, 756s # const gchar *method_name, 756s # GVariant *parameters, 756s # GDBusMethodInvocation *invocation, 756s # gpointer user_data) 756s # { 756s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 756s # _ExtendedGDBusMethodInfo *info; 756s # GVariantIter iter; 756s # GVariant *child; 756s # GValue *paramv; 756s # gsize num_params; 756s # guint num_extra; 756s # gsize n; 756s # guint signal_id; 756s # GValue return_value = G_VALUE_INIT; 756s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 756s # g_assert (info != NULL); 756s # num_params = g_variant_n_children (parameters); 756s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 756s # n = 0; 756s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 756s # g_value_set_object (¶mv[n++], skeleton); 756s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 756s # g_value_set_object (¶mv[n++], invocation); 756s # if (info->pass_fdlist) 756s # { 756s # #ifdef G_OS_UNIX 756s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 756s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 756s # #else 756s # g_assert_not_reached (); 756s # #endif 756s # } 756s # g_variant_iter_init (&iter, parameters); 756s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 756s # { 756s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 756s # if (arg_info->use_gvariant) 756s # { 756s # g_value_init (¶mv[n], G_TYPE_VARIANT); 756s # g_value_set_variant (¶mv[n], child); 756s # n++; 756s # } 756s # else 756s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 756s # g_variant_unref (child); 756s # } 756s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 756s # g_value_init (&return_value, G_TYPE_BOOLEAN); 756s # g_signal_emitv (paramv, signal_id, 0, &return_value); 756s # if (!g_value_get_boolean (&return_value)) 756s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 756s # g_value_unset (&return_value); 756s # for (n = 0; n < num_params + num_extra; n++) 756s # g_value_unset (¶mv[n]); 756s # g_free (paramv); 756s # } 756s # 756s # static GVariant * 756s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name G_GNUC_UNUSED, 756s # const gchar *property_name, 756s # GError **error, 756s # gpointer user_data) 756s # { 756s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 756s # GValue value = G_VALUE_INIT; 756s # GParamSpec *pspec; 756s # _ExtendedGDBusPropertyInfo *info; 756s # GVariant *ret; 756s # ret = NULL; 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 756s # g_assert (info != NULL); 756s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 756s # if (pspec == NULL) 756s # { 756s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 756s # } 756s # else 756s # { 756s # g_value_init (&value, pspec->value_type); 756s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 756s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 756s # g_value_unset (&value); 756s # } 756s # return ret; 756s # } 756s # 756s # static gboolean 756s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name G_GNUC_UNUSED, 756s # const gchar *property_name, 756s # GVariant *variant, 756s # GError **error, 756s # gpointer user_data) 756s # { 756s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 756s # GValue value = G_VALUE_INIT; 756s # GParamSpec *pspec; 756s # _ExtendedGDBusPropertyInfo *info; 756s # gboolean ret; 756s # ret = FALSE; 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 756s # g_assert (info != NULL); 756s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 756s # if (pspec == NULL) 756s # { 756s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 756s # } 756s # else 756s # { 756s # if (info->use_gvariant) 756s # g_value_set_variant (&value, variant); 756s # else 756s # g_dbus_gvariant_to_gvalue (variant, &value); 756s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 756s # g_value_unset (&value); 756s # ret = TRUE; 756s # } 756s # return ret; 756s # } 756s # 756s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 756s # { 756s # _org_project_bar_frobnicator_skeleton_handle_method_call, 756s # _org_project_bar_frobnicator_skeleton_handle_get_property, 756s # _org_project_bar_frobnicator_skeleton_handle_set_property, 756s # {NULL} 756s # }; 756s # 756s # static GDBusInterfaceInfo * 756s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 756s # { 756s # return org_project_bar_frobnicator_interface_info (); 756s # } 756s # 756s # static GDBusInterfaceVTable * 756s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 756s # { 756s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 756s # } 756s # 756s # static GVariant * 756s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 756s # { 756s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 756s # 756s # GVariantBuilder builder; 756s # guint n; 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 756s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 756s # #else 756s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 756s # #endif 756s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 756s # goto out; 756s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 756s # { 756s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 756s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 756s # { 756s # GVariant *value; 756s # 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); 756s # if (value != NULL) 756s # { 756s # g_variant_take_ref (value); 756s # g_variant_builder_add (&builder, "{sv}", info->name, value); 756s # g_variant_unref (value); 756s # } 756s # } 756s # } 756s # out: 756s # return g_variant_builder_end (&builder); 756s # } 756s # 756s # static void 756s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 756s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 756s # 756s # #else 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 756s # 756s # #endif 756s # static void 756s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 756s # { 756s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 756s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 756s # if (skeleton->priv->changed_properties_idle_source != NULL) 756s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 756s # g_main_context_unref (skeleton->priv->context); 756s # g_mutex_clear (&skeleton->priv->lock); 756s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 756s # } 756s # 756s # static void 756s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 756s # { 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 756s # #else 756s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 756s # #endif 756s # 756s # g_mutex_init (&skeleton->priv->lock); 756s # skeleton->priv->context = g_main_context_ref_thread_default (); 756s # } 756s # 756s # static void 756s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 756s # { 756s # GObjectClass *gobject_class; 756s # GDBusInterfaceSkeletonClass *skeleton_class; 756s # 756s # gobject_class = G_OBJECT_CLASS (klass); 756s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 756s # 756s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 756s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 756s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 756s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 756s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 756s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 756s # #endif 756s # } 756s # 756s # static void 756s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # /** 756s # * org_project_bar_frobnicator_skeleton_new: 756s # * 756s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 756s # * 756s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 756s # */ 756s # OrgProjectBarFrobnicator * 756s # org_project_bar_frobnicator_skeleton_new (void) 756s # { 756s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 756s # } 756s # Error: 756s # 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp22hykezw/tmp9j4j3hid2.xml', '/tmp/tmp22hykezw/tmp3jwyt3dt1.xml', '--output', '-', '--body'] 756s # Return code: 0 756s # Output: 756s # /* 756s # * This file is generated by gdbus-codegen, do not modify it. 756s # * 756s # * The license of this code is the same as for the D-Bus interface description 756s # * it was derived from. Note that it links to GLib, so must comply with the 756s # * LGPL linking clauses. 756s # */ 756s # 756s # #ifdef HAVE_CONFIG_H 756s # # include "config.h" 756s # #endif 756s # 756s # #include 756s # #ifdef G_OS_UNIX 756s # # include 756s # #endif 756s # 756s # #ifdef G_ENABLE_DEBUG 756s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 756s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 756s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 756s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 756s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 756s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 756s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 756s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 756s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 756s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 756s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 756s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 756s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 756s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 756s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 756s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 756s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 756s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 756s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 756s # #else /* !G_ENABLE_DEBUG */ 756s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 756s # * Do not access GValues directly in your code. Instead, use the 756s # * g_value_get_*() functions 756s # */ 756s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 756s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 756s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 756s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 756s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 756s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 756s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 756s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 756s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 756s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 756s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 756s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 756s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 756s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 756s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 756s # #endif /* !G_ENABLE_DEBUG */ 756s # 756s # typedef struct 756s # { 756s # GDBusArgInfo parent_struct; 756s # gboolean use_gvariant; 756s # } _ExtendedGDBusArgInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusMethodInfo parent_struct; 756s # const gchar *signal_name; 756s # gboolean pass_fdlist; 756s # } _ExtendedGDBusMethodInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusSignalInfo parent_struct; 756s # const gchar *signal_name; 756s # } _ExtendedGDBusSignalInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusPropertyInfo parent_struct; 756s # const gchar *hyphen_name; 756s # guint use_gvariant : 1; 756s # guint emits_changed_signal : 1; 756s # } _ExtendedGDBusPropertyInfo; 756s # 756s # typedef struct 756s # { 756s # GDBusInterfaceInfo parent_struct; 756s # const gchar *hyphen_name; 756s # } _ExtendedGDBusInterfaceInfo; 756s # 756s # typedef struct 756s # { 756s # const _ExtendedGDBusPropertyInfo *info; 756s # guint prop_id; 756s # GValue orig_value; /* the value before the change */ 756s # } ChangedProperty; 756s # 756s # static void 756s # _changed_property_free (ChangedProperty *data) 756s # { 756s # g_value_unset (&data->orig_value); 756s # g_free (data); 756s # } 756s # 756s # static gboolean 756s # _g_strv_equal0 (gchar **a, gchar **b) 756s # { 756s # gboolean ret = FALSE; 756s # guint n; 756s # if (a == NULL && b == NULL) 756s # { 756s # ret = TRUE; 756s # goto out; 756s # } 756s # if (a == NULL || b == NULL) 756s # goto out; 756s # if (g_strv_length (a) != g_strv_length (b)) 756s # goto out; 756s # for (n = 0; a[n] != NULL; n++) 756s # if (g_strcmp0 (a[n], b[n]) != 0) 756s # goto out; 756s # ret = TRUE; 756s # out: 756s # return ret; 756s # } 756s # 756s # static gboolean 756s # _g_variant_equal0 (GVariant *a, GVariant *b) 756s # { 756s # gboolean ret = FALSE; 756s # if (a == NULL && b == NULL) 756s # { 756s # ret = TRUE; 756s # goto out; 756s # } 756s # if (a == NULL || b == NULL) 756s # goto out; 756s # ret = g_variant_equal (a, b); 756s # out: 756s # return ret; 756s # } 756s # 756s # G_GNUC_UNUSED static gboolean 756s # _g_value_equal (const GValue *a, const GValue *b) 756s # { 756s # gboolean ret = FALSE; 756s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 756s # switch (G_VALUE_TYPE (a)) 756s # { 756s # case G_TYPE_BOOLEAN: 756s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 756s # break; 756s # case G_TYPE_UCHAR: 756s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 756s # break; 756s # case G_TYPE_INT: 756s # ret = (g_value_get_int (a) == g_value_get_int (b)); 756s # break; 756s # case G_TYPE_UINT: 756s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 756s # break; 756s # case G_TYPE_INT64: 756s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 756s # break; 756s # case G_TYPE_UINT64: 756s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 756s # break; 756s # case G_TYPE_DOUBLE: 756s # { 756s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 756s # gdouble da = g_value_get_double (a); 756s # gdouble db = g_value_get_double (b); 756s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 756s # } 756s # break; 756s # case G_TYPE_STRING: 756s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 756s # break; 756s # case G_TYPE_VARIANT: 756s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 756s # break; 756s # default: 756s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 756s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 756s # else 756s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 756s # break; 756s # } 756s # return ret; 756s # } 756s # 756s # static void 756s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 756s # GClosure *closure, 756s # GValue *return_value, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint G_GNUC_UNUSED, 756s # void *marshal_data) 756s # { 756s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 756s # (void *data1, 756s # GDBusMethodInvocation *arg_method_invocation, 756s # void *data2); 756s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 756s # GCClosure *cc = (GCClosure*) closure; 756s # void *data1, *data2; 756s # gboolean v_return; 756s # 756s # g_return_if_fail (return_value != NULL); 756s # g_return_if_fail (n_param_values == 2); 756s # 756s # if (G_CCLOSURE_SWAP_DATA (closure)) 756s # { 756s # data1 = closure->data; 756s # data2 = g_value_peek_pointer (param_values + 0); 756s # } 756s # else 756s # { 756s # data1 = g_value_peek_pointer (param_values + 0); 756s # data2 = closure->data; 756s # } 756s # 756s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 756s # (marshal_data ? marshal_data : cc->callback); 756s # 756s # v_return = 756s # callback (data1, 756s # g_marshal_value_peek_object (param_values + 1), 756s # data2); 756s # 756s # g_value_set_boolean (return_value, v_return); 756s # } 756s # 756s # /* ------------------------------------------------------------------------ 756s # * Code for interface com.acme.Coyote 756s # * ------------------------------------------------------------------------ 756s # */ 756s # 756s # /** 756s # * SECTION:ComAcmeCoyote 756s # * @title: ComAcmeCoyote 756s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 756s # * 756s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 756s # */ 756s # 756s # enum 756s # { 756s # _COM_ACME_COYOTE_SURPRISED, 756s # }; 756s # 756s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 756s # 756s # /* ---- Introspection data for com.acme.Coyote ---- */ 756s # 756s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 756s # { 756s # { 756s # -1, 756s # (gchar *) "Run", 756s # NULL, 756s # NULL, 756s # NULL 756s # }, 756s # "handle-run", 756s # FALSE 756s # }; 756s # 756s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 756s # { 756s # { 756s # -1, 756s # (gchar *) "Sleep", 756s # NULL, 756s # NULL, 756s # NULL 756s # }, 756s # "handle-sleep", 756s # FALSE 756s # }; 756s # 756s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 756s # { 756s # { 756s # -1, 756s # (gchar *) "Attack", 756s # NULL, 756s # NULL, 756s # NULL 756s # }, 756s # "handle-attack", 756s # FALSE 756s # }; 756s # 756s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 756s # { 756s # &_com_acme_coyote_method_info_run.parent_struct, 756s # &_com_acme_coyote_method_info_sleep.parent_struct, 756s # &_com_acme_coyote_method_info_attack.parent_struct, 756s # NULL 756s # }; 756s # 756s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 756s # { 756s # { 756s # -1, 756s # (gchar *) "Surprised", 756s # NULL, 756s # NULL 756s # }, 756s # "surprised" 756s # }; 756s # 756s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 756s # { 756s # &_com_acme_coyote_signal_info_surprised.parent_struct, 756s # NULL 756s # }; 756s # 756s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 756s # { 756s # { 756s # -1, 756s # (gchar *) "Mood", 756s # (gchar *) "s", 756s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 756s # NULL 756s # }, 756s # "mood", 756s # FALSE, 756s # TRUE 756s # }; 756s # 756s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 756s # { 756s # &_com_acme_coyote_property_info_mood.parent_struct, 756s # NULL 756s # }; 756s # 756s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 756s # { 756s # { 756s # -1, 756s # (gchar *) "com.acme.Coyote", 756s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 756s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 756s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 756s # NULL 756s # }, 756s # "com-acme-coyote", 756s # }; 756s # 756s # 756s # /** 756s # * com_acme_coyote_interface_info: 756s # * 756s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 756s # * 756s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 756s # */ 756s # GDBusInterfaceInfo * 756s # com_acme_coyote_interface_info (void) 756s # { 756s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_override_properties: 756s # * @klass: The class structure for a #GObject derived class. 756s # * @property_id_begin: The property id to assign to the first overridden property. 756s # * 756s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 756s # * The properties are overridden in the order they are defined. 756s # * 756s # * Returns: The last property id. 756s # */ 756s # guint 756s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 756s # { 756s # g_object_class_override_property (klass, property_id_begin++, "mood"); 756s # return property_id_begin - 1; 756s # } 756s # 756s # 756s # inline static void 756s # com_acme_coyote_signal_marshal_surprised ( 756s # GClosure *closure, 756s # GValue *return_value, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint, 756s # void *marshal_data) 756s # { 756s # g_cclosure_marshal_VOID__VOID (closure, 756s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 756s # } 756s # 756s # inline static void 756s # com_acme_coyote_method_marshal_run ( 756s # GClosure *closure, 756s # GValue *return_value, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint, 756s # void *marshal_data) 756s # { 756s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 756s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 756s # } 756s # 756s # inline static void 756s # com_acme_coyote_method_marshal_sleep ( 756s # GClosure *closure, 756s # GValue *return_value, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint, 756s # void *marshal_data) 756s # { 756s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 756s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 756s # } 756s # 756s # inline static void 756s # com_acme_coyote_method_marshal_attack ( 756s # GClosure *closure, 756s # GValue *return_value, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint, 756s # void *marshal_data) 756s # { 756s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 756s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 756s # } 756s # 756s # 756s # /** 756s # * ComAcmeCoyote: 756s # * 756s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 756s # */ 756s # 756s # /** 756s # * ComAcmeCoyoteIface: 756s # * @parent_iface: The parent interface. 756s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 756s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 756s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 756s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 756s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 756s # * 756s # * Virtual table for the D-Bus interface com.acme.Coyote. 756s # */ 756s # 756s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 756s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 756s # 756s # static void 756s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 756s # { 756s # /* GObject signals for incoming D-Bus method calls: */ 756s # /** 756s # * ComAcmeCoyote::handle-run: 756s # * @object: A #ComAcmeCoyote. 756s # * @invocation: A #GDBusMethodInvocation. 756s # * 756s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 756s # * 756s # * 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. 756s # * 756s # * 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. 756s # */ 756s # g_signal_new ("handle-run", 756s # G_TYPE_FROM_INTERFACE (iface), 756s # G_SIGNAL_RUN_LAST, 756s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 756s # g_signal_accumulator_true_handled, 756s # NULL, 756s # com_acme_coyote_method_marshal_run, 756s # G_TYPE_BOOLEAN, 756s # 1, 756s # G_TYPE_DBUS_METHOD_INVOCATION); 756s # 756s # /** 756s # * ComAcmeCoyote::handle-sleep: 756s # * @object: A #ComAcmeCoyote. 756s # * @invocation: A #GDBusMethodInvocation. 756s # * 756s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 756s # * 756s # * 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. 756s # * 756s # * 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. 756s # */ 756s # g_signal_new ("handle-sleep", 756s # G_TYPE_FROM_INTERFACE (iface), 756s # G_SIGNAL_RUN_LAST, 756s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 756s # g_signal_accumulator_true_handled, 756s # NULL, 756s # com_acme_coyote_method_marshal_sleep, 756s # G_TYPE_BOOLEAN, 756s # 1, 756s # G_TYPE_DBUS_METHOD_INVOCATION); 756s # 756s # /** 756s # * ComAcmeCoyote::handle-attack: 756s # * @object: A #ComAcmeCoyote. 756s # * @invocation: A #GDBusMethodInvocation. 756s # * 756s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 756s # * 756s # * 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. 756s # * 756s # * 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. 756s # */ 756s # g_signal_new ("handle-attack", 756s # G_TYPE_FROM_INTERFACE (iface), 756s # G_SIGNAL_RUN_LAST, 756s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 756s # g_signal_accumulator_true_handled, 756s # NULL, 756s # com_acme_coyote_method_marshal_attack, 756s # G_TYPE_BOOLEAN, 756s # 1, 756s # G_TYPE_DBUS_METHOD_INVOCATION); 756s # 756s # /* GObject signals for received D-Bus signals: */ 756s # /** 756s # * ComAcmeCoyote::surprised: 756s # * @object: A #ComAcmeCoyote. 756s # * 756s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 756s # * 756s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 756s # */ 756s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 756s # g_signal_new ("surprised", 756s # G_TYPE_FROM_INTERFACE (iface), 756s # G_SIGNAL_RUN_LAST, 756s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 756s # NULL, 756s # NULL, 756s # com_acme_coyote_signal_marshal_surprised, 756s # G_TYPE_NONE, 756s # 0); 756s # 756s # /* GObject properties for D-Bus properties: */ 756s # /** 756s # * ComAcmeCoyote:mood: 756s # * 756s # * Represents the D-Bus property "Mood". 756s # * 756s # * 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. 756s # */ 756s # g_object_interface_install_property (iface, 756s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 756s # } 756s # 756s # /** 756s # * com_acme_coyote_get_mood: (skip) 756s # * @object: A #ComAcmeCoyote. 756s # * 756s # * Gets the value of the "Mood" D-Bus property. 756s # * 756s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 756s # * 756s # * 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. 756s # * 756s # * 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. 756s # */ 756s # const gchar * 756s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 756s # { 756s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 756s # 756s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 756s # } 756s # 756s # /** 756s # * com_acme_coyote_dup_mood: (skip) 756s # * @object: A #ComAcmeCoyote. 756s # * 756s # * Gets a copy of the "Mood" D-Bus property. 756s # * 756s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 756s # * 756s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 756s # */ 756s # gchar * 756s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 756s # { 756s # gchar *value; 756s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 756s # return value; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_set_mood: (skip) 756s # * @object: A #ComAcmeCoyote. 756s # * @value: The value to set. 756s # * 756s # * Sets the "Mood" D-Bus property to @value. 756s # * 756s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 756s # */ 756s # void 756s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 756s # { 756s # g_object_set (G_OBJECT (object), "mood", value, NULL); 756s # } 756s # 756s # /** 756s # * com_acme_coyote_emit_surprised: 756s # * @object: A #ComAcmeCoyote. 756s # * 756s # * Emits the "Surprised" D-Bus signal. 756s # */ 756s # void 756s # com_acme_coyote_emit_surprised ( 756s # ComAcmeCoyote *object) 756s # { 756s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 756s # } 756s # 756s # /** 756s # * com_acme_coyote_call_run: 756s # * @proxy: A #ComAcmeCoyoteProxy. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Asynchronously invokes the Run() D-Bus method on @proxy. 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 756s # * 756s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 756s # */ 756s # void 756s # com_acme_coyote_call_run ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 756s # "Run", 756s # g_variant_new ("()"), 756s # G_DBUS_CALL_FLAGS_NONE, 756s # -1, 756s # cancellable, 756s # callback, 756s # user_data); 756s # } 756s # 756s # /** 756s # * com_acme_coyote_call_run_finish: 756s # * @proxy: A #ComAcmeCoyoteProxy. 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 756s # * @error: Return location for error or %NULL. 756s # * 756s # * Finishes an operation started with com_acme_coyote_call_run(). 756s # * 756s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 756s # */ 756s # gboolean 756s # com_acme_coyote_call_run_finish ( 756s # ComAcmeCoyote *proxy, 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GVariant *_ret; 756s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 756s # if (_ret == NULL) 756s # goto _out; 756s # g_variant_get (_ret, 756s # "()"); 756s # g_variant_unref (_ret); 756s # _out: 756s # return _ret != NULL; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_call_run_sync: 756s # * @proxy: A #ComAcmeCoyoteProxy. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL. 756s # * 756s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 756s # * 756s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 756s # * 756s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 756s # */ 756s # gboolean 756s # com_acme_coyote_call_run_sync ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GVariant *_ret; 756s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 756s # "Run", 756s # g_variant_new ("()"), 756s # G_DBUS_CALL_FLAGS_NONE, 756s # -1, 756s # cancellable, 756s # error); 756s # if (_ret == NULL) 756s # goto _out; 756s # g_variant_get (_ret, 756s # "()"); 756s # g_variant_unref (_ret); 756s # _out: 756s # return _ret != NULL; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_call_sleep: 756s # * @proxy: A #ComAcmeCoyoteProxy. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 756s # * 756s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 756s # */ 756s # void 756s # com_acme_coyote_call_sleep ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 756s # "Sleep", 756s # g_variant_new ("()"), 756s # G_DBUS_CALL_FLAGS_NONE, 756s # -1, 756s # cancellable, 756s # callback, 756s # user_data); 756s # } 756s # 756s # /** 756s # * com_acme_coyote_call_sleep_finish: 756s # * @proxy: A #ComAcmeCoyoteProxy. 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 756s # * @error: Return location for error or %NULL. 756s # * 756s # * Finishes an operation started with com_acme_coyote_call_sleep(). 756s # * 756s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 756s # */ 756s # gboolean 756s # com_acme_coyote_call_sleep_finish ( 756s # ComAcmeCoyote *proxy, 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GVariant *_ret; 756s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 756s # if (_ret == NULL) 756s # goto _out; 756s # g_variant_get (_ret, 756s # "()"); 756s # g_variant_unref (_ret); 756s # _out: 756s # return _ret != NULL; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_call_sleep_sync: 756s # * @proxy: A #ComAcmeCoyoteProxy. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL. 756s # * 756s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 756s # * 756s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 756s # * 756s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 756s # */ 756s # gboolean 756s # com_acme_coyote_call_sleep_sync ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GVariant *_ret; 756s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 756s # "Sleep", 756s # g_variant_new ("()"), 756s # G_DBUS_CALL_FLAGS_NONE, 756s # -1, 756s # cancellable, 756s # error); 756s # if (_ret == NULL) 756s # goto _out; 756s # g_variant_get (_ret, 756s # "()"); 756s # g_variant_unref (_ret); 756s # _out: 756s # return _ret != NULL; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_call_attack: 756s # * @proxy: A #ComAcmeCoyoteProxy. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 756s # * 756s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 756s # */ 756s # void 756s # com_acme_coyote_call_attack ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 756s # "Attack", 756s # g_variant_new ("()"), 756s # G_DBUS_CALL_FLAGS_NONE, 756s # -1, 756s # cancellable, 756s # callback, 756s # user_data); 756s # } 756s # 756s # /** 756s # * com_acme_coyote_call_attack_finish: 756s # * @proxy: A #ComAcmeCoyoteProxy. 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 756s # * @error: Return location for error or %NULL. 756s # * 756s # * Finishes an operation started with com_acme_coyote_call_attack(). 756s # * 756s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 756s # */ 756s # gboolean 756s # com_acme_coyote_call_attack_finish ( 756s # ComAcmeCoyote *proxy, 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GVariant *_ret; 756s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 756s # if (_ret == NULL) 756s # goto _out; 756s # g_variant_get (_ret, 756s # "()"); 756s # g_variant_unref (_ret); 756s # _out: 756s # return _ret != NULL; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_call_attack_sync: 756s # * @proxy: A #ComAcmeCoyoteProxy. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL. 756s # * 756s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 756s # * 756s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 756s # * 756s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 756s # */ 756s # gboolean 756s # com_acme_coyote_call_attack_sync ( 756s # ComAcmeCoyote *proxy, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GVariant *_ret; 756s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 756s # "Attack", 756s # g_variant_new ("()"), 756s # G_DBUS_CALL_FLAGS_NONE, 756s # -1, 756s # cancellable, 756s # error); 756s # if (_ret == NULL) 756s # goto _out; 756s # g_variant_get (_ret, 756s # "()"); 756s # g_variant_unref (_ret); 756s # _out: 756s # return _ret != NULL; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_complete_run: 756s # * @object: A #ComAcmeCoyote. 756s # * @invocation: (transfer full): A #GDBusMethodInvocation. 756s # * 756s # * 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. 756s # * 756s # * This method will free @invocation, you cannot use it afterwards. 756s # */ 756s # void 756s # com_acme_coyote_complete_run ( 756s # ComAcmeCoyote *object G_GNUC_UNUSED, 756s # GDBusMethodInvocation *invocation) 756s # { 756s # g_dbus_method_invocation_return_value (invocation, 756s # g_variant_new ("()")); 756s # } 756s # 756s # /** 756s # * com_acme_coyote_complete_sleep: 756s # * @object: A #ComAcmeCoyote. 756s # * @invocation: (transfer full): A #GDBusMethodInvocation. 756s # * 756s # * 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. 756s # * 756s # * This method will free @invocation, you cannot use it afterwards. 756s # */ 756s # void 756s # com_acme_coyote_complete_sleep ( 756s # ComAcmeCoyote *object G_GNUC_UNUSED, 756s # GDBusMethodInvocation *invocation) 756s # { 756s # g_dbus_method_invocation_return_value (invocation, 756s # g_variant_new ("()")); 756s # } 756s # 756s # /** 756s # * com_acme_coyote_complete_attack: 756s # * @object: A #ComAcmeCoyote. 756s # * @invocation: (transfer full): A #GDBusMethodInvocation. 756s # * 756s # * 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. 756s # * 756s # * This method will free @invocation, you cannot use it afterwards. 756s # */ 756s # void 756s # com_acme_coyote_complete_attack ( 756s # ComAcmeCoyote *object G_GNUC_UNUSED, 756s # GDBusMethodInvocation *invocation) 756s # { 756s # g_dbus_method_invocation_return_value (invocation, 756s # g_variant_new ("()")); 756s # } 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # 756s # /** 756s # * ComAcmeCoyoteProxy: 756s # * 756s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 756s # */ 756s # 756s # /** 756s # * ComAcmeCoyoteProxyClass: 756s # * @parent_class: The parent class. 756s # * 756s # * Class structure for #ComAcmeCoyoteProxy. 756s # */ 756s # 756s # struct _ComAcmeCoyoteProxyPrivate 756s # { 756s # GData *qdata; 756s # }; 756s # 756s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 756s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 756s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 756s # 756s # #else 756s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 756s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 756s # 756s # #endif 756s # static void 756s # com_acme_coyote_proxy_finalize (GObject *object) 756s # { 756s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 756s # g_datalist_clear (&proxy->priv->qdata); 756s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 756s # } 756s # 756s # static void 756s # com_acme_coyote_proxy_get_property (GObject *object, 756s # guint prop_id, 756s # GValue *value, 756s # GParamSpec *pspec G_GNUC_UNUSED) 756s # { 756s # const _ExtendedGDBusPropertyInfo *info; 756s # GVariant *variant; 756s # g_assert (prop_id != 0 && prop_id - 1 < 1); 756s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 756s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 756s # if (info->use_gvariant) 756s # { 756s # g_value_set_variant (value, variant); 756s # } 756s # else 756s # { 756s # if (variant != NULL) 756s # g_dbus_gvariant_to_gvalue (variant, value); 756s # } 756s # if (variant != NULL) 756s # g_variant_unref (variant); 756s # } 756s # 756s # static void 756s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 756s # GAsyncResult *res, 756s # gpointer user_data) 756s # { 756s # const _ExtendedGDBusPropertyInfo *info = user_data; 756s # GError *error; 756s # GVariant *_ret; 756s # error = NULL; 756s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 756s # if (!_ret) 756s # { 756s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 756s # info->parent_struct.name, 756s # error->message, g_quark_to_string (error->domain), error->code); 756s # g_error_free (error); 756s # } 756s # else 756s # { 756s # g_variant_unref (_ret); 756s # } 756s # } 756s # 756s # static void 756s # com_acme_coyote_proxy_set_property (GObject *object, 756s # guint prop_id, 756s # const GValue *value, 756s # GParamSpec *pspec G_GNUC_UNUSED) 756s # { 756s # const _ExtendedGDBusPropertyInfo *info; 756s # GVariant *variant; 756s # g_assert (prop_id != 0 && prop_id - 1 < 1); 756s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 756s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 756s # g_dbus_proxy_call (G_DBUS_PROXY (object), 756s # "org.freedesktop.DBus.Properties.Set", 756s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 756s # G_DBUS_CALL_FLAGS_NONE, 756s # -1, 756s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 756s # g_variant_unref (variant); 756s # } 756s # 756s # static void 756s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 756s # const gchar *sender_name G_GNUC_UNUSED, 756s # const gchar *signal_name, 756s # GVariant *parameters) 756s # { 756s # _ExtendedGDBusSignalInfo *info; 756s # GVariantIter iter; 756s # GVariant *child; 756s # GValue *paramv; 756s # gsize num_params; 756s # gsize n; 756s # guint signal_id; 756s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 756s # if (info == NULL) 756s # return; 756s # num_params = g_variant_n_children (parameters); 756s # paramv = g_new0 (GValue, num_params + 1); 756s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 756s # g_value_set_object (¶mv[0], proxy); 756s # g_variant_iter_init (&iter, parameters); 756s # n = 1; 756s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 756s # { 756s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 756s # if (arg_info->use_gvariant) 756s # { 756s # g_value_init (¶mv[n], G_TYPE_VARIANT); 756s # g_value_set_variant (¶mv[n], child); 756s # n++; 756s # } 756s # else 756s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 756s # g_variant_unref (child); 756s # } 756s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 756s # g_signal_emitv (paramv, signal_id, 0, NULL); 756s # for (n = 0; n < num_params + 1; n++) 756s # g_value_unset (¶mv[n]); 756s # g_free (paramv); 756s # } 756s # 756s # static void 756s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 756s # GVariant *changed_properties, 756s # const gchar *const *invalidated_properties) 756s # { 756s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 756s # guint n; 756s # const gchar *key; 756s # GVariantIter *iter; 756s # _ExtendedGDBusPropertyInfo *info; 756s # g_variant_get (changed_properties, "a{sv}", &iter); 756s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 756s # { 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 756s # g_datalist_remove_data (&proxy->priv->qdata, key); 756s # if (info != NULL) 756s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 756s # } 756s # g_variant_iter_free (iter); 756s # for (n = 0; invalidated_properties[n] != NULL; n++) 756s # { 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 756s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 756s # if (info != NULL) 756s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 756s # } 756s # } 756s # 756s # static const gchar * 756s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 756s # { 756s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 756s # GVariant *variant; 756s # const gchar *value = NULL; 756s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 756s # if (variant != NULL) 756s # { 756s # value = g_variant_get_string (variant, NULL); 756s # g_variant_unref (variant); 756s # } 756s # return value; 756s # } 756s # 756s # static void 756s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 756s # { 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 756s # #else 756s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 756s # #endif 756s # 756s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 756s # } 756s # 756s # static void 756s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 756s # { 756s # GObjectClass *gobject_class; 756s # GDBusProxyClass *proxy_class; 756s # 756s # gobject_class = G_OBJECT_CLASS (klass); 756s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 756s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 756s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 756s # 756s # proxy_class = G_DBUS_PROXY_CLASS (klass); 756s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 756s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 756s # 756s # com_acme_coyote_override_properties (gobject_class, 1); 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 756s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 756s # #endif 756s # } 756s # 756s # static void 756s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 756s # { 756s # iface->get_mood = com_acme_coyote_proxy_get_mood; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_proxy_new: 756s # * @connection: A #GDBusConnection. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 756s # * 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 756s # * 756s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 756s # */ 756s # void 756s # com_acme_coyote_proxy_new ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # 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); 756s # } 756s # 756s # /** 756s # * com_acme_coyote_proxy_new_finish: 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 756s # * @error: Return location for error or %NULL 756s # * 756s # * Finishes an operation started with com_acme_coyote_proxy_new(). 756s # * 756s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # ComAcmeCoyote * 756s # com_acme_coyote_proxy_new_finish ( 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GObject *ret; 756s # GObject *source_object; 756s # source_object = g_async_result_get_source_object (res); 756s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 756s # g_object_unref (source_object); 756s # if (ret != NULL) 756s # return COM_ACME_COYOTE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_proxy_new_sync: 756s # * @connection: A #GDBusConnection. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL 756s # * 756s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 756s # * 756s # * The calling thread is blocked until a reply is received. 756s # * 756s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 756s # * 756s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # ComAcmeCoyote * 756s # com_acme_coyote_proxy_new_sync ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GInitable *ret; 756s # 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); 756s # if (ret != NULL) 756s # return COM_ACME_COYOTE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # 756s # /** 756s # * com_acme_coyote_proxy_new_for_bus: 756s # * @bus_type: A #GBusType. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: A bus name (well-known or unique). 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 756s # * 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 756s # * 756s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 756s # */ 756s # void 756s # com_acme_coyote_proxy_new_for_bus ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # 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); 756s # } 756s # 756s # /** 756s # * com_acme_coyote_proxy_new_for_bus_finish: 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 756s # * @error: Return location for error or %NULL 756s # * 756s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 756s # * 756s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # ComAcmeCoyote * 756s # com_acme_coyote_proxy_new_for_bus_finish ( 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GObject *ret; 756s # GObject *source_object; 756s # source_object = g_async_result_get_source_object (res); 756s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 756s # g_object_unref (source_object); 756s # if (ret != NULL) 756s # return COM_ACME_COYOTE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_proxy_new_for_bus_sync: 756s # * @bus_type: A #GBusType. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: A bus name (well-known or unique). 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL 756s # * 756s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 756s # * 756s # * The calling thread is blocked until a reply is received. 756s # * 756s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 756s # * 756s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # ComAcmeCoyote * 756s # com_acme_coyote_proxy_new_for_bus_sync ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GInitable *ret; 756s # 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); 756s # if (ret != NULL) 756s # return COM_ACME_COYOTE (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # 756s # /** 756s # * ComAcmeCoyoteSkeleton: 756s # * 756s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 756s # */ 756s # 756s # /** 756s # * ComAcmeCoyoteSkeletonClass: 756s # * @parent_class: The parent class. 756s # * 756s # * Class structure for #ComAcmeCoyoteSkeleton. 756s # */ 756s # 756s # struct _ComAcmeCoyoteSkeletonPrivate 756s # { 756s # GValue *properties; 756s # GList *changed_properties; 756s # GSource *changed_properties_idle_source; 756s # GMainContext *context; 756s # GMutex lock; 756s # }; 756s # 756s # static void 756s # _com_acme_coyote_skeleton_handle_method_call ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name, 756s # const gchar *method_name, 756s # GVariant *parameters, 756s # GDBusMethodInvocation *invocation, 756s # gpointer user_data) 756s # { 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 756s # _ExtendedGDBusMethodInfo *info; 756s # GVariantIter iter; 756s # GVariant *child; 756s # GValue *paramv; 756s # gsize num_params; 756s # guint num_extra; 756s # gsize n; 756s # guint signal_id; 756s # GValue return_value = G_VALUE_INIT; 756s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 756s # g_assert (info != NULL); 756s # num_params = g_variant_n_children (parameters); 756s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 756s # n = 0; 756s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 756s # g_value_set_object (¶mv[n++], skeleton); 756s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 756s # g_value_set_object (¶mv[n++], invocation); 756s # if (info->pass_fdlist) 756s # { 756s # #ifdef G_OS_UNIX 756s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 756s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 756s # #else 756s # g_assert_not_reached (); 756s # #endif 756s # } 756s # g_variant_iter_init (&iter, parameters); 756s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 756s # { 756s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 756s # if (arg_info->use_gvariant) 756s # { 756s # g_value_init (¶mv[n], G_TYPE_VARIANT); 756s # g_value_set_variant (¶mv[n], child); 756s # n++; 756s # } 756s # else 756s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 756s # g_variant_unref (child); 756s # } 756s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 756s # g_value_init (&return_value, G_TYPE_BOOLEAN); 756s # g_signal_emitv (paramv, signal_id, 0, &return_value); 756s # if (!g_value_get_boolean (&return_value)) 756s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 756s # g_value_unset (&return_value); 756s # for (n = 0; n < num_params + num_extra; n++) 756s # g_value_unset (¶mv[n]); 756s # g_free (paramv); 756s # } 756s # 756s # static GVariant * 756s # _com_acme_coyote_skeleton_handle_get_property ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name G_GNUC_UNUSED, 756s # const gchar *property_name, 756s # GError **error, 756s # gpointer user_data) 756s # { 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 756s # GValue value = G_VALUE_INIT; 756s # GParamSpec *pspec; 756s # _ExtendedGDBusPropertyInfo *info; 756s # GVariant *ret; 756s # ret = NULL; 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 756s # g_assert (info != NULL); 756s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 756s # if (pspec == NULL) 756s # { 756s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 756s # } 756s # else 756s # { 756s # g_value_init (&value, pspec->value_type); 756s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 756s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 756s # g_value_unset (&value); 756s # } 756s # return ret; 756s # } 756s # 756s # static gboolean 756s # _com_acme_coyote_skeleton_handle_set_property ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name G_GNUC_UNUSED, 756s # const gchar *property_name, 756s # GVariant *variant, 756s # GError **error, 756s # gpointer user_data) 756s # { 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 756s # GValue value = G_VALUE_INIT; 756s # GParamSpec *pspec; 756s # _ExtendedGDBusPropertyInfo *info; 756s # gboolean ret; 756s # ret = FALSE; 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 756s # g_assert (info != NULL); 756s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 756s # if (pspec == NULL) 756s # { 756s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 756s # } 756s # else 756s # { 756s # if (info->use_gvariant) 756s # g_value_set_variant (&value, variant); 756s # else 756s # g_dbus_gvariant_to_gvalue (variant, &value); 756s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 756s # g_value_unset (&value); 756s # ret = TRUE; 756s # } 756s # return ret; 756s # } 756s # 756s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 756s # { 756s # _com_acme_coyote_skeleton_handle_method_call, 756s # _com_acme_coyote_skeleton_handle_get_property, 756s # _com_acme_coyote_skeleton_handle_set_property, 756s # {NULL} 756s # }; 756s # 756s # static GDBusInterfaceInfo * 756s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 756s # { 756s # return com_acme_coyote_interface_info (); 756s # } 756s # 756s # static GDBusInterfaceVTable * 756s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 756s # { 756s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 756s # } 756s # 756s # static GVariant * 756s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 756s # { 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 756s # 756s # GVariantBuilder builder; 756s # guint n; 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 756s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 756s # #else 756s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 756s # #endif 756s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 756s # goto out; 756s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 756s # { 756s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 756s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 756s # { 756s # GVariant *value; 756s # 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); 756s # if (value != NULL) 756s # { 756s # g_variant_take_ref (value); 756s # g_variant_builder_add (&builder, "{sv}", info->name, value); 756s # g_variant_unref (value); 756s # } 756s # } 756s # } 756s # out: 756s # return g_variant_builder_end (&builder); 756s # } 756s # 756s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 756s # 756s # static void 756s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 756s # { 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 756s # gboolean emit_changed = FALSE; 756s # 756s # g_mutex_lock (&skeleton->priv->lock); 756s # if (skeleton->priv->changed_properties_idle_source != NULL) 756s # { 756s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 756s # skeleton->priv->changed_properties_idle_source = NULL; 756s # emit_changed = TRUE; 756s # } 756s # g_mutex_unlock (&skeleton->priv->lock); 756s # 756s # if (emit_changed) 756s # _com_acme_coyote_emit_changed (skeleton); 756s # } 756s # 756s # static void 756s # _com_acme_coyote_on_signal_surprised ( 756s # ComAcmeCoyote *object) 756s # { 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 756s # 756s # GList *connections, *l; 756s # GVariant *signal_variant; 756s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 756s # 756s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 756s # for (l = connections; l != NULL; l = l->next) 756s # { 756s # GDBusConnection *connection = l->data; 756s # g_dbus_connection_emit_signal (connection, 756s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 756s # signal_variant, NULL); 756s # } 756s # g_variant_unref (signal_variant); 756s # g_list_free_full (connections, g_object_unref); 756s # } 756s # 756s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 756s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 756s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 756s # 756s # #else 756s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 756s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 756s # 756s # #endif 756s # static void 756s # com_acme_coyote_skeleton_finalize (GObject *object) 756s # { 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 756s # guint n; 756s # for (n = 0; n < 1; n++) 756s # g_value_unset (&skeleton->priv->properties[n]); 756s # g_free (skeleton->priv->properties); 756s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 756s # if (skeleton->priv->changed_properties_idle_source != NULL) 756s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 756s # g_main_context_unref (skeleton->priv->context); 756s # g_mutex_clear (&skeleton->priv->lock); 756s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 756s # } 756s # 756s # static void 756s # com_acme_coyote_skeleton_get_property (GObject *object, 756s # guint prop_id, 756s # GValue *value, 756s # GParamSpec *pspec G_GNUC_UNUSED) 756s # { 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 756s # g_assert (prop_id != 0 && prop_id - 1 < 1); 756s # g_mutex_lock (&skeleton->priv->lock); 756s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 756s # g_mutex_unlock (&skeleton->priv->lock); 756s # } 756s # 756s # static gboolean 756s # _com_acme_coyote_emit_changed (gpointer user_data) 756s # { 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 756s # GList *l; 756s # GVariantBuilder builder; 756s # GVariantBuilder invalidated_builder; 756s # guint num_changes; 756s # 756s # g_mutex_lock (&skeleton->priv->lock); 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 756s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 756s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 756s # #else 756s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 756s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 756s # #endif 756s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 756s # { 756s # ChangedProperty *cp = l->data; 756s # GVariant *variant; 756s # const GValue *cur_value; 756s # 756s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 756s # if (!_g_value_equal (cur_value, &cp->orig_value)) 756s # { 756s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 756s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 756s # g_variant_unref (variant); 756s # num_changes++; 756s # } 756s # } 756s # if (num_changes > 0) 756s # { 756s # GList *connections, *ll; 756s # GVariant *signal_variant; 756s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 756s # &builder, &invalidated_builder)); 756s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 756s # for (ll = connections; ll != NULL; ll = ll->next) 756s # { 756s # GDBusConnection *connection = ll->data; 756s # 756s # g_dbus_connection_emit_signal (connection, 756s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 756s # "org.freedesktop.DBus.Properties", 756s # "PropertiesChanged", 756s # signal_variant, 756s # NULL); 756s # } 756s # g_variant_unref (signal_variant); 756s # g_list_free_full (connections, g_object_unref); 756s # } 756s # else 756s # { 756s # g_variant_builder_clear (&builder); 756s # g_variant_builder_clear (&invalidated_builder); 756s # } 756s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 756s # skeleton->priv->changed_properties = NULL; 756s # skeleton->priv->changed_properties_idle_source = NULL; 756s # g_mutex_unlock (&skeleton->priv->lock); 756s # return FALSE; 756s # } 756s # 756s # static void 756s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 756s # { 756s # ChangedProperty *cp; 756s # GList *l; 756s # cp = NULL; 756s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 756s # { 756s # ChangedProperty *i_cp = l->data; 756s # if (i_cp->info == info) 756s # { 756s # cp = i_cp; 756s # break; 756s # } 756s # } 756s # if (cp == NULL) 756s # { 756s # cp = g_new0 (ChangedProperty, 1); 756s # cp->prop_id = prop_id; 756s # cp->info = info; 756s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 756s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 756s # g_value_copy (orig_value, &cp->orig_value); 756s # } 756s # } 756s # 756s # static void 756s # com_acme_coyote_skeleton_notify (GObject *object, 756s # GParamSpec *pspec G_GNUC_UNUSED) 756s # { 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 756s # g_mutex_lock (&skeleton->priv->lock); 756s # if (skeleton->priv->changed_properties != NULL && 756s # skeleton->priv->changed_properties_idle_source == NULL) 756s # { 756s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 756s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 756s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 756s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 756s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 756s # g_source_unref (skeleton->priv->changed_properties_idle_source); 756s # } 756s # g_mutex_unlock (&skeleton->priv->lock); 756s # } 756s # 756s # static void 756s # com_acme_coyote_skeleton_set_property (GObject *object, 756s # guint prop_id, 756s # const GValue *value, 756s # GParamSpec *pspec) 756s # { 756s # const _ExtendedGDBusPropertyInfo *info; 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 756s # g_assert (prop_id != 0 && prop_id - 1 < 1); 756s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 756s # g_mutex_lock (&skeleton->priv->lock); 756s # g_object_freeze_notify (object); 756s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 756s # { 756s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 756s # info->emits_changed_signal) 756s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 756s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 756s # g_object_notify_by_pspec (object, pspec); 756s # } 756s # g_mutex_unlock (&skeleton->priv->lock); 756s # g_object_thaw_notify (object); 756s # } 756s # 756s # static void 756s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 756s # { 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 756s # #else 756s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 756s # #endif 756s # 756s # g_mutex_init (&skeleton->priv->lock); 756s # skeleton->priv->context = g_main_context_ref_thread_default (); 756s # skeleton->priv->properties = g_new0 (GValue, 1); 756s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 756s # } 756s # 756s # static const gchar * 756s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 756s # { 756s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 756s # const gchar *value; 756s # g_mutex_lock (&skeleton->priv->lock); 756s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 756s # g_mutex_unlock (&skeleton->priv->lock); 756s # return value; 756s # } 756s # 756s # static void 756s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 756s # { 756s # GObjectClass *gobject_class; 756s # GDBusInterfaceSkeletonClass *skeleton_class; 756s # 756s # gobject_class = G_OBJECT_CLASS (klass); 756s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 756s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 756s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 756s # gobject_class->notify = com_acme_coyote_skeleton_notify; 756s # 756s # 756s # com_acme_coyote_override_properties (gobject_class, 1); 756s # 756s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 756s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 756s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 756s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 756s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 756s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 756s # #endif 756s # } 756s # 756s # static void 756s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 756s # { 756s # iface->surprised = _com_acme_coyote_on_signal_surprised; 756s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 756s # } 756s # 756s # /** 756s # * com_acme_coyote_skeleton_new: 756s # * 756s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 756s # * 756s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 756s # */ 756s # ComAcmeCoyote * 756s # com_acme_coyote_skeleton_new (void) 756s # { 756s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 756s # } 756s # 756s # /* ------------------------------------------------------------------------ 756s # * Code for interface org.project.Bar.Frobnicator 756s # * ------------------------------------------------------------------------ 756s # */ 756s # 756s # /** 756s # * SECTION:OrgProjectBarFrobnicator 756s # * @title: OrgProjectBarFrobnicator 756s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 756s # * 756s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 756s # */ 756s # 756s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 756s # 756s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 756s # { 756s # { 756s # -1, 756s # (gchar *) "RandomMethod", 756s # NULL, 756s # NULL, 756s # NULL 756s # }, 756s # "handle-random-method", 756s # FALSE 756s # }; 756s # 756s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 756s # { 756s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 756s # NULL 756s # }; 756s # 756s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 756s # { 756s # { 756s # -1, 756s # (gchar *) "org.project.Bar.Frobnicator", 756s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 756s # NULL, 756s # NULL, 756s # NULL 756s # }, 756s # "org-project-bar-frobnicator", 756s # }; 756s # 756s # 756s # /** 756s # * org_project_bar_frobnicator_interface_info: 756s # * 756s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 756s # * 756s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 756s # */ 756s # GDBusInterfaceInfo * 756s # org_project_bar_frobnicator_interface_info (void) 756s # { 756s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 756s # } 756s # 756s # /** 756s # * org_project_bar_frobnicator_override_properties: 756s # * @klass: The class structure for a #GObject derived class. 756s # * @property_id_begin: The property id to assign to the first overridden property. 756s # * 756s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 756s # * The properties are overridden in the order they are defined. 756s # * 756s # * Returns: The last property id. 756s # */ 756s # guint 756s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 756s # { 756s # return property_id_begin - 1; 756s # } 756s # 756s # 756s # inline static void 756s # org_project_bar_frobnicator_method_marshal_random_method ( 756s # GClosure *closure, 756s # GValue *return_value, 756s # unsigned int n_param_values, 756s # const GValue *param_values, 756s # void *invocation_hint, 756s # void *marshal_data) 756s # { 756s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 756s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 756s # } 756s # 756s # 756s # /** 756s # * OrgProjectBarFrobnicator: 756s # * 756s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 756s # */ 756s # 756s # /** 756s # * OrgProjectBarFrobnicatorIface: 756s # * @parent_iface: The parent interface. 756s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 756s # * 756s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 756s # */ 756s # 756s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 756s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 756s # 756s # static void 756s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 756s # { 756s # /* GObject signals for incoming D-Bus method calls: */ 756s # /** 756s # * OrgProjectBarFrobnicator::handle-random-method: 756s # * @object: A #OrgProjectBarFrobnicator. 756s # * @invocation: A #GDBusMethodInvocation. 756s # * 756s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 756s # * 756s # * 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. 756s # * 756s # * 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. 756s # */ 756s # g_signal_new ("handle-random-method", 756s # G_TYPE_FROM_INTERFACE (iface), 756s # G_SIGNAL_RUN_LAST, 756s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 756s # g_signal_accumulator_true_handled, 756s # NULL, 756s # org_project_bar_frobnicator_method_marshal_random_method, 756s # G_TYPE_BOOLEAN, 756s # 1, 756s # G_TYPE_DBUS_METHOD_INVOCATION); 756s # 756s # } 756s # 756s # /** 756s # * org_project_bar_frobnicator_call_random_method: 756s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 756s # * 756s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 756s # */ 756s # void 756s # org_project_bar_frobnicator_call_random_method ( 756s # OrgProjectBarFrobnicator *proxy, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 756s # "RandomMethod", 756s # g_variant_new ("()"), 756s # G_DBUS_CALL_FLAGS_NONE, 756s # -1, 756s # cancellable, 756s # callback, 756s # user_data); 756s # } 756s # 756s # /** 756s # * org_project_bar_frobnicator_call_random_method_finish: 756s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 756s # * @error: Return location for error or %NULL. 756s # * 756s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 756s # * 756s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 756s # */ 756s # gboolean 756s # org_project_bar_frobnicator_call_random_method_finish ( 756s # OrgProjectBarFrobnicator *proxy, 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GVariant *_ret; 756s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 756s # if (_ret == NULL) 756s # goto _out; 756s # g_variant_get (_ret, 756s # "()"); 756s # g_variant_unref (_ret); 756s # _out: 756s # return _ret != NULL; 756s # } 756s # 756s # /** 756s # * org_project_bar_frobnicator_call_random_method_sync: 756s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL. 756s # * 756s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 756s # * 756s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 756s # * 756s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 756s # */ 756s # gboolean 756s # org_project_bar_frobnicator_call_random_method_sync ( 756s # OrgProjectBarFrobnicator *proxy, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GVariant *_ret; 756s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 756s # "RandomMethod", 756s # g_variant_new ("()"), 756s # G_DBUS_CALL_FLAGS_NONE, 756s # -1, 756s # cancellable, 756s # error); 756s # if (_ret == NULL) 756s # goto _out; 756s # g_variant_get (_ret, 756s # "()"); 756s # g_variant_unref (_ret); 756s # _out: 756s # return _ret != NULL; 756s # } 756s # 756s # /** 756s # * org_project_bar_frobnicator_complete_random_method: 756s # * @object: A #OrgProjectBarFrobnicator. 756s # * @invocation: (transfer full): A #GDBusMethodInvocation. 756s # * 756s # * 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. 756s # * 756s # * This method will free @invocation, you cannot use it afterwards. 756s # */ 756s # void 756s # org_project_bar_frobnicator_complete_random_method ( 756s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 756s # GDBusMethodInvocation *invocation) 756s # { 756s # g_dbus_method_invocation_return_value (invocation, 756s # g_variant_new ("()")); 756s # } 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # 756s # /** 756s # * OrgProjectBarFrobnicatorProxy: 756s # * 756s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 756s # */ 756s # 756s # /** 756s # * OrgProjectBarFrobnicatorProxyClass: 756s # * @parent_class: The parent class. 756s # * 756s # * Class structure for #OrgProjectBarFrobnicatorProxy. 756s # */ 756s # 756s # struct _OrgProjectBarFrobnicatorProxyPrivate 756s # { 756s # GData *qdata; 756s # }; 756s # 756s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 756s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 756s # 756s # #else 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 756s # 756s # #endif 756s # static void 756s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 756s # { 756s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 756s # g_datalist_clear (&proxy->priv->qdata); 756s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 756s # } 756s # 756s # static void 756s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 756s # guint prop_id G_GNUC_UNUSED, 756s # GValue *value G_GNUC_UNUSED, 756s # GParamSpec *pspec G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # static void 756s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 756s # guint prop_id G_GNUC_UNUSED, 756s # const GValue *value G_GNUC_UNUSED, 756s # GParamSpec *pspec G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # static void 756s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 756s # const gchar *sender_name G_GNUC_UNUSED, 756s # const gchar *signal_name, 756s # GVariant *parameters) 756s # { 756s # _ExtendedGDBusSignalInfo *info; 756s # GVariantIter iter; 756s # GVariant *child; 756s # GValue *paramv; 756s # gsize num_params; 756s # gsize n; 756s # guint signal_id; 756s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 756s # if (info == NULL) 756s # return; 756s # num_params = g_variant_n_children (parameters); 756s # paramv = g_new0 (GValue, num_params + 1); 756s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 756s # g_value_set_object (¶mv[0], proxy); 756s # g_variant_iter_init (&iter, parameters); 756s # n = 1; 756s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 756s # { 756s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 756s # if (arg_info->use_gvariant) 756s # { 756s # g_value_init (¶mv[n], G_TYPE_VARIANT); 756s # g_value_set_variant (¶mv[n], child); 756s # n++; 756s # } 756s # else 756s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 756s # g_variant_unref (child); 756s # } 756s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 756s # g_signal_emitv (paramv, signal_id, 0, NULL); 756s # for (n = 0; n < num_params + 1; n++) 756s # g_value_unset (¶mv[n]); 756s # g_free (paramv); 756s # } 756s # 756s # static void 756s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 756s # GVariant *changed_properties, 756s # const gchar *const *invalidated_properties) 756s # { 756s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 756s # guint n; 756s # const gchar *key; 756s # GVariantIter *iter; 756s # _ExtendedGDBusPropertyInfo *info; 756s # g_variant_get (changed_properties, "a{sv}", &iter); 756s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 756s # { 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 756s # g_datalist_remove_data (&proxy->priv->qdata, key); 756s # if (info != NULL) 756s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 756s # } 756s # g_variant_iter_free (iter); 756s # for (n = 0; invalidated_properties[n] != NULL; n++) 756s # { 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 756s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 756s # if (info != NULL) 756s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 756s # } 756s # } 756s # 756s # static void 756s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 756s # { 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 756s # #else 756s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 756s # #endif 756s # 756s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 756s # } 756s # 756s # static void 756s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 756s # { 756s # GObjectClass *gobject_class; 756s # GDBusProxyClass *proxy_class; 756s # 756s # gobject_class = G_OBJECT_CLASS (klass); 756s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 756s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 756s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 756s # 756s # proxy_class = G_DBUS_PROXY_CLASS (klass); 756s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 756s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 756s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 756s # #endif 756s # } 756s # 756s # static void 756s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # /** 756s # * org_project_bar_frobnicator_proxy_new: 756s # * @connection: A #GDBusConnection. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 756s # * 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 756s # * 756s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 756s # */ 756s # void 756s # org_project_bar_frobnicator_proxy_new ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # 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); 756s # } 756s # 756s # /** 756s # * org_project_bar_frobnicator_proxy_new_finish: 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 756s # * @error: Return location for error or %NULL 756s # * 756s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 756s # * 756s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectBarFrobnicator * 756s # org_project_bar_frobnicator_proxy_new_finish ( 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GObject *ret; 756s # GObject *source_object; 756s # source_object = g_async_result_get_source_object (res); 756s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 756s # g_object_unref (source_object); 756s # if (ret != NULL) 756s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # /** 756s # * org_project_bar_frobnicator_proxy_new_sync: 756s # * @connection: A #GDBusConnection. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL 756s # * 756s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 756s # * 756s # * The calling thread is blocked until a reply is received. 756s # * 756s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 756s # * 756s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectBarFrobnicator * 756s # org_project_bar_frobnicator_proxy_new_sync ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GInitable *ret; 756s # 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); 756s # if (ret != NULL) 756s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # 756s # /** 756s # * org_project_bar_frobnicator_proxy_new_for_bus: 756s # * @bus_type: A #GBusType. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: A bus name (well-known or unique). 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 756s # * @user_data: User data to pass to @callback. 756s # * 756s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 756s # * 756s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 756s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 756s # * 756s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 756s # */ 756s # void 756s # org_project_bar_frobnicator_proxy_new_for_bus ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data) 756s # { 756s # 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); 756s # } 756s # 756s # /** 756s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 756s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 756s # * @error: Return location for error or %NULL 756s # * 756s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 756s # * 756s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectBarFrobnicator * 756s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 756s # GAsyncResult *res, 756s # GError **error) 756s # { 756s # GObject *ret; 756s # GObject *source_object; 756s # source_object = g_async_result_get_source_object (res); 756s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 756s # g_object_unref (source_object); 756s # if (ret != NULL) 756s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # /** 756s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 756s # * @bus_type: A #GBusType. 756s # * @flags: Flags from the #GDBusProxyFlags enumeration. 756s # * @name: A bus name (well-known or unique). 756s # * @object_path: An object path. 756s # * @cancellable: (nullable): A #GCancellable or %NULL. 756s # * @error: Return location for error or %NULL 756s # * 756s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 756s # * 756s # * The calling thread is blocked until a reply is received. 756s # * 756s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 756s # * 756s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 756s # */ 756s # OrgProjectBarFrobnicator * 756s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error) 756s # { 756s # GInitable *ret; 756s # 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); 756s # if (ret != NULL) 756s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 756s # else 756s # return NULL; 756s # } 756s # 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # 756s # /** 756s # * OrgProjectBarFrobnicatorSkeleton: 756s # * 756s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 756s # */ 756s # 756s # /** 756s # * OrgProjectBarFrobnicatorSkeletonClass: 756s # * @parent_class: The parent class. 756s # * 756s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 756s # */ 756s # 756s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 756s # { 756s # GValue *properties; 756s # GList *changed_properties; 756s # GSource *changed_properties_idle_source; 756s # GMainContext *context; 756s # GMutex lock; 756s # }; 756s # 756s # static void 756s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name, 756s # const gchar *method_name, 756s # GVariant *parameters, 756s # GDBusMethodInvocation *invocation, 756s # gpointer user_data) 756s # { 756s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 756s # _ExtendedGDBusMethodInfo *info; 756s # GVariantIter iter; 756s # GVariant *child; 756s # GValue *paramv; 756s # gsize num_params; 756s # guint num_extra; 756s # gsize n; 756s # guint signal_id; 756s # GValue return_value = G_VALUE_INIT; 756s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 756s # g_assert (info != NULL); 756s # num_params = g_variant_n_children (parameters); 756s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 756s # n = 0; 756s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 756s # g_value_set_object (¶mv[n++], skeleton); 756s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 756s # g_value_set_object (¶mv[n++], invocation); 756s # if (info->pass_fdlist) 756s # { 756s # #ifdef G_OS_UNIX 756s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 756s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 756s # #else 756s # g_assert_not_reached (); 756s # #endif 756s # } 756s # g_variant_iter_init (&iter, parameters); 756s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 756s # { 756s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 756s # if (arg_info->use_gvariant) 756s # { 756s # g_value_init (¶mv[n], G_TYPE_VARIANT); 756s # g_value_set_variant (¶mv[n], child); 756s # n++; 756s # } 756s # else 756s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 756s # g_variant_unref (child); 756s # } 756s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 756s # g_value_init (&return_value, G_TYPE_BOOLEAN); 756s # g_signal_emitv (paramv, signal_id, 0, &return_value); 756s # if (!g_value_get_boolean (&return_value)) 756s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 756s # g_value_unset (&return_value); 756s # for (n = 0; n < num_params + num_extra; n++) 756s # g_value_unset (¶mv[n]); 756s # g_free (paramv); 756s # } 756s # 756s # static GVariant * 756s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name G_GNUC_UNUSED, 756s # const gchar *property_name, 756s # GError **error, 756s # gpointer user_data) 756s # { 756s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 756s # GValue value = G_VALUE_INIT; 756s # GParamSpec *pspec; 756s # _ExtendedGDBusPropertyInfo *info; 756s # GVariant *ret; 756s # ret = NULL; 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 756s # g_assert (info != NULL); 756s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 756s # if (pspec == NULL) 756s # { 756s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 756s # } 756s # else 756s # { 756s # g_value_init (&value, pspec->value_type); 756s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 756s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 756s # g_value_unset (&value); 756s # } 756s # return ret; 756s # } 756s # 756s # static gboolean 756s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 756s # GDBusConnection *connection G_GNUC_UNUSED, 756s # const gchar *sender G_GNUC_UNUSED, 756s # const gchar *object_path G_GNUC_UNUSED, 756s # const gchar *interface_name G_GNUC_UNUSED, 756s # const gchar *property_name, 756s # GVariant *variant, 756s # GError **error, 756s # gpointer user_data) 756s # { 756s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 756s # GValue value = G_VALUE_INIT; 756s # GParamSpec *pspec; 756s # _ExtendedGDBusPropertyInfo *info; 756s # gboolean ret; 756s # ret = FALSE; 756s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 756s # g_assert (info != NULL); 756s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 756s # if (pspec == NULL) 756s # { 756s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 756s # } 756s # else 756s # { 756s # if (info->use_gvariant) 756s # g_value_set_variant (&value, variant); 756s # else 756s # g_dbus_gvariant_to_gvalue (variant, &value); 756s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 756s # g_value_unset (&value); 756s # ret = TRUE; 756s # } 756s # return ret; 756s # } 756s # 756s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 756s # { 756s # _org_project_bar_frobnicator_skeleton_handle_method_call, 756s # _org_project_bar_frobnicator_skeleton_handle_get_property, 756s # _org_project_bar_frobnicator_skeleton_handle_set_property, 756s # {NULL} 756s # }; 756s # 756s # static GDBusInterfaceInfo * 756s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 756s # { 756s # return org_project_bar_frobnicator_interface_info (); 756s # } 756s # 756s # static GDBusInterfaceVTable * 756s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 756s # { 756s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 756s # } 756s # 756s # static GVariant * 756s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 756s # { 756s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 756s # 756s # GVariantBuilder builder; 756s # guint n; 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 756s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 756s # #else 756s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 756s # #endif 756s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 756s # goto out; 756s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 756s # { 756s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 756s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 756s # { 756s # GVariant *value; 756s # 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); 756s # if (value != NULL) 756s # { 756s # g_variant_take_ref (value); 756s # g_variant_builder_add (&builder, "{sv}", info->name, value); 756s # g_variant_unref (value); 756s # } 756s # } 756s # } 756s # out: 756s # return g_variant_builder_end (&builder); 756s # } 756s # 756s # static void 756s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 756s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 756s # 756s # #else 756s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 756s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 756s # 756s # #endif 756s # static void 756s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 756s # { 756s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 756s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 756s # if (skeleton->priv->changed_properties_idle_source != NULL) 756s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 756s # g_main_context_unref (skeleton->priv->context); 756s # g_mutex_clear (&skeleton->priv->lock); 756s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 756s # } 756s # 756s # static void 756s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 756s # { 756s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 756s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 756s # #else 756s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 756s # #endif 756s # 756s # g_mutex_init (&skeleton->priv->lock); 756s # skeleton->priv->context = g_main_context_ref_thread_default (); 756s # } 756s # 756s # static void 756s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 756s # { 756s # GObjectClass *gobject_class; 756s # GDBusInterfaceSkeletonClass *skeleton_class; 756s # 756s # gobject_class = G_OBJECT_CLASS (klass); 756s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 756s # 756s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 756s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 756s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 756s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 756s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 756s # 756s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 756s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 756s # #endif 756s # } 756s # 756s # static void 756s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 756s # { 756s # } 756s # 756s # /** 756s # * org_project_bar_frobnicator_skeleton_new: 756s # * 756s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 756s # * 756s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 756s # */ 756s # OrgProjectBarFrobnicator * 756s # org_project_bar_frobnicator_skeleton_new (void) 756s # { 756s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 756s # } 756s # Error: 756s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 756s # gdbus-codegen: /usr/bin/gdbus-codegen 756s # tmpdir: /tmp/tmpjl18mt_g 756s # /tmp/tmpjl18mt_g/tmp7jdmvcut.xml: 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjl18mt_g/tmp7jdmvcut.xml', '--output', '-', '--header'] 756s # Return code: 0 756s # Output: 756s # /* 756s # * This file is generated by gdbus-codegen, do not modify it. 756s # * 756s # * The license of this code is the same as for the D-Bus interface description 756s # * it was derived from. Note that it links to GLib, so must comply with the 756s # * LGPL linking clauses. 756s # */ 756s # 756s # #ifndef __STDOUT__ 756s # #define __STDOUT__ 756s # 756s # #include 756s # 756s # G_BEGIN_DECLS 756s # 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # /* Declarations for FDPassing */ 756s # 756s # #define TYPE_FDPASSING (fdpassing_get_type ()) 756s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 756s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 756s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 756s # 756s # struct _FDPassing; 756s # typedef struct _FDPassing FDPassing; 756s # typedef struct _FDPassingIface FDPassingIface; 756s # 756s # struct _FDPassingIface 756s # { 756s # GTypeInterface parent_iface; 756s # 756s # gboolean (*handle_hello_fd) ( 756s # FDPassing *object, 756s # GDBusMethodInvocation *invocation, 756s # GUnixFDList *fd_list, 756s # const gchar *arg_greeting); 756s # 756s # gboolean (*handle_no_annotation) ( 756s # FDPassing *object, 756s # GDBusMethodInvocation *invocation, 756s # GVariant *arg_greeting, 756s # const gchar *arg_greeting_locale); 756s # 756s # gboolean (*handle_no_annotation_nested) ( 756s # FDPassing *object, 756s # GDBusMethodInvocation *invocation, 756s # GVariant *arg_files); 756s # 756s # }; 756s # 756s # GType fdpassing_get_type (void) G_GNUC_CONST; 756s # 756s # GDBusInterfaceInfo *fdpassing_interface_info (void); 756s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 756s # 756s # 756s # /* D-Bus method call completion functions: */ 756s # void fdpassing_complete_hello_fd ( 756s # FDPassing *object, 756s # GDBusMethodInvocation *invocation, 756s # GUnixFDList *fd_list, 756s # const gchar *response); 756s # 756s # void fdpassing_complete_no_annotation ( 756s # FDPassing *object, 756s # GDBusMethodInvocation *invocation, 756s # GVariant *response, 756s # const gchar *response_locale); 756s # 756s # void fdpassing_complete_no_annotation_nested ( 756s # FDPassing *object, 756s # GDBusMethodInvocation *invocation); 756s # 756s # 756s # 756s # /* D-Bus method calls: */ 756s # void fdpassing_call_hello_fd ( 756s # FDPassing *proxy, 756s # const gchar *arg_greeting, 756s # GUnixFDList *fd_list, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # 756s # gboolean fdpassing_call_hello_fd_finish ( 756s # FDPassing *proxy, 756s # gchar **out_response, 756s # GUnixFDList **out_fd_list, 756s # GAsyncResult *res, 756s # GError **error); 756s # 756s # gboolean fdpassing_call_hello_fd_sync ( 756s # FDPassing *proxy, 756s # const gchar *arg_greeting, 756s # GUnixFDList *fd_list, 756s # gchar **out_response, 756s # GUnixFDList **out_fd_list, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # void fdpassing_call_no_annotation ( 756s # FDPassing *proxy, 756s # GVariant *arg_greeting, 756s # const gchar *arg_greeting_locale, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # 756s # gboolean fdpassing_call_no_annotation_finish ( 756s # FDPassing *proxy, 756s # GVariant **out_response, 756s # gchar **out_response_locale, 756s # GAsyncResult *res, 756s # GError **error); 756s # 756s # gboolean fdpassing_call_no_annotation_sync ( 756s # FDPassing *proxy, 756s # GVariant *arg_greeting, 756s # const gchar *arg_greeting_locale, 756s # GVariant **out_response, 756s # gchar **out_response_locale, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # void fdpassing_call_no_annotation_nested ( 756s # FDPassing *proxy, 756s # GVariant *arg_files, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # 756s # gboolean fdpassing_call_no_annotation_nested_finish ( 756s # FDPassing *proxy, 756s # GAsyncResult *res, 756s # GError **error); 756s # 756s # gboolean fdpassing_call_no_annotation_nested_sync ( 756s # FDPassing *proxy, 756s # GVariant *arg_files, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # 756s # 756s # /* ---- */ 756s # 756s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 756s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 756s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 756s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 756s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 756s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 756s # 756s # typedef struct _FDPassingProxy FDPassingProxy; 756s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 756s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 756s # 756s # struct _FDPassingProxy 756s # { 756s # /*< private >*/ 756s # GDBusProxy parent_instance; 756s # FDPassingProxyPrivate *priv; 756s # }; 756s # 756s # struct _FDPassingProxyClass 756s # { 756s # GDBusProxyClass parent_class; 756s # }; 756s # 756s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 756s # 756s # #if GLIB_CHECK_VERSION(2, 44, 0) 756s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 756s # #endif 756s # 756s # void fdpassing_proxy_new ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # FDPassing *fdpassing_proxy_new_finish ( 756s # GAsyncResult *res, 756s # GError **error); 756s # FDPassing *fdpassing_proxy_new_sync ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # void fdpassing_proxy_new_for_bus ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 756s # GAsyncResult *res, 756s # GError **error); 756s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # 756s # /* ---- */ 756s # 756s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 756s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 756s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 756s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 756s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 756s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 756s # 756s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 756s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 756s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 756s # 756s # struct _FDPassingSkeleton 756s # { 756s # /*< private >*/ 756s # GDBusInterfaceSkeleton parent_instance; 756s # FDPassingSkeletonPrivate *priv; 756s # }; 756s # 756s # struct _FDPassingSkeletonClass 756s # { 756s # GDBusInterfaceSkeletonClass parent_class; 756s # }; 756s # 756s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 756s # 756s # #if GLIB_CHECK_VERSION(2, 44, 0) 756s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 756s # #endif 756s # 756s # FDPassing *fdpassing_skeleton_new (void); 756s # 756s # 756s # G_END_DECLS 756s # 756s # #endif /* __STDOUT__ */ 756s # Error: 756s # 756s # /tmp/tmpjl18mt_g/tmp3mi5kw4m.xml: 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjl18mt_g/tmp3mi5kw4m.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 756s # Return code: 0 756s # Output: 756s # /* 756s # * This file is generated by gdbus-codegen, do not modify it. 756s # * 756s # * The license of this code is the same as for the D-Bus interface description 756s # * it was derived from. Note that it links to GLib, so must comply with the 756s # * LGPL linking clauses. 756s # */ 756s # 756s # #ifndef __STDOUT__ 756s # #define __STDOUT__ 756s # 756s # #include 756s # 756s # G_BEGIN_DECLS 756s # 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # /* Declarations for FDPassing */ 756s # 756s # #define TYPE_FDPASSING (fdpassing_get_type ()) 756s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 756s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 756s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 756s # 756s # struct _FDPassing; 756s # typedef struct _FDPassing FDPassing; 756s # typedef struct _FDPassingIface FDPassingIface; 756s # 756s # struct _FDPassingIface 756s # { 756s # GTypeInterface parent_iface; 756s # 756s # gboolean (*handle_hello_fd) ( 756s # FDPassing *object, 756s # GDBusMethodInvocation *invocation, 756s # GUnixFDList *fd_list, 756s # const gchar *arg_greeting); 756s # 756s # gboolean (*handle_no_annotation) ( 756s # FDPassing *object, 756s # GDBusMethodInvocation *invocation, 756s # GVariant *arg_greeting, 756s # const gchar *arg_greeting_locale); 756s # 756s # gboolean (*handle_no_annotation_nested) ( 756s # FDPassing *object, 756s # GDBusMethodInvocation *invocation, 756s # GVariant *arg_files); 756s # 756s # }; 756s # 756s # GType fdpassing_get_type (void) G_GNUC_CONST; 756s # 756s # GDBusInterfaceInfo *fdpassing_interface_info (void); 756s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 756s # 756s # 756s # /* D-Bus method call completion functions: */ 756s # void fdpassing_complete_hello_fd ( 756s # FDPassing *object, 756s # GDBusMethodInvocation *invocation, 756s # GUnixFDList *fd_list, 756s # const gchar *response); 756s # 756s # void fdpassing_complete_no_annotation ( 756s # FDPassing *object, 756s # GDBusMethodInvocation *invocation, 756s # GVariant *response, 756s # const gchar *response_locale); 756s # 756s # void fdpassing_complete_no_annotation_nested ( 756s # FDPassing *object, 756s # GDBusMethodInvocation *invocation); 756s # 756s # 756s # 756s # /* D-Bus method calls: */ 756s # void fdpassing_call_hello_fd ( 756s # FDPassing *proxy, 756s # const gchar *arg_greeting, 756s # GUnixFDList *fd_list, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # 756s # gboolean fdpassing_call_hello_fd_finish ( 756s # FDPassing *proxy, 756s # gchar **out_response, 756s # GUnixFDList **out_fd_list, 756s # GAsyncResult *res, 756s # GError **error); 756s # 756s # gboolean fdpassing_call_hello_fd_sync ( 756s # FDPassing *proxy, 756s # const gchar *arg_greeting, 756s # GUnixFDList *fd_list, 756s # gchar **out_response, 756s # GUnixFDList **out_fd_list, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # void fdpassing_call_no_annotation ( 756s # FDPassing *proxy, 756s # GVariant *arg_greeting, 756s # const gchar *arg_greeting_locale, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # 756s # gboolean fdpassing_call_no_annotation_finish ( 756s # FDPassing *proxy, 756s # GVariant **out_response, 756s # gchar **out_response_locale, 756s # GAsyncResult *res, 756s # GError **error); 756s # 756s # gboolean fdpassing_call_no_annotation_sync ( 756s # FDPassing *proxy, 756s # GVariant *arg_greeting, 756s # const gchar *arg_greeting_locale, 756s # GVariant **out_response, 756s # gchar **out_response_locale, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # void fdpassing_call_no_annotation_nested ( 756s # FDPassing *proxy, 756s # GVariant *arg_files, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # 756s # gboolean fdpassing_call_no_annotation_nested_finish ( 756s # FDPassing *proxy, 756s # GAsyncResult *res, 756s # GError **error); 756s # 756s # gboolean fdpassing_call_no_annotation_nested_sync ( 756s # FDPassing *proxy, 756s # GVariant *arg_files, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # 756s # 756s # /* ---- */ 756s # 756s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 756s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 756s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 756s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 756s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 756s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 756s # 756s # typedef struct _FDPassingProxy FDPassingProxy; 756s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 756s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 756s # 756s # struct _FDPassingProxy 756s # { 756s # /*< private >*/ 756s # GDBusProxy parent_instance; 756s # FDPassingProxyPrivate *priv; 756s # }; 756s # 756s # struct _FDPassingProxyClass 756s # { 756s # GDBusProxyClass parent_class; 756s # }; 756s # 756s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 756s # 756s # #if GLIB_CHECK_VERSION(2, 44, 0) 756s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 756s # #endif 756s # 756s # void fdpassing_proxy_new ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # FDPassing *fdpassing_proxy_new_finish ( 756s # GAsyncResult *res, 756s # GError **error); 756s # FDPassing *fdpassing_proxy_new_sync ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # void fdpassing_proxy_new_for_bus ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 756s # GAsyncResult *res, 756s # GError **error); 756s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # 756s # /* ---- */ 756s # 756s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 756s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 756s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 756s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 756s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 756s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 756s # 756s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 756s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 756s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 756s # 756s # struct _FDPassingSkeleton 756s # { 756s # /*< private >*/ 756s # GDBusInterfaceSkeleton parent_instance; 756s # FDPassingSkeletonPrivate *priv; 756s # }; 756s # 756s # struct _FDPassingSkeletonClass 756s # { 756s # GDBusInterfaceSkeletonClass parent_class; 756s # }; 756s # 756s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 756s # 756s # #if GLIB_CHECK_VERSION(2, 44, 0) 756s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 756s # #endif 756s # 756s # FDPassing *fdpassing_skeleton_new (void); 756s # 756s # 756s # G_END_DECLS 756s # 756s # #endif /* __STDOUT__ */ 756s # Error: 756s # 756s # /tmp/tmpjl18mt_g/tmpgx7hlf7x.xml: 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # 756s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjl18mt_g/tmpgx7hlf7x.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 756s # Return code: 0 756s # Output: 756s # /* 756s # * This file is generated by gdbus-codegen, do not modify it. 756s # * 756s # * The license of this code is the same as for the D-Bus interface description 756s # * it was derived from. Note that it links to GLib, so must comply with the 756s # * LGPL linking clauses. 756s # */ 756s # 756s # #ifndef __STDOUT__ 756s # #define __STDOUT__ 756s # 756s # #include 756s # 756s # G_BEGIN_DECLS 756s # 756s # 756s # /* ------------------------------------------------------------------------ */ 756s # /* Declarations for FDPassing */ 756s # 756s # #define TYPE_FDPASSING (fdpassing_get_type ()) 756s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 756s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 756s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 756s # 756s # struct _FDPassing; 756s # typedef struct _FDPassing FDPassing; 756s # typedef struct _FDPassingIface FDPassingIface; 756s # 756s # struct _FDPassingIface 756s # { 756s # GTypeInterface parent_iface; 756s # 756s # gboolean (*handle_hello_fd) ( 756s # FDPassing *object, 756s # GDBusMethodInvocation *invocation, 756s # GUnixFDList *fd_list, 756s # const gchar *arg_greeting); 756s # 756s # gboolean (*handle_no_annotation) ( 756s # FDPassing *object, 756s # GDBusMethodInvocation *invocation, 756s # GUnixFDList *fd_list, 756s # GVariant *arg_greeting, 756s # const gchar *arg_greeting_locale); 756s # 756s # gboolean (*handle_no_annotation_nested) ( 756s # FDPassing *object, 756s # GDBusMethodInvocation *invocation, 756s # GUnixFDList *fd_list, 756s # GVariant *arg_files); 756s # 756s # }; 756s # 756s # GType fdpassing_get_type (void) G_GNUC_CONST; 756s # 756s # GDBusInterfaceInfo *fdpassing_interface_info (void); 756s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 756s # 756s # 756s # /* D-Bus method call completion functions: */ 756s # void fdpassing_complete_hello_fd ( 756s # FDPassing *object, 756s # GDBusMethodInvocation *invocation, 756s # GUnixFDList *fd_list, 756s # const gchar *response); 756s # 756s # void fdpassing_complete_no_annotation ( 756s # FDPassing *object, 756s # GDBusMethodInvocation *invocation, 756s # GUnixFDList *fd_list, 756s # GVariant *response, 756s # const gchar *response_locale); 756s # 756s # void fdpassing_complete_no_annotation_nested ( 756s # FDPassing *object, 756s # GDBusMethodInvocation *invocation, 756s # GUnixFDList *fd_list); 756s # 756s # 756s # 756s # /* D-Bus method calls: */ 756s # void fdpassing_call_hello_fd ( 756s # FDPassing *proxy, 756s # const gchar *arg_greeting, 756s # GDBusCallFlags call_flags, 756s # gint timeout_msec, 756s # GUnixFDList *fd_list, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # 756s # gboolean fdpassing_call_hello_fd_finish ( 756s # FDPassing *proxy, 756s # gchar **out_response, 756s # GUnixFDList **out_fd_list, 756s # GAsyncResult *res, 756s # GError **error); 756s # 756s # gboolean fdpassing_call_hello_fd_sync ( 756s # FDPassing *proxy, 756s # const gchar *arg_greeting, 756s # GDBusCallFlags call_flags, 756s # gint timeout_msec, 756s # GUnixFDList *fd_list, 756s # gchar **out_response, 756s # GUnixFDList **out_fd_list, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # void fdpassing_call_no_annotation ( 756s # FDPassing *proxy, 756s # GVariant *arg_greeting, 756s # const gchar *arg_greeting_locale, 756s # GDBusCallFlags call_flags, 756s # gint timeout_msec, 756s # GUnixFDList *fd_list, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # 756s # gboolean fdpassing_call_no_annotation_finish ( 756s # FDPassing *proxy, 756s # GVariant **out_response, 756s # gchar **out_response_locale, 756s # GUnixFDList **out_fd_list, 756s # GAsyncResult *res, 756s # GError **error); 756s # 756s # gboolean fdpassing_call_no_annotation_sync ( 756s # FDPassing *proxy, 756s # GVariant *arg_greeting, 756s # const gchar *arg_greeting_locale, 756s # GDBusCallFlags call_flags, 756s # gint timeout_msec, 756s # GUnixFDList *fd_list, 756s # GVariant **out_response, 756s # gchar **out_response_locale, 756s # GUnixFDList **out_fd_list, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # void fdpassing_call_no_annotation_nested ( 756s # FDPassing *proxy, 756s # GVariant *arg_files, 756s # GDBusCallFlags call_flags, 756s # gint timeout_msec, 756s # GUnixFDList *fd_list, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # 756s # gboolean fdpassing_call_no_annotation_nested_finish ( 756s # FDPassing *proxy, 756s # GUnixFDList **out_fd_list, 756s # GAsyncResult *res, 756s # GError **error); 756s # 756s # gboolean fdpassing_call_no_annotation_nested_sync ( 756s # FDPassing *proxy, 756s # GVariant *arg_files, 756s # GDBusCallFlags call_flags, 756s # gint timeout_msec, 756s # GUnixFDList *fd_list, 756s # GUnixFDList **out_fd_list, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # 756s # 756s # /* ---- */ 756s # 756s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 756s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 756s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 756s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 756s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 756s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 756s # 756s # typedef struct _FDPassingProxy FDPassingProxy; 756s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 756s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 756s # 756s # struct _FDPassingProxy 756s # { 756s # /*< private >*/ 756s # GDBusProxy parent_instance; 756s # FDPassingProxyPrivate *priv; 756s # }; 756s # 756s # struct _FDPassingProxyClass 756s # { 756s # GDBusProxyClass parent_class; 756s # }; 756s # 756s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 756s # 756s # #if GLIB_CHECK_VERSION(2, 44, 0) 756s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 756s # #endif 756s # 756s # void fdpassing_proxy_new ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # FDPassing *fdpassing_proxy_new_finish ( 756s # GAsyncResult *res, 756s # GError **error); 756s # FDPassing *fdpassing_proxy_new_sync ( 756s # GDBusConnection *connection, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # void fdpassing_proxy_new_for_bus ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GAsyncReadyCallback callback, 756s # gpointer user_data); 756s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 756s # GAsyncResult *res, 756s # GError **error); 756s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 756s # GBusType bus_type, 756s # GDBusProxyFlags flags, 756s # const gchar *name, 756s # const gchar *object_path, 756s # GCancellable *cancellable, 756s # GError **error); 756s # 756s # 756s # /* ---- */ 756s # 756s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 756s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 756s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 756s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 756s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 756s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 756s # 756s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 756s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 756s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 756s # 756s # struct _FDPassingSkeleton 756s # { 756s # /*< private >*/ 756s # GDBusInterfaceSkeleton parent_instance; 756s # FDPassingSkeletonPrivate *priv; 756s # }; 756s # 756s # struct _FDPassingSkeletonClass 756s # { 756s # GDBusInterfaceSkeletonClass parent_class; 756s # }; 756s # 756s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 756s # 756s # #if GLIB_CHECK_VERSION(2, 44, 0) 756s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 756s # #endif 756s # 756s # FDPassing *fdpassing_skeleton_new (void); 756s # 756s # 756s # G_END_DECLS 756s # 756s # #endif /* __STDOUT__ */ 756s # Error: 756s 1..39 756s ok - glib/codegen.py.test 756s # Running test: glib/signals.test 756s TAP version 14 756s # random seed: R02Sc84809eaaa2b0463e25a3be93d97bb4c 756s 1..31 756s # Start of gobject tests 756s # Start of signals tests 756s ok 1 /gobject/signals/all-types 756s ok 2 /gobject/signals/variant 756s ok 3 /gobject/signals/destroy-target-object 756s ok 4 /gobject/signals/generic-marshaller-1 756s ok 5 /gobject/signals/generic-marshaller-2 756s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 756s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 756s ok 8 /gobject/signals/generic-marshaller-int-return 756s ok 9 /gobject/signals/generic-marshaller-uint-return 756s ok 10 /gobject/signals/generic-marshaller-interface-return 756s ok 11 /gobject/signals/custom-marshaller 756s ok 12 /gobject/signals/connect 756s ok 13 /gobject/signals/emission-hook 756s ok 14 /gobject/signals/emitv 756s ok 15 /gobject/signals/accumulator 756s # Signal: accumulator-class-first 756s # Signal: accumulator-class-last 756s # Signal: accumulator-class-cleanup 756s # Signal: accumulator-class-first-last 756s # Signal: accumulator-class-first-last-cleanup 756s # Signal: accumulator-class-last-cleanup 756s ok 16 /gobject/signals/accumulator-class 756s ok 17 /gobject/signals/introspection 756s ok 18 /gobject/signals/block-handler 756s ok 19 /gobject/signals/stop-emission 756s ok 20 /gobject/signals/invocation-hint 756s ok 21 /gobject/signals/test-disconnection-wrong-object 756s ok 22 /gobject/signals/clear-signal-handler 756s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 756s ok 23 /gobject/signals/lookup 756s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 756s ok 24 /gobject/signals/parse-name 756s ok 25 /gobject/signals/is-valid-name 756s ok 26 /gobject/signals/weak-ref-disconnect 756s # Start of lookup tests 756s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 756s ok 27 /gobject/signals/lookup/invalid 756s # End of lookup tests 756s # Start of parse-name tests 756s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 756s # Parser input: 756s # Parser input: 7zip 756s # Parser input: invalid:signal 756s # Parser input: simple-detailed:: 756s # Parser input: simple-detailed: 756s # Parser input: : 756s # Parser input: :: 756s # Parser input: :valid-detail 756s # Parser input: ::valid-detail 756s ok 28 /gobject/signals/parse-name/invalid 756s # End of parse-name tests 756s # Start of invalid-name tests 756s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 756s ok 29 /gobject/signals/invalid-name/colon 756s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 756s ok 30 /gobject/signals/invalid-name/first-char 756s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 756s ok 31 /gobject/signals/invalid-name/empty 756s # End of invalid-name tests 756s # End of signals tests 756s # End of gobject tests 756s ok - glib/signals.test 756s # Running test: glib/messages-low-memory.py.test 756s TAP version 13 756s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 756s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 756s # tmpdir: /tmp/tmpunrov50e 756s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory'] 756s # Return code: -6 756s # Output: 756s # 756s # Error: 756s # GLib-Message: 18:48:41.877: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 756s # GLib-Message: 18:48:41.877: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 756s # ../../../glib/gprintf.c:350: failed to allocate memory 756s 1..1 756s ok - glib/messages-low-memory.py.test 756s # Running test: glib/credentials.test 756s TAP version 14 756s ok - glib/credentials.test 756s # random seed: R02S8228ce2f3ba906e4a2c7d389b2bf03dd 756s 1..1 756s # Start of credentials tests 756s # GCredentials:linux-ucred:pid=9575,uid=1000,gid=1000 756s # GCredentials:linux-ucred:pid=9575,uid=0,gid=1000 756s ok 1 /credentials/basic 756s # End of credentials tests 756s # Running test: glib/thread-deprecated.test 756s TAP version 14 756s # random seed: R02S7cd24d13778acc317de3d20116c11a39 756s 1..6 756s # Start of thread tests 757s ok 1 /thread/mutex 757s ok 2 /thread/static-rec-mutex 759s # Executing: glib/thread-deprecated.test 761s ok 3 /thread/static-private 761s # slow test /thread/static-private executed in 4.40 secs 764s # Executing: glib/thread-deprecated.test 766s ok 4 /thread/static-rw-lock 766s # slow test /thread/static-rw-lock executed in 5.00 secs 766s ok 5 /thread/once 769s # Executing: glib/thread-deprecated.test 774s # Executing: glib/thread-deprecated.test 776s ok 6 /thread/rerun-all 776s # slow test /thread/rerun-all executed in 10.02 secs 776s # End of thread tests 776s ok - glib/thread-deprecated.test 776s # Running test: glib/struct-info.test 776s TAP version 14 776s # random seed: R02S7f827d51e250ea579c013d22012efef5 776s 1..4 776s # Start of struct-info tests 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_KLDX52/struct-info/field-iterators/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_KLDX52/struct-info/field-iterators/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_KLDX52/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_KLDX52/struct-info/field-iterators/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_KLDX52/struct-info/field-iterators/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_KLDX52/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_KLDX52/struct-info/field-iterators/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_KLDX52/struct-info/field-iterators/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_KLDX52/struct-info/field-iterators/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_KLDX52/struct-info/field-iterators/.dirs/runtime 776s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 776s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 776s ok 1 /struct-info/field-iterators 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_KLDX52/struct-info/sizeof-gvalue/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_KLDX52/struct-info/sizeof-gvalue/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_KLDX52/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_KLDX52/struct-info/sizeof-gvalue/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_KLDX52/struct-info/sizeof-gvalue/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_KLDX52/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_KLDX52/struct-info/sizeof-gvalue/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_KLDX52/struct-info/sizeof-gvalue/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_KLDX52/struct-info/sizeof-gvalue/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_KLDX52/struct-info/sizeof-gvalue/.dirs/runtime 776s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 776s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 777s ok - glib/struct-info.test 777s # Running test: glib/deftype.test 777s ok - glib/deftype.test 777s # Running test: glib/atomic-c-17.test 777s ok 2 /struct-info/sizeof-gvalue 777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_KLDX52/struct-info/is-pointer-for-struct-method-arg/.dirs/home 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_KLDX52/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_KLDX52/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_KLDX52/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_KLDX52/struct-info/is-pointer-for-struct-method-arg/.dirs/config 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_KLDX52/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_KLDX52/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_KLDX52/struct-info/is-pointer-for-struct-method-arg/.dirs/data 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_KLDX52/struct-info/is-pointer-for-struct-method-arg/.dirs/state 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_KLDX52/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 777s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 777s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 777s ok 3 /struct-info/is-pointer-for-struct-method-arg 777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_KLDX52/struct-info/boxed/.dirs/home 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_KLDX52/struct-info/boxed/.dirs/cache 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_KLDX52/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_KLDX52/struct-info/boxed/.dirs/system-config2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_KLDX52/struct-info/boxed/.dirs/config 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_KLDX52/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_KLDX52/struct-info/boxed/.dirs/system-data2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_KLDX52/struct-info/boxed/.dirs/data 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_KLDX52/struct-info/boxed/.dirs/state 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_KLDX52/struct-info/boxed/.dirs/runtime 777s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 777s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 777s ok 4 /struct-info/boxed 777s # End of struct-info tests 777s TAP version 14 777s # random seed: R02Sfa2d82e52b3faf986f8e807c2a6cf443 777s 1..2 777s # Start of atomic tests 777s ok 1 /atomic/types 777s ok 2 /atomic/threaded 777s # End of atomic tests 777s ok - glib/atomic-c-17.test 777s # Running test: glib/gobject-private.test 777s TAP version 14 777s # random seed: R02Sb8408070322eca0ba0146b709dd97d79 777s 1..3 777s # Start of private tests 777s ok 1 /private/instance 777s ok 2 /private/derived-instance 777s ok 3 /private/mixed-derived-instance 777s # End of private tests 777s ok - glib/gobject-private.test 777s # Running test: glib/tree.test 777s TAP version 14 777s # random seed: R02Sd19f7284486c5f1e6034db0066c6f594 777s 1..7 777s # Start of tree tests 777s ok 1 /tree/search 777s ok 2 /tree/remove 777s ok 3 /tree/destroy 777s ok 4 /tree/traverse 777s ok 5 /tree/insert 777s ok 6 /tree/bounds 777s ok 7 /tree/remove-all 777s # End of tree tests 777s ok - glib/tree.test 777s # Running test: glib/string.test 777s TAP version 14 777s # random seed: R02S3bbac479645dc293797c3d3acb1d5e4f 777s 1..23 777s # Start of string tests 777s ok 1 /string/test-string-chunks 777s ok 2 /string/test-string-chunk-insert 777s ok 3 /string/test-string-new 777s ok 4 /string/test-string-printf 777s ok 5 /string/test-string-assign 777s ok 6 /string/test-string-append-c 777s ok 7 /string/test-string-append 777s ok 8 /string/test-string-append-vprintf 777s ok - glib/string.test 777s # Running test: glib/gdbus-connection-loss.test 777s ok 9 /string/test-string-prepend-c 777s ok 10 /string/test-string-prepend 777s ok 11 /string/test-string-insert 777s ok 12 /string/test-string-insert-unichar 777s ok 13 /string/test-string-equal 777s ok 14 /string/test-string-truncate 777s ok 15 /string/test-string-overwrite 777s ok 16 /string/test-string-nul-handling 777s ok 17 /string/test-string-up-down 777s ok 18 /string/test-string-set-size 777s ok 19 /string/test-string-to-bytes 777s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 777s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 777s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 777s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 777s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 777s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 777s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 777s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 777s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 777s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 777s # 5: Replacing "o" with "" (limit 0) in "food for foals" 777s # -> 4 replacements, "fd fr fals" 777s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 777s # -> 3 replacements, "aaaaaaaaa" 777s # 7: Replacing "a" with "" (limit 0) in "aaa" 777s # -> 3 replacements, "" 777s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 777s # -> 1 replacements, "bba" 777s # 9: Replacing "" with "bar" (limit 0) in "foo" 777s # -> 4 replacements, "barfbarobarobar" 777s # 10: Replacing "" with "bar" (limit 1) in "foo" 777s # -> 1 replacements, "barfoo" 777s # 11: Replacing "" with "bar" (limit 2) in "foo" 777s # -> 2 replacements, "barfbaroo" 777s # 12: Replacing "" with "bar" (limit 3) in "foo" 777s # -> 3 replacements, "barfbarobaro" 777s # 13: Replacing "" with "bar" (limit 4) in "foo" 777s # -> 4 replacements, "barfbarobarobar" 777s # 14: Replacing "" with "bar" (limit 5) in "foo" 777s # -> 4 replacements, "barfbarobarobar" 777s # 15: Replacing "" with "x" (limit 0) in "" 777s # -> 1 replacements, "x" 777s # 16: Replacing "" with "" (limit 0) in "" 777s # -> 1 replacements, "" 777s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 777s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 777s ok 20 /string/test-string-replace 777s ok 21 /string/test-string-steal 777s ok 22 /string/test-string-new-take 777s # Start of test-string-new-take tests 777s ok 23 /string/test-string-new-take/null 777s # End of test-string-new-take tests 777s # End of string tests 777s TAP version 14 777s # random seed: R02S5843bf419afb422cb714f399f7da90fa 777s 1..1 777s # Start of gdbus tests 777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_7A3652/gdbus/connection-loss/.dirs/home 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_7A3652/gdbus/connection-loss/.dirs/cache 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_7A3652/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_7A3652/gdbus/connection-loss/.dirs/system-config2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_7A3652/gdbus/connection-loss/.dirs/config 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_7A3652/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_7A3652/gdbus/connection-loss/.dirs/system-data2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_7A3652/gdbus/connection-loss/.dirs/data 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_7A3652/gdbus/connection-loss/.dirs/state 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_7A3652/gdbus/connection-loss/.dirs/runtime 777s ok 1 /gdbus/connection-loss 777s # End of gdbus tests 777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 777s ok - glib/gdbus-connection-loss.test 777s # Running test: glib/strfuncs.test 777s TAP version 14 777s # random seed: R02S1af1848b14d190019a5a9d98f276f1d5 777s 1..51 777s # Start of strfuncs tests 777s ok 1 /strfuncs/ascii-strcasecmp 777s ok 2 /strfuncs/ascii_strdown 777s ok 3 /strfuncs/ascii_strdup 777s ok 4 /strfuncs/ascii_strtod 777s ok 5 /strfuncs/bounds-check 777s ok 6 /strfuncs/has-prefix 777s ok 7 /strfuncs/has-prefix-macro 777s ok 8 /strfuncs/has-suffix 777s ok 9 /strfuncs/has-suffix-macro 777s ok 10 /strfuncs/memdup 777s ok 11 /strfuncs/memdup2 777s ok 12 /strfuncs/set_str 777s ok 13 /strfuncs/stpcpy 777s ok 14 /strfuncs/str_match_string 777s ok 15 /strfuncs/str_tokenize_and_fold 777s ok 16 /strfuncs/strcanon 777s ok 17 /strfuncs/strchomp 777s ok 18 /strfuncs/strchug 777s ok 19 /strfuncs/strcompress-strescape 777s ok 20 /strfuncs/strconcat 777s ok 21 /strfuncs/strdelimit 777s ok 22 /strfuncs/strdup 777s ok 23 /strfuncs/strdup-printf 777s ok 24 /strfuncs/strdupv 777s ok 25 /strfuncs/strerror 777s ok 26 /strfuncs/strip-context 777s ok 27 /strfuncs/strjoin 777s ok 28 /strfuncs/strjoinv 777s ok 29 /strfuncs/strlcat 777s ok 30 /strfuncs/strlcpy 777s ok 31 /strfuncs/strncasecmp 777s ok 32 /strfuncs/strndup 777s ok 33 /strfuncs/strnfill 777s ok 34 /strfuncs/strreverse 777s ok 35 /strfuncs/strsignal 777s ok 36 /strfuncs/strsplit 777s ok 37 /strfuncs/strsplit-set 777s ok 38 /strfuncs/strstr 777s ok 39 /strfuncs/strtod 777s ok 40 /strfuncs/strtoull-strtoll 777s ok 41 /strfuncs/strup 777s ok 42 /strfuncs/strv-contains 777s ok 43 /strfuncs/strv-equal 777s ok 44 /strfuncs/strv-length 777s ok 45 /strfuncs/test-is-to-digit 777s ok 46 /strfuncs/transliteration 777s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 777s ok 47 /strfuncs/str-equal 777s ok 48 /strfuncs/str-is-ascii 777s # Start of ascii-string-to-num tests 777s ok 49 /strfuncs/ascii-string-to-num/pathological 777s ok 50 /strfuncs/ascii-string-to-num/usual 777s # End of ascii-string-to-num tests 777s # Start of strdup tests 777s ok 51 /strfuncs/strdup/inline 777s # End of strdup tests 777s # End of strfuncs tests 777s ok - glib/strfuncs.test 777s # Running test: glib/uri.test 777s TAP version 14 777s # random seed: R02Se2d6550440eb623c4e01a66c7a236f4d 777s 1..24 777s # Start of uri tests 777s ok 1 /uri/file-to-uri 777s ok 2 /uri/file-from-uri 777s ok 3 /uri/file-roundtrip 777s ok 4 /uri/list 777s # Test 0: %2Babc %4F 777s # Test 1: %2Babc %4F 777s # Test 2: %00abc %4F 777s # Test 3: /cursors/none.png 777s # Test 4: /cursors%2fbad-subdir/none.png 777s # Test 5: %0 777s # Test 6: %ra 777s # Test 7: %2r 777s # Test 8: Timm B?der 777s # Test 9: (null) 777s ok 5 /uri/unescape-string 777s ok 6 /uri/unescape-segment 777s # Test 0: abcdefgABCDEFG._~ 777s # Test 1: :+ \\?# 777s # Test 2: a+b:c 777s # Test 3: a+b:c\303\234 777s # Test 4: \374;\322 777s # Test 5: \303\261\303( 777s ok 7 /uri/escape-string 777s ok 8 /uri/escape-bytes 777s ok 9 /uri/scheme 777s ok 10 /uri/build 777s ok 11 /uri/split 777s ok 12 /uri/is_valid 777s ok 13 /uri/to-string 777s ok 14 /uri/join 777s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 777s # Combination 0 777s # Combination 1 777s # Combination 2 777s # Combination 3 777s # Combination 4 777s # Combination 5 777s # Combination 6 777s # Combination 7 777s # Combination 8 777s # Combination 9 777s # Combination 10 777s # Combination 11 777s # Combination 12 777s # Combination 13 777s # Combination 14 777s # Combination 15 777s # Combination 16 777s # Combination 17 777s # Combination 18 777s # Combination 19 777s # Combination 20 777s # Combination 21 777s # Combination 22 777s # Combination 23 777s # Combination 24 777s # Combination 25 777s # Combination 26 777s # Combination 27 777s # Combination 28 777s # Combination 29 777s # Combination 30 777s # Combination 31 777s # Combination 32 777s # Combination 33 777s # Combination 34 777s # Combination 35 777s # Combination 36 777s # Combination 37 777s # Combination 38 777s # Combination 39 777s # Combination 40 777s # Combination 41 777s # Combination 42 777s # Combination 43 777s # Combination 44 777s # Combination 45 777s # Combination 46 777s # Combination 47 777s # Combination 48 777s # Combination 49 777s # Combination 50 777s # Combination 51 777s # Combination 52 777s # Combination 53 777s # Combination 54 777s # Combination 55 777s # Combination 56 777s # Combination 57 777s # Combination 58 777s # Combination 59 777s # Combination 60 777s # Combination 61 777s # Combination 62 777s # Combination 63 777s # Combination 64 777s # Combination 65 777s # Combination 66 777s # Combination 67 777s # Combination 68 777s # Combination 69 777s # Combination 70 777s # Combination 71 777s # Combination 72 777s # Combination 73 777s # Combination 74 777s # Combination 75 777s # Combination 76 777s # Combination 77 777s # Combination 78 777s # Combination 79 777s # Combination 80 777s # Combination 81 777s # Combination 82 777s # Combination 83 777s # Combination 84 777s # Combination 85 777s # Combination 86 777s # Combination 87 777s # Combination 88 777s # Combination 89 777s # Combination 90 777s # Combination 91 777s # Combination 92 777s # Combination 93 777s # Combination 94 777s # Combination 95 777s # Combination 96 777s # Combination 97 777s # Combination 98 777s # Combination 99 777s # Combination 100 777s # Combination 101 777s # Combination 102 777s # Combination 103 777s # Combination 104 777s # Combination 105 777s # Combination 106 777s # Combination 107 777s # Combination 108 777s # Combination 109 777s # Combination 110 777s # Combination 111 777s # Combination 112 777s # Combination 113 777s # Combination 114 777s # Combination 115 777s # Combination 116 777s # Combination 117 777s # Combination 118 777s # Combination 119 777s # Combination 120 777s # Combination 121 777s # Combination 122 777s # Combination 123 777s # Combination 124 777s # Combination 125 777s # Combination 126 777s # Combination 127 777s # Combination 128 777s # Combination 129 777s # Combination 130 777s # Combination 131 777s # Combination 132 777s # Combination 133 777s # Combination 134 777s # Combination 135 777s # Combination 136 777s # Combination 137 777s # Combination 138 777s # Combination 139 777s # Combination 140 777s # Combination 141 777s # Combination 142 777s # Combination 143 777s # Combination 144 777s # Combination 145 777s # Combination 146 777s # Combination 147 777s # Combination 148 777s # Combination 149 777s # Combination 150 777s # Combination 151 777s # Combination 152 777s # Combination 153 777s # Combination 154 777s # Combination 155 777s # Combination 156 777s # Combination 157 777s # Combination 158 777s # Combination 159 777s # Combination 160 777s # Combination 161 777s # Combination 162 777s # Combination 163 777s # Combination 164 777s # Combination 165 777s # Combination 166 777s # Combination 167 777s # Combination 168 777s # Combination 169 777s # Combination 170 777s # Combination 171 777s # Combination 172 777s # Combination 173 777s # Combination 174 777s # Combination 175 777s # Combination 176 777s # Combination 177 777s # Combination 178 777s # Combination 179 777s # Combination 180 777s # Combination 181 777s # Combination 182 777s # Combination 183 777s # Combination 184 777s # Combination 185 777s # Combination 186 777s # Combination 187 777s # Combination 188 777s # Combination 189 777s # Combination 190 777s # Combination 191 777s # Combination 192 777s # Combination 193 777s # Combination 194 777s # Combination 195 777s # Combination 196 777s # Combination 197 777s # Combination 198 777s # Combination 199 777s # Combination 200 777s # Combination 201 777s # Combination 202 777s # Combination 203 777s # Combination 204 777s # Combination 205 777s # Combination 206 777s # Combination 207 777s # Combination 208 777s # Combination 209 777s # Combination 210 777s # Combination 211 777s # Combination 212 777s # Combination 213 777s # Combination 214 777s # Combination 215 777s # Combination 216 777s # Combination 217 777s # Combination 218 777s # Combination 219 777s # Combination 220 777s # Combination 221 777s # Combination 222 777s # Combination 223 777s # Combination 224 777s # Combination 225 777s # Combination 226 777s # Combination 227 777s # Combination 228 777s # Combination 229 777s # Combination 230 777s # Combination 231 777s # Combination 232 777s # Combination 233 777s # Combination 234 777s # Combination 235 777s # Combination 236 777s # Combination 237 777s # Combination 238 777s # Combination 239 777s # Combination 240 777s # Combination 241 777s # Combination 242 777s # Combination 243 777s # Combination 244 777s # Combination 245 777s # Combination 246 777s # Combination 247 777s # Combination 248 777s # Combination 249 777s # Combination 250 777s # Combination 251 777s # Combination 252 777s # Combination 253 777s # Combination 254 777s # Combination 255 777s ok 15 /uri/join-split-round-trip 777s ok 16 /uri/normalize 777s # Start of unescape-bytes tests 777s # Test 0: %00%00 777s # Test 1: /cursors/none.png 777s # Test 2: /cursors%2fbad-subdir/none.png 777s # Test 3: %% 777s # Test 4: % 777s ok 17 /uri/unescape-bytes/nul-terminated 777s # Test 0: %00%00 777s # Test 1: /cursors/none.png 777s # Test 2: /cursors%2fbad-subdir/none.png 777s # Test 3: %% 777s # Test 4: % 777s ok 18 /uri/unescape-bytes/length 777s # End of unescape-bytes tests 777s # Start of parsing tests 777s # Test 0: foo: 777s # Test 1: file:/dev/null 777s # Test 2: file:///dev/null 777s # Test 3: ftp://user@host/path 777s # Test 4: ftp://user@host:9999/path 777s # Test 5: ftp://user:password@host/path 777s # Test 6: ftp://user:password@host:9999/path 777s # Test 7: ftp://user:password@host 777s # Test 8: http://us%65r@host 777s # Test 9: http://us%40r@host 777s # Test 10: http://us%3ar@host 777s # Test 11: http://us%2fr@host 777s # Test 12: http://us%3fr@host 777s # Test 13: http://host?query 777s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 777s # 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 777s # Test 16: http://space/%20 777s # Test 17: http://delims/%3C%3E%23%25%22 777s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 777s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 777s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 777s # Test 21: http://[3ffe:2a00:100:7031::1] 777s # Test 22: http://[1080::8:800:200C:417A]/foo 777s # Test 23: http://[::192.9.5.5]/ipng 777s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 777s # Test 25: http://[2010:836B:4179::836B:4179] 777s # Test 26: http://host/path with spaces 777s # Test 27: http://host/path 777s # Test 28: http://host/path 777s # Test 29: http://host 777s # Test 30: http://host:999 777s # Test 31: http://host/pa 777s # th 777s # Test 32: http: 777s # //host/path 777s # Test 33: http:// host/path 777s # Test 34: http://host/path? 777s # Test 35: http://host/path# 777s # Test 36: http://host/path% 777s # Test 37: http://h%ost/path 777s # Test 38: http://host/path%% 777s # Test 39: http://host/path%%% 777s # Test 40: http://host/path%/x/ 777s # Test 41: http://host/path%0x/ 777s # Test 42: http://host/path%ax 777s # Test 43: http://host/p?th/ 777s # Test 44: HTTP://////////////// 777s # Test 45: http://@host 777s # Test 46: http://:@host 777s # Test 47: scheme://foo%3Abar._webdav._tcp.local 777s # Test 48: http://example.com/.. 777s # Test 49: foo0://host/path 777s # Test 50: f0.o://host/path 777s # Test 51: http++://host/path 777s # Test 52: http-ish://host/path 777s # Test 53: http://[fe80::dead:beef%]/ 777s # Test 54: http://[fe80::dead:beef%em1]/ 777s # Test 55: http://[fe80::dead:beef%em1]/ 777s # Test 56: http://[fe80::dead:beef%25em1]/ 777s # Test 57: http://[fe80::dead:beef%25em1%20]/ 777s # Test 58: http://[fe80::dead:beef%25em%31]/ 777s # Test 59: http://[fe80::dead:beef%10]/ 777s # Test 60: http://[fe80::dead:beef%10]/ 777s # Test 61: http://[fe80::dead:beef%25]/ 777s # Test 62: http://[fe80::dead:beef%25]/ 777s # Test 63: http://[192.168.0.1%25em1]/ 777s # Test 64: http://[fe80::dead:beef%2em1]/ 777s # Test 65: http://[fe80::dead:beef%2em1]/ 777s # Test 66: http://[fe80::dead:beef%25em1%00]/ 777s # Test 67: http://[fe80::dead:beef%25em1%00]/ 777s # Test 68: http://xn--mixed-?p/ 777s # Test 69: data:./// 777s # Test 70: data:/.// 777s ok 19 /uri/parsing/absolute 777s ok - glib/uri.test 777s # Running test: glib/types.test 777s ok - glib/types.test 777s # Running test: glib/atomic-c-89.test 777s ok 20 /uri/parsing/relative 777s # End of parsing tests 777s # Start of iter-params tests 777s # URI 0: p1=foo&p2=bar;p3=baz 777s # URI 1: p1=foo&p2=bar 777s # URI 2: p1=foo&&P1=bar 777s # URI 3: %00=foo 777s # URI 4: p1=%00 777s # URI 5: p1=foo&p1=bar 777s # URI 6: p1=foo&P1=bar 777s # URI 7: =% 777s # URI 8: = 777s # URI 9: foo 777s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 777s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 777s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 777s ok 21 /uri/iter-params/nul-terminated 777s # URI 0: p1=foo&p2=bar;p3=baz 777s # URI 1: p1=foo&p2=bar 777s # URI 2: p1=foo&&P1=bar 777s # URI 3: %00=foo 777s # URI 4: p1=%00 777s # URI 5: p1=foo&p1=bar 777s # URI 6: p1=foo&P1=bar 777s # URI 7: =% 777s # URI 8: = 777s # URI 9: foo 777s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 777s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 777s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 777s ok 22 /uri/iter-params/length 777s # End of iter-params tests 777s # Start of parse-params tests 777s # URI 0: p1=foo&p2=bar;p3=baz 777s # URI 1: p1=foo&p2=bar 777s # URI 2: p1=foo&&P1=bar 777s # URI 3: %00=foo 777s # URI 4: p1=%00 777s # URI 5: p1=foo&p1=bar 777s # URI 6: p1=foo&P1=bar 777s # URI 7: =% 777s # URI 8: = 777s # URI 9: foo 777s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 777s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 777s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 777s ok 23 /uri/parse-params/nul-terminated 777s # URI 0: p1=foo&p2=bar;p3=baz 777s # URI 1: p1=foo&p2=bar 777s # URI 2: p1=foo&&P1=bar 777s # URI 3: %00=foo 777s # URI 4: p1=%00 777s # URI 5: p1=foo&p1=bar 777s # URI 6: p1=foo&P1=bar 777s # URI 7: =% 777s # URI 8: = 777s # URI 9: foo 777s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 777s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 777s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 777s ok 24 /uri/parse-params/length 777s # End of parse-params tests 777s # End of uri tests 777s TAP version 14 777s # random seed: R02S7f4e9f4f1e239df857a0e4e77af659a0 777s 1..1 777s # Start of types tests 777s ok 1 /types/basic_types 777s # End of types tests 777s TAP version 14 777s # random seed: R02S1a372300bbb5e9f48427df402d759c57 777s 1..2 777s # Start of atomic tests 777s ok 1 /atomic/types 777s ok 2 /atomic/threaded 777s # End of atomic tests 777s ok - glib/atomic-c-89.test 777s # Running test: glib/value.test 777s TAP version 14 777s # random seed: R02S46dccf7989bc8c04f2a2dfd08e78483b 777s 1..9 777s # Start of value tests 777s ok 1 /value/basic 777s ok 2 /value/collection 777s ok 3 /value/copying 777s ok 4 /value/enum-transformation 777s ok 5 /value/gtype 777s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 777s ok 6 /value/string 777s # Next: GObject object in GValue of GObject to GValue of GObject 777s # Next: GObject object in GValue of GObject to GValue of TestInterface 777s # Next: GObject object in GValue of GObject to GValue of TestObjectA 777s # Next: GObject object in GValue of GObject to GValue of TestObjectB 777s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 777s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 777s # Next: TestObjectA object in GValue of GObject to GValue of GObject 777s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 777s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 777s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 777s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 777s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 777s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 777s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 777s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 777s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 777s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 777s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 777s # Next: TestObjectB object in GValue of GObject to GValue of GObject 777s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 777s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 777s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 777s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 777s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 777s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 777s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 777s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 777s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 777s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 777s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 777s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 777s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 777s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 777s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 777s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 777s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 777s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 777s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 777s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 777s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 777s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 777s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 777s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 777s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 777s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 777s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 777s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 777s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 777s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 777s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 777s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 777s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 777s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 777s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 777s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 777s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 777s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 777s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 777s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 777s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 777s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 777s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 777s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 777s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 777s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 777s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 777s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 777s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 777s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 777s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 777s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 777s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 777s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 777s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 777s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 777s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 777s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 777s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 777s ok 7 /value/transform-object 777s # Start of array tests 777s ok 8 /value/array/basic 777s ok 9 /value/array/sort-with-data 777s # End of array tests 777s # End of value tests 777s ok - glib/value.test 777s # Running test: glib/objects-refcount2.test 777s TAP version 14 777s # random seed: R02S4d72ef48fa8bbb4f616894e4f17a4762 777s 1..1 777s # Start of gobject tests 777s # Start of refcount tests 777s # init 0x5db063129400 777s # 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 777s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 778s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # Executing: glib/objects-refcount2.test 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 779s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # . 780s # dispose 0x5db063129400! 780s # 780s ok 1 /gobject/refcount/object-advanced 780s # slow test /gobject/refcount/object-advanced executed in 2.68 secs 780s # End of refcount tests 780s # End of gobject tests 780s ok - glib/objects-refcount2.test 780s # Running test: glib/enums.test 780s TAP version 14 780s # random seed: R02S8938c6161d8af602db118f8e3716498b 780s 1..4 780s # Start of enum tests 780s ok 1 /enum/basic 780s ok 2 /enum/define-type 780s # End of enum tests 780s # Start of flags tests 780s ok 3 /flags/basic 780s ok 4 /flags/define-type 780s # End of flags tests 780s ok - glib/enums.test 780s # Running test: glib/once.test 780s TAP version 14 780s # random seed: R02Sacca6e7ad522ca5eadf71711437cb26b 780s 1..5 780s # Start of once tests 780s # /once/single-threaded summary: Test g_once() usage from a single thread 780s ok 1 /once/single-threaded 780s # /once/multi-threaded summary: Test g_once() usage from multiple threads 780s ok 2 /once/multi-threaded 780s # End of once tests 780s # Start of once-init tests 780s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 780s ok 3 /once-init/single-threaded 780s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 780s ok 4 /once-init/multi-threaded 780s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 780s ok 5 /once-init/string 780s # End of once-init tests 780s ok - glib/once.test 780s # Running test: glib/macros-c-89.test 780s TAP version 14 780s # random seed: R02Sb68c9c5e17a33893015cd4d8de4c660b 780s 1..4 780s # Start of C tests 780s ok 1 /C/standard-89 780s # End of C tests 780s # Start of alignof tests 780s ok 2 /alignof/fallback 780s # End of alignof tests 780s # Start of assert tests 780s ok 3 /assert/static 780s # End of assert tests 780s # Start of struct tests 780s ok 4 /struct/sizeof_member 780s # End of struct tests 780s ok - glib/macros-c-89.test 780s # Running test: glib/io-stream.test 780s TAP version 14 780s # random seed: R02S9ee0f35f18da69ccbec3af51397501f8 780s 1..3 780s # Start of io-stream tests 780s ok 1 /io-stream/copy-chunks 780s # Start of close tests 780s # Start of async tests 780s ok 2 /io-stream/close/async/memory 780s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 780s ok 3 /io-stream/close/async/file 780s # End of async tests 780s # End of close tests 780s # End of io-stream tests 780s ok - glib/io-stream.test 780s # Running test: glib/assert-msg-test.py.test 780s TAP version 13 780s ok 1 __main__.TestAssertMessage.test_gassert 780s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 780s # tmpdir: /tmp/tmpu4qzsm5f 780s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 780s # Return code: -6 780s # Output: 780s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 780s # Error: 780s # ** 780s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 780s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 780s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 780s # tmpdir: /tmp/tmp1j95lzk6 780s 1..2 780s ok - glib/assert-msg-test.py.test 780s # Running test: glib/permission.test 780s TAP version 14 780s # random seed: R02Sa33c0e21f47fe91fe3a3d0073ae9e6a3 780s 1..1 780s # Start of permission tests 780s ok 1 /permission/simple 780s # End of permission tests 780s ok - glib/permission.test 780s # Running test: glib/gdbus-address-get-session.test 780s TAP version 14 780s # random seed: R02Saf006947dc1027a028ad0737af268af8 780s 1..2 780s # Start of gdbus tests 780s ok 1 /gdbus/x11-autolaunch 780s ok 2 /gdbus/xdg-runtime 780s # End of gdbus tests 780s ok - glib/gdbus-address-get-session.test 780s # Running test: glib/regex.test 780s TAP version 14 780s # random seed: R02Saff92e9ec08a7fd8ea38f3f65f89cfc7 780s 1..848 780s # Start of regex tests 780s ok 1 /regex/properties 780s ok 2 /regex/class 780s ok 3 /regex/lookahead 780s ok 4 /regex/lookbehind 780s ok 5 /regex/subpattern 780s ok 6 /regex/condition 780s ok 7 /regex/recursion 780s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 780s ok 8 /regex/multiline 780s ok 9 /regex/explicit-crlf 780s ok 10 /regex/max-lookbehind 780s ok 11 /regex/compile-errors 780s ok 12 /regex/jit-unsupported-matching 780s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 780s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 780s ok 13 /regex/unmatched-named-subpattern 780s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 780s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 780s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 780s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 780s ok 14 /regex/compiled-regex-after-jit-failure 780s # Start of new tests 780s ok 15 /regex/new/1 780s ok 16 /regex/new/2 780s ok 17 /regex/new/3 780s ok 18 /regex/new/4 780s ok 19 /regex/new/5 780s ok 20 /regex/new/6 780s ok 21 /regex/new/7 780s ok 22 /regex/new/8 780s ok 23 /regex/new/9 780s ok 24 /regex/new/10 780s ok 25 /regex/new/11 780s ok 26 /regex/new/12 780s ok 27 /regex/new/13 780s ok 28 /regex/new/14 780s ok 29 /regex/new/15 780s ok 30 /regex/new/16 780s ok 31 /regex/new/17 780s ok 32 /regex/new/18 780s ok 33 /regex/new/19 780s ok 34 /regex/new/71 780s ok 35 /regex/new/80 780s ok 36 /regex/new/82 780s # End of new tests 780s # Start of new-check-flags tests 780s ok 37 /regex/new-check-flags/20 780s ok 38 /regex/new-check-flags/21 780s ok 39 /regex/new-check-flags/22 780s ok 40 /regex/new-check-flags/23 780s ok 41 /regex/new-check-flags/24 780s ok 42 /regex/new-check-flags/25 780s ok 43 /regex/new-check-flags/26 780s ok 44 /regex/new-check-flags/27 780s ok 45 /regex/new-check-flags/28 780s ok 46 /regex/new-check-flags/29 780s ok 47 /regex/new-check-flags/30 780s ok 48 /regex/new-check-flags/31 780s ok 49 /regex/new-check-flags/32 780s ok 50 /regex/new-check-flags/33 780s ok 51 /regex/new-check-flags/34 780s ok 52 /regex/new-check-flags/35 780s ok 53 /regex/new-check-flags/36 780s # End of new-check-flags tests 780s # Start of new-fail tests 780s ok 54 /regex/new-fail/37 780s ok 55 /regex/new-fail/38 780s ok 56 /regex/new-fail/39 780s ok 57 /regex/new-fail/40 780s ok 58 /regex/new-fail/41 780s ok 59 /regex/new-fail/42 780s ok 60 /regex/new-fail/43 780s ok 61 /regex/new-fail/44 780s ok 62 /regex/new-fail/45 780s ok 63 /regex/new-fail/46 780s ok 64 /regex/new-fail/47 780s ok 65 /regex/new-fail/48 780s ok 66 /regex/new-fail/49 780s ok 67 /regex/new-fail/50 780s ok 68 /regex/new-fail/51 780s ok 69 /regex/new-fail/52 780s ok 70 /regex/new-fail/53 780s ok 71 /regex/new-fail/54 780s ok 72 /regex/new-fail/55 780s ok 73 /regex/new-fail/56 780s ok 74 /regex/new-fail/57 780s ok 75 /regex/new-fail/58 780s ok 76 /regex/new-fail/59 780s ok 77 /regex/new-fail/60 780s ok 78 /regex/new-fail/61 780s ok 79 /regex/new-fail/62 780s ok 80 /regex/new-fail/63 780s ok 81 /regex/new-fail/64 780s ok 82 /regex/new-fail/65 780s ok 83 /regex/new-fail/66 780s ok 84 /regex/new-fail/67 780s ok 85 /regex/new-fail/68 780s ok 86 /regex/new-fail/69 780s ok 87 /regex/new-fail/70 780s ok 88 /regex/new-fail/72 780s ok 89 /regex/new-fail/73 780s ok 90 /regex/new-fail/74 780s ok 91 /regex/new-fail/75 780s ok 92 /regex/new-fail/76 780s ok 93 /regex/new-fail/77 780s ok 94 /regex/new-fail/78 780s ok 95 /regex/new-fail/79 780s ok 96 /regex/new-fail/81 780s ok 97 /regex/new-fail/83 780s ok 98 /regex/new-fail/84 780s ok 99 /regex/new-fail/85 780s ok 100 /regex/new-fail/86 780s ok 101 /regex/new-fail/87 780s ok 102 /regex/new-fail/88 780s ok 103 /regex/new-fail/89 780s ok 104 /regex/new-fail/90 780s ok 105 /regex/new-fail/91 780s # End of new-fail tests 780s # Start of match-simple tests 780s ok 106 /regex/match-simple/92 780s ok 107 /regex/match-simple/93 780s ok 108 /regex/match-simple/94 780s ok 109 /regex/match-simple/95 780s ok 110 /regex/match-simple/96 780s ok 111 /regex/match-simple/97 780s ok 112 /regex/match-simple/98 780s ok 113 /regex/match-simple/99 780s ok 114 /regex/match-simple/100 780s ok 115 /regex/match-simple/101 780s ok 116 /regex/match-simple/102 780s ok 117 /regex/match-simple/103 780s ok 118 /regex/match-simple/104 780s ok 119 /regex/match-simple/105 780s ok 120 /regex/match-simple/106 780s ok 121 /regex/match-simple/107 780s ok 122 /regex/match-simple/108 780s ok 123 /regex/match-simple/109 780s ok 124 /regex/match-simple/110 780s ok 125 /regex/match-simple/111 780s ok 126 /regex/match-simple/112 780s ok 127 /regex/match-simple/113 780s ok 128 /regex/match-simple/114 780s ok 129 /regex/match-simple/115 780s ok 130 /regex/match-simple/116 780s ok 131 /regex/match-simple/117 780s ok 132 /regex/match-simple/118 780s ok 133 /regex/match-simple/119 780s ok 134 /regex/match-simple/120 780s ok 135 /regex/match-simple/121 780s ok 136 /regex/match-simple/122 780s ok 137 /regex/match-simple/123 780s ok 138 /regex/match-simple/124 780s ok 139 /regex/match-simple/125 780s ok 140 /regex/match-simple/126 780s ok 141 /regex/match-simple/127 780s ok 142 /regex/match-simple/128 780s ok 143 /regex/match-simple/129 780s ok 144 /regex/match-simple/130 780s ok 145 /regex/match-simple/131 780s ok 146 /regex/match-simple/132 780s ok 147 /regex/match-simple/133 780s ok 148 /regex/match-simple/134 780s ok 149 /regex/match-simple/135 780s ok 150 /regex/match-simple/136 780s ok 151 /regex/match-simple/137 780s ok 152 /regex/match-simple/138 780s ok 153 /regex/match-simple/139 780s ok 154 /regex/match-simple/140 780s ok 155 /regex/match-simple/141 780s ok 156 /regex/match-simple/142 780s ok 157 /regex/match-simple/143 780s ok 158 /regex/match-simple/144 780s ok 159 /regex/match-simple/145 780s ok 160 /regex/match-simple/146 780s ok 161 /regex/match-simple/147 780s ok 162 /regex/match-simple/148 780s ok 163 /regex/match-simple/149 780s ok 164 /regex/match-simple/150 780s ok 165 /regex/match-simple/151 780s ok 166 /regex/match-simple/152 780s ok 167 /regex/match-simple/153 780s ok 168 /regex/match-simple/154 780s ok 169 /regex/match-simple/155 780s ok 170 /regex/match-simple/156 780s ok 171 /regex/match-simple/157 780s ok 172 /regex/match-simple/158 780s ok 173 /regex/match-simple/159 780s ok 174 /regex/match-simple/160 780s ok 175 /regex/match-simple/161 780s ok 176 /regex/match-simple/162 780s ok 177 /regex/match-simple/163 780s ok 178 /regex/match-simple/164 780s # End of match-simple tests 780s # Start of match-simple-optimized tests 780s ok 179 /regex/match-simple-optimized/92 780s ok 180 /regex/match-simple-optimized/93 780s ok 181 /regex/match-simple-optimized/94 780s ok 182 /regex/match-simple-optimized/95 780s ok 183 /regex/match-simple-optimized/96 780s ok 184 /regex/match-simple-optimized/97 780s ok 185 /regex/match-simple-optimized/98 780s ok 186 /regex/match-simple-optimized/99 780s ok 187 /regex/match-simple-optimized/100 780s ok 188 /regex/match-simple-optimized/101 780s ok 189 /regex/match-simple-optimized/102 780s ok 190 /regex/match-simple-optimized/103 780s ok 191 /regex/match-simple-optimized/104 780s ok 192 /regex/match-simple-optimized/105 780s ok 193 /regex/match-simple-optimized/106 780s ok 194 /regex/match-simple-optimized/107 780s ok 195 /regex/match-simple-optimized/108 780s ok 196 /regex/match-simple-optimized/109 780s ok 197 /regex/match-simple-optimized/110 780s ok 198 /regex/match-simple-optimized/111 780s ok 199 /regex/match-simple-optimized/112 780s ok 200 /regex/match-simple-optimized/113 780s ok 201 /regex/match-simple-optimized/114 780s ok 202 /regex/match-simple-optimized/115 780s ok 203 /regex/match-simple-optimized/116 780s ok 204 /regex/match-simple-optimized/117 780s ok 205 /regex/match-simple-optimized/118 780s ok 206 /regex/match-simple-optimized/119 780s ok 207 /regex/match-simple-optimized/120 780s ok 208 /regex/match-simple-optimized/121 780s ok 209 /regex/match-simple-optimized/122 780s ok 210 /regex/match-simple-optimized/123 780s ok 211 /regex/match-simple-optimized/124 780s ok 212 /regex/match-simple-optimized/125 780s ok 213 /regex/match-simple-optimized/126 780s ok 214 /regex/match-simple-optimized/127 780s ok 215 /regex/match-simple-optimized/128 780s ok 216 /regex/match-simple-optimized/129 780s ok 217 /regex/match-simple-optimized/130 780s ok 218 /regex/match-simple-optimized/131 780s ok 219 /regex/match-simple-optimized/132 780s ok 220 /regex/match-simple-optimized/133 780s ok 221 /regex/match-simple-optimized/134 780s ok 222 /regex/match-simple-optimized/135 780s ok 223 /regex/match-simple-optimized/136 780s ok 224 /regex/match-simple-optimized/137 780s ok 225 /regex/match-simple-optimized/138 780s ok 226 /regex/match-simple-optimized/139 780s ok 227 /regex/match-simple-optimized/140 780s ok 228 /regex/match-simple-optimized/141 780s ok 229 /regex/match-simple-optimized/142 780s ok 230 /regex/match-simple-optimized/143 780s ok 231 /regex/match-simple-optimized/144 780s ok 232 /regex/match-simple-optimized/145 780s ok 233 /regex/match-simple-optimized/146 780s ok 234 /regex/match-simple-optimized/147 780s ok 235 /regex/match-simple-optimized/148 780s ok 236 /regex/match-simple-optimized/149 780s ok 237 /regex/match-simple-optimized/150 780s ok 238 /regex/match-simple-optimized/151 780s ok 239 /regex/match-simple-optimized/152 780s ok 240 /regex/match-simple-optimized/153 780s ok 241 /regex/match-simple-optimized/154 780s ok 242 /regex/match-simple-optimized/155 780s ok 243 /regex/match-simple-optimized/156 780s ok 244 /regex/match-simple-optimized/157 780s ok 245 /regex/match-simple-optimized/158 780s ok 246 /regex/match-simple-optimized/159 780s ok 247 /regex/match-simple-optimized/160 780s ok 248 /regex/match-simple-optimized/161 780s ok 249 /regex/match-simple-optimized/162 780s ok 250 /regex/match-simple-optimized/163 780s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 780s ok 251 /regex/match-simple-optimized/164 780s # End of match-simple-optimized tests 780s # Start of match tests 780s ok 252 /regex/match/165 780s ok 253 /regex/match/166 780s ok 254 /regex/match/167 780s ok 255 /regex/match/168 780s ok 256 /regex/match/169 780s ok 257 /regex/match/170 780s ok 258 /regex/match/171 780s ok 259 /regex/match/172 780s ok 260 /regex/match/173 780s ok 261 /regex/match/174 780s ok 262 /regex/match/175 780s ok 263 /regex/match/176 780s ok 264 /regex/match/177 780s ok 265 /regex/match/178 780s ok 266 /regex/match/179 780s ok 267 /regex/match/180 780s ok 268 /regex/match/181 780s ok 269 /regex/match/182 780s ok 270 /regex/match/183 780s ok 271 /regex/match/184 780s ok 272 /regex/match/185 780s ok 273 /regex/match/186 780s ok 274 /regex/match/187 780s ok 275 /regex/match/188 780s ok 276 /regex/match/189 780s ok 277 /regex/match/190 780s ok 278 /regex/match/191 780s ok 279 /regex/match/192 780s ok 280 /regex/match/193 780s ok 281 /regex/match/194 780s ok 282 /regex/match/195 780s ok 283 /regex/match/196 780s ok 284 /regex/match/197 780s ok 285 /regex/match/198 780s ok 286 /regex/match/199 780s ok 287 /regex/match/200 780s ok 288 /regex/match/201 780s ok 289 /regex/match/202 780s ok 290 /regex/match/203 780s ok 291 /regex/match/204 780s ok 292 /regex/match/205 780s ok 293 /regex/match/206 780s ok 294 /regex/match/207 780s ok 295 /regex/match/208 780s ok 296 /regex/match/209 780s ok 297 /regex/match/210 780s ok 298 /regex/match/211 780s ok 299 /regex/match/212 780s ok 300 /regex/match/213 780s ok 301 /regex/match/214 780s ok 302 /regex/match/215 780s ok 303 /regex/match/216 780s ok 304 /regex/match/217 780s ok 305 /regex/match/218 780s ok 306 /regex/match/219 780s ok 307 /regex/match/220 780s ok 308 /regex/match/221 780s ok 309 /regex/match/222 780s ok 310 /regex/match/223 780s ok 311 /regex/match/224 780s ok 312 /regex/match/225 780s ok 313 /regex/match/226 780s ok 314 /regex/match/227 780s ok 315 /regex/match/228 780s ok 316 /regex/match/229 780s ok 317 /regex/match/230 780s ok 318 /regex/match/231 780s ok 319 /regex/match/232 780s ok 320 /regex/match/233 780s ok 321 /regex/match/234 780s ok 322 /regex/match/235 780s ok 323 /regex/match/236 780s ok 324 /regex/match/237 780s ok 325 /regex/match/238 780s ok 326 /regex/match/239 780s ok 327 /regex/match/240 780s ok 328 /regex/match/241 780s ok 329 /regex/match/242 780s ok 330 /regex/match/243 780s ok 331 /regex/match/244 780s ok 332 /regex/match/245 780s ok 333 /regex/match/246 780s ok 334 /regex/match/partial281 780s ok 335 /regex/match/partial282 780s ok 336 /regex/match/partial283 780s ok 337 /regex/match/partial284 780s ok 338 /regex/match/partial285 780s ok 339 /regex/match/partial286 780s ok 340 /regex/match/partial287 780s ok 341 /regex/match/partial288 780s ok 342 /regex/match/partial289 780s ok 343 /regex/match/partial290 780s ok 344 /regex/match/partial291 780s ok 345 /regex/match/partial292 780s ok 346 /regex/match/partial293 780s ok 347 /regex/match/partial294 780s ok 348 /regex/match/partial295 780s ok 349 /regex/match/partial296 780s ok 350 /regex/match/partial297 780s ok 351 /regex/match/partial298 780s ok 352 /regex/match/partial299 780s ok 353 /regex/match/partial300 780s ok 354 /regex/match/partial301 780s ok 355 /regex/match/partial302 780s # Start of next0 tests 780s ok 356 /regex/match/next0/247 780s ok 357 /regex/match/next0/248 780s ok 358 /regex/match/next0/249 780s ok 359 /regex/match/next0/250 780s # End of next0 tests 780s # Start of next1 tests 780s ok 360 /regex/match/next1/251 780s ok 361 /regex/match/next1/252 780s ok 362 /regex/match/next1/253 780s ok 363 /regex/match/next1/254 780s ok 364 /regex/match/next1/255 780s # End of next1 tests 780s # Start of next2 tests 780s ok 365 /regex/match/next2/256 780s ok 366 /regex/match/next2/257 780s ok 367 /regex/match/next2/258 780s ok 368 /regex/match/next2/259 780s ok 369 /regex/match/next2/260 780s ok 370 /regex/match/next2/261 780s ok 371 /regex/match/next2/262 780s ok 372 /regex/match/next2/263 780s # End of next2 tests 780s # Start of next3 tests 780s ok 373 /regex/match/next3/264 780s ok 374 /regex/match/next3/265 780s ok 375 /regex/match/next3/266 780s ok 376 /regex/match/next3/267 780s ok 377 /regex/match/next3/268 780s ok 378 /regex/match/next3/269 780s # End of next3 tests 780s # Start of next4 tests 780s ok 379 /regex/match/next4/270 780s # End of next4 tests 780s # Start of count tests 780s ok 380 /regex/match/count/271 780s ok 381 /regex/match/count/272 780s ok 382 /regex/match/count/273 780s ok 383 /regex/match/count/274 780s ok 384 /regex/match/count/275 780s ok 385 /regex/match/count/276 780s ok 386 /regex/match/count/277 780s ok 387 /regex/match/count/278 780s ok 388 /regex/match/count/279 780s ok 389 /regex/match/count/280 780s # End of count tests 780s # Start of count-optimized tests 780s ok 390 /regex/match/count-optimized/271 780s ok 391 /regex/match/count-optimized/272 780s ok 392 /regex/match/count-optimized/273 780s ok 393 /regex/match/count-optimized/274 780s ok 394 /regex/match/count-optimized/275 780s ok 395 /regex/match/count-optimized/276 780s ok 396 /regex/match/count-optimized/277 780s ok 397 /regex/match/count-optimized/278 780s ok 398 /regex/match/count-optimized/279 780s ok 399 /regex/match/count-optimized/280 780s # End of count-optimized tests 780s # Start of partial-optimized tests 780s ok 400 /regex/match/partial-optimized/281 780s ok 401 /regex/match/partial-optimized/282 780s ok 402 /regex/match/partial-optimized/283 780s ok 403 /regex/match/partial-optimized/284 780s ok 404 /regex/match/partial-optimized/285 780s ok 405 /regex/match/partial-optimized/286 780s ok 406 /regex/match/partial-optimized/287 780s ok 407 /regex/match/partial-optimized/288 780s ok 408 /regex/match/partial-optimized/289 780s ok 409 /regex/match/partial-optimized/290 780s ok 410 /regex/match/partial-optimized/291 780s ok 411 /regex/match/partial-optimized/292 780s ok 412 /regex/match/partial-optimized/293 780s ok 413 /regex/match/partial-optimized/294 780s ok 414 /regex/match/partial-optimized/295 780s ok 415 /regex/match/partial-optimized/296 780s ok 416 /regex/match/partial-optimized/297 780s ok 417 /regex/match/partial-optimized/298 780s ok 418 /regex/match/partial-optimized/299 780s ok 419 /regex/match/partial-optimized/300 780s ok 420 /regex/match/partial-optimized/301 780s ok 421 /regex/match/partial-optimized/302 780s # End of partial-optimized tests 780s # Start of subpattern tests 780s ok 422 /regex/match/subpattern/303 780s ok 423 /regex/match/subpattern/304 780s ok 424 /regex/match/subpattern/305 780s ok 425 /regex/match/subpattern/306 780s ok 426 /regex/match/subpattern/307 780s ok 427 /regex/match/subpattern/308 780s ok 428 /regex/match/subpattern/309 780s ok 429 /regex/match/subpattern/310 780s ok 430 /regex/match/subpattern/311 780s ok 431 /regex/match/subpattern/312 780s ok 432 /regex/match/subpattern/313 780s ok 433 /regex/match/subpattern/314 780s ok 434 /regex/match/subpattern/315 780s # Start of named tests 780s # Start of dupnames tests 780s ok 435 /regex/match/subpattern/named/dupnames/325 780s ok 436 /regex/match/subpattern/named/dupnames/326 780s ok 437 /regex/match/subpattern/named/dupnames/327 780s ok 438 /regex/match/subpattern/named/dupnames/328 780s ok 439 /regex/match/subpattern/named/dupnames/329 780s # End of dupnames tests 780s # End of named tests 780s # End of subpattern tests 780s # Start of subpattern-optimized tests 780s ok 440 /regex/match/subpattern-optimized/303 780s ok 441 /regex/match/subpattern-optimized/304 780s ok 442 /regex/match/subpattern-optimized/305 780s ok 443 /regex/match/subpattern-optimized/306 780s ok 444 /regex/match/subpattern-optimized/307 780s ok 445 /regex/match/subpattern-optimized/308 780s ok 446 /regex/match/subpattern-optimized/309 780s ok 447 /regex/match/subpattern-optimized/310 780s ok 448 /regex/match/subpattern-optimized/311 780s ok 449 /regex/match/subpattern-optimized/312 780s ok 450 /regex/match/subpattern-optimized/313 780s ok 451 /regex/match/subpattern-optimized/314 780s ok 452 /regex/match/subpattern-optimized/315 780s # End of subpattern-optimized tests 780s # Start of named tests 780s # Start of subpattern tests 780s ok 453 /regex/match/named/subpattern/316 780s ok 454 /regex/match/named/subpattern/317 780s ok 455 /regex/match/named/subpattern/318 780s ok 456 /regex/match/named/subpattern/319 780s ok 457 /regex/match/named/subpattern/320 780s ok 458 /regex/match/named/subpattern/321 780s ok 459 /regex/match/named/subpattern/322 780s ok 460 /regex/match/named/subpattern/323 780s ok 461 /regex/match/named/subpattern/324 780s ok 462 /regex/match/named/subpattern/330 780s ok 463 /regex/match/named/subpattern/331 780s ok 464 /regex/match/named/subpattern/332 780s ok 465 /regex/match/named/subpattern/333 780s ok 466 /regex/match/named/subpattern/334 780s # End of subpattern tests 780s # End of named tests 780s # End of match tests 780s # Start of match-optimized tests 780s ok 467 /regex/match-optimized/165 780s ok 468 /regex/match-optimized/166 780s ok 469 /regex/match-optimized/167 780s ok 470 /regex/match-optimized/168 780s ok 471 /regex/match-optimized/169 780s ok 472 /regex/match-optimized/170 780s ok 473 /regex/match-optimized/171 780s ok 474 /regex/match-optimized/172 780s ok 475 /regex/match-optimized/173 780s ok 476 /regex/match-optimized/174 780s ok 477 /regex/match-optimized/175 780s ok 478 /regex/match-optimized/176 780s ok 479 /regex/match-optimized/177 780s ok 480 /regex/match-optimized/178 780s ok 481 /regex/match-optimized/179 780s ok 482 /regex/match-optimized/180 780s ok 483 /regex/match-optimized/181 780s ok 484 /regex/match-optimized/182 780s ok 485 /regex/match-optimized/183 780s ok 486 /regex/match-optimized/184 780s ok 487 /regex/match-optimized/185 780s ok 488 /regex/match-optimized/186 780s ok 489 /regex/match-optimized/187 780s ok 490 /regex/match-optimized/188 780s ok 491 /regex/match-optimized/189 780s ok 492 /regex/match-optimized/190 780s ok 493 /regex/match-optimized/191 780s ok 494 /regex/match-optimized/192 780s ok 495 /regex/match-optimized/193 780s ok 496 /regex/match-optimized/194 780s ok 497 /regex/match-optimized/195 780s ok 498 /regex/match-optimized/196 780s ok 499 /regex/match-optimized/197 780s ok 500 /regex/match-optimized/198 780s ok 501 /regex/match-optimized/199 780s ok 502 /regex/match-optimized/200 780s ok 503 /regex/match-optimized/201 780s ok 504 /regex/match-optimized/202 780s ok 505 /regex/match-optimized/203 780s ok 506 /regex/match-optimized/204 780s ok 507 /regex/match-optimized/205 780s ok 508 /regex/match-optimized/206 780s ok 509 /regex/match-optimized/207 780s ok 510 /regex/match-optimized/208 780s ok 511 /regex/match-optimized/209 780s ok 512 /regex/match-optimized/210 780s ok 513 /regex/match-optimized/211 780s ok 514 /regex/match-optimized/212 780s ok 515 /regex/match-optimized/213 780s ok 516 /regex/match-optimized/214 780s ok 517 /regex/match-optimized/215 780s ok 518 /regex/match-optimized/216 780s ok 519 /regex/match-optimized/217 780s ok 520 /regex/match-optimized/218 780s ok 521 /regex/match-optimized/219 780s ok 522 /regex/match-optimized/220 780s ok 523 /regex/match-optimized/221 780s ok 524 /regex/match-optimized/222 780s ok 525 /regex/match-optimized/223 780s ok 526 /regex/match-optimized/224 780s ok 527 /regex/match-optimized/225 780s ok 528 /regex/match-optimized/226 780s ok 529 /regex/match-optimized/227 780s ok 530 /regex/match-optimized/228 780s ok 531 /regex/match-optimized/229 780s ok 532 /regex/match-optimized/230 780s ok 533 /regex/match-optimized/231 780s ok 534 /regex/match-optimized/232 780s ok 535 /regex/match-optimized/233 780s ok 536 /regex/match-optimized/234 780s ok 537 /regex/match-optimized/235 780s ok 538 /regex/match-optimized/236 780s ok 539 /regex/match-optimized/237 780s ok 540 /regex/match-optimized/238 780s ok 541 /regex/match-optimized/239 780s ok 542 /regex/match-optimized/240 780s ok 543 /regex/match-optimized/241 780s ok 544 /regex/match-optimized/242 780s ok 545 /regex/match-optimized/243 780s ok 546 /regex/match-optimized/244 780s ok 547 /regex/match-optimized/245 780s ok 548 /regex/match-optimized/246 780s # End of match-optimized tests 780s # Start of fetch-all0 tests 780s ok 549 /regex/fetch-all0/335 780s ok 550 /regex/fetch-all0/336 780s # End of fetch-all0 tests 780s # Start of fetch-all1 tests 780s ok 551 /regex/fetch-all1/337 780s ok 552 /regex/fetch-all1/338 780s ok 553 /regex/fetch-all1/339 780s # End of fetch-all1 tests 780s # Start of fetch-all2 tests 780s ok 554 /regex/fetch-all2/340 780s ok 555 /regex/fetch-all2/341 780s ok 556 /regex/fetch-all2/342 780s # End of fetch-all2 tests 780s # Start of fetch-all3 tests 780s ok 557 /regex/fetch-all3/343 780s ok 558 /regex/fetch-all3/344 780s ok 559 /regex/fetch-all3/345 780s ok 560 /regex/fetch-all3/346 780s ok 561 /regex/fetch-all3/347 780s # End of fetch-all3 tests 780s # Start of split tests 780s # Start of simple0 tests 780s ok 562 /regex/split/simple0/348 780s ok 563 /regex/split/simple0/349 780s ok 564 /regex/split/simple0/364 780s ok 565 /regex/split/simple0/365 780s # End of simple0 tests 780s # Start of simple1 tests 780s ok 566 /regex/split/simple1/350 780s ok 567 /regex/split/simple1/351 780s # End of simple1 tests 780s # Start of simple2 tests 780s ok 568 /regex/split/simple2/352 780s ok 569 /regex/split/simple2/358 780s ok 570 /regex/split/simple2/360 780s # End of simple2 tests 780s # Start of simple3 tests 780s ok 571 /regex/split/simple3/353 780s ok 572 /regex/split/simple3/354 780s ok 573 /regex/split/simple3/355 780s ok 574 /regex/split/simple3/356 780s ok 575 /regex/split/simple3/357 780s ok 576 /regex/split/simple3/359 780s ok 577 /regex/split/simple3/361 780s ok 578 /regex/split/simple3/362 780s ok 579 /regex/split/simple3/363 780s # End of simple3 tests 780s # End of split tests 780s # Start of split0 tests 780s ok 580 /regex/split0/366 780s ok 581 /regex/split0/368 780s # End of split0 tests 780s # Start of full-split0 tests 780s ok 582 /regex/full-split0/367 780s ok 583 /regex/full-split0/369 780s ok 584 /regex/full-split0/370 780s ok 585 /regex/full-split0/371 780s ok 586 /regex/full-split0/372 780s # End of full-split0 tests 780s # Start of split1 tests 780s ok 587 /regex/split1/373 780s ok 588 /regex/split1/376 780s # End of split1 tests 780s # Start of full-split1 tests 780s ok 589 /regex/full-split1/374 780s ok 590 /regex/full-split1/375 780s ok 591 /regex/full-split1/377 780s ok 592 /regex/full-split1/378 780s ok 593 /regex/full-split1/404 780s # End of full-split1 tests 780s # Start of split2 tests 780s ok 594 /regex/split2/379 780s ok 595 /regex/split2/383 780s ok 596 /regex/split2/395 780s # End of split2 tests 780s # Start of full-split2 tests 780s ok 597 /regex/full-split2/380 780s ok 598 /regex/full-split2/381 780s ok 599 /regex/full-split2/382 780s ok 600 /regex/full-split2/384 780s ok 601 /regex/full-split2/396 780s ok 602 /regex/full-split2/399 780s ok 603 /regex/full-split2/405 780s # End of full-split2 tests 780s # Start of split3 tests 780s ok 604 /regex/split3/385 780s ok 605 /regex/split3/387 780s ok 606 /regex/split3/389 780s ok 607 /regex/split3/391 780s ok 608 /regex/split3/393 780s ok 609 /regex/split3/397 780s ok 610 /regex/split3/400 780s ok 611 /regex/split3/402 780s # End of split3 tests 780s # Start of full-split3 tests 780s ok 612 /regex/full-split3/386 780s ok 613 /regex/full-split3/388 780s ok 614 /regex/full-split3/390 780s ok 615 /regex/full-split3/392 780s ok 616 /regex/full-split3/394 780s ok 617 /regex/full-split3/398 780s ok 618 /regex/full-split3/401 780s ok 619 /regex/full-split3/403 780s ok 620 /regex/full-split3/406 780s ok 621 /regex/full-split3/407 780s # End of full-split3 tests 780s # Start of check-repacement tests 780s ok 622 /regex/check-repacement/408 780s ok 623 /regex/check-repacement/409 780s ok 624 /regex/check-repacement/410 780s ok 625 /regex/check-repacement/411 780s ok 626 /regex/check-repacement/412 780s ok 627 /regex/check-repacement/413 780s ok 628 /regex/check-repacement/414 780s ok 629 /regex/check-repacement/415 780s # End of check-repacement tests 780s # Start of expand tests 780s ok 630 /regex/expand/416 780s ok 631 /regex/expand/417 780s ok 632 /regex/expand/418 780s ok 633 /regex/expand/419 780s ok 634 /regex/expand/420 780s ok 635 /regex/expand/421 780s ok 636 /regex/expand/422 780s ok 637 /regex/expand/423 780s ok 638 /regex/expand/424 780s ok 639 /regex/expand/425 780s ok 640 /regex/expand/426 780s ok 641 /regex/expand/427 780s ok 642 /regex/expand/428 780s ok 643 /regex/expand/429 780s ok 644 /regex/expand/430 780s ok 645 /regex/expand/431 780s ok 646 /regex/expand/432 780s ok 647 /regex/expand/433 780s ok 648 /regex/expand/434 780s ok 649 /regex/expand/435 780s ok 650 /regex/expand/436 780s ok 651 /regex/expand/437 780s ok 652 /regex/expand/438 780s ok 653 /regex/expand/439 780s ok 654 /regex/expand/440 780s ok 655 /regex/expand/441 780s ok 656 /regex/expand/442 780s ok 657 /regex/expand/443 780s ok 658 /regex/expand/444 780s ok 659 /regex/expand/445 780s ok 660 /regex/expand/446 780s ok 661 /regex/expand/447 780s ok 662 /regex/expand/448 780s ok 663 /regex/expand/449 780s ok 664 /regex/expand/450 780s ok 665 /regex/expand/451 780s ok 666 /regex/expand/452 780s ok 667 /regex/expand/453 780s ok 668 /regex/expand/454 780s ok 669 /regex/expand/455 780s ok 670 /regex/expand/456 780s ok 671 /regex/expand/457 780s ok 672 /regex/expand/458 780s ok 673 /regex/expand/459 780s ok 674 /regex/expand/460 780s ok 675 /regex/expand/461 780s ok 676 /regex/expand/462 780s ok 677 /regex/expand/463 780s ok 678 /regex/expand/464 780s ok 679 /regex/expand/465 780s ok 680 /regex/expand/466 780s ok 681 /regex/expand/467 780s ok 682 /regex/expand/468 780s ok 683 /regex/expand/469 780s ok 684 /regex/expand/470 780s ok 685 /regex/expand/471 780s ok 686 /regex/expand/472 780s ok 687 /regex/expand/473 780s ok 688 /regex/expand/474 780s ok 689 /regex/expand/475 780s ok 690 /regex/expand/476 780s ok 691 /regex/expand/477 780s ok 692 /regex/expand/478 780s ok 693 /regex/expand/479 780s ok 694 /regex/expand/480 780s ok 695 /regex/expand/481 780s # End of expand tests 780s # Start of replace tests 780s ok 696 /regex/replace/482 780s ok 697 /regex/replace/483 780s ok 698 /regex/replace/484 780s ok 699 /regex/replace/485 780s ok 700 /regex/replace/486 780s ok 701 /regex/replace/487 780s ok 702 /regex/replace/488 780s ok 703 /regex/replace/489 780s ok 704 /regex/replace/490 780s ok 705 /regex/replace/491 780s ok 706 /regex/replace/492 780s ok 707 /regex/replace/493 780s ok 708 /regex/replace/494 780s ok 709 /regex/replace/495 780s ok 710 /regex/replace/496 780s ok 711 /regex/replace/497 780s ok 712 /regex/replace/498 780s ok 713 /regex/replace/499 780s ok 714 /regex/replace/500 780s ok 715 /regex/replace/501 780s ok 716 /regex/replace/502 780s ok 717 /regex/replace/503 780s ok 718 /regex/replace/504 780s ok 719 /regex/replace/505 780s ok 720 /regex/replace/506 780s ok 721 /regex/replace/507 780s ok 722 /regex/replace/508 780s ok 723 /regex/replace/509 780s # End of replace tests 780s # Start of replace-optimized tests 780s ok 724 /regex/replace-optimized/482 780s ok 725 /regex/replace-optimized/483 780s ok 726 /regex/replace-optimized/484 780s ok 727 /regex/replace-optimized/485 780s ok 728 /regex/replace-optimized/486 780s ok 729 /regex/replace-optimized/487 780s ok 730 /regex/replace-optimized/488 780s ok 731 /regex/replace-optimized/489 780s ok 732 /regex/replace-optimized/490 780s ok 733 /regex/replace-optimized/491 780s ok 734 /regex/replace-optimized/492 780s ok 735 /regex/replace-optimized/493 780s ok 736 /regex/replace-optimized/494 780s ok 737 /regex/replace-optimized/495 780s ok 738 /regex/replace-optimized/496 780s ok 739 /regex/replace-optimized/497 780s ok 740 /regex/replace-optimized/498 780s ok 741 /regex/replace-optimized/499 780s ok 742 /regex/replace-optimized/500 780s ok 743 /regex/replace-optimized/501 780s ok 744 /regex/replace-optimized/502 780s ok 745 /regex/replace-optimized/503 780s ok 746 /regex/replace-optimized/504 780s ok 747 /regex/replace-optimized/505 780s ok 748 /regex/replace-optimized/506 780s ok 749 /regex/replace-optimized/507 780s ok 750 /regex/replace-optimized/508 780s ok 751 /regex/replace-optimized/509 780s # End of replace-optimized tests 780s # Start of replace-literally tests 780s ok 752 /regex/replace-literally/510 780s ok 753 /regex/replace-literally/511 780s ok 754 /regex/replace-literally/512 780s ok 755 /regex/replace-literally/513 780s ok 756 /regex/replace-literally/514 780s ok 757 /regex/replace-literally/515 780s ok 758 /regex/replace-literally/516 780s ok 759 /regex/replace-literally/517 780s ok 760 /regex/replace-literally/518 780s ok 761 /regex/replace-literally/519 780s ok 762 /regex/replace-literally/520 780s ok 763 /regex/replace-literally/521 780s ok 764 /regex/replace-literally/522 780s ok 765 /regex/replace-literally/523 780s ok 766 /regex/replace-literally/524 780s ok 767 /regex/replace-literally/525 780s ok 768 /regex/replace-literally/526 780s ok 769 /regex/replace-literally/527 780s ok 770 /regex/replace-literally/528 780s ok 771 /regex/replace-literally/529 780s # End of replace-literally tests 780s # Start of string-number tests 780s ok 772 /regex/string-number/530 780s ok 773 /regex/string-number/531 780s ok 774 /regex/string-number/532 780s ok 775 /regex/string-number/533 780s ok 776 /regex/string-number/534 780s ok 777 /regex/string-number/535 780s ok 778 /regex/string-number/536 780s ok 779 /regex/string-number/537 780s ok 780 /regex/string-number/538 780s ok 781 /regex/string-number/539 780s ok 782 /regex/string-number/540 780s ok 783 /regex/string-number/541 780s ok 784 /regex/string-number/542 780s ok 785 /regex/string-number/543 780s ok 786 /regex/string-number/544 780s # End of string-number tests 780s # Start of escape_nul tests 780s ok 787 /regex/escape_nul/545 780s ok 788 /regex/escape_nul/546 780s ok 789 /regex/escape_nul/547 780s ok 790 /regex/escape_nul/548 780s ok 791 /regex/escape_nul/549 780s ok 792 /regex/escape_nul/550 780s ok 793 /regex/escape_nul/551 780s ok 794 /regex/escape_nul/552 780s ok 795 /regex/escape_nul/553 780s ok 796 /regex/escape_nul/554 780s ok 797 /regex/escape_nul/555 780s ok 798 /regex/escape_nul/556 780s ok 799 /regex/escape_nul/557 780s ok 800 /regex/escape_nul/558 780s ok 801 /regex/escape_nul/559 780s # End of escape_nul tests 780s # Start of escape tests 780s ok 802 /regex/escape/560 780s ok 803 /regex/escape/561 780s ok 804 /regex/escape/562 780s ok 805 /regex/escape/563 780s ok 806 /regex/escape/564 780s ok 807 /regex/escape/565 780s ok 808 /regex/escape/566 780s ok 809 /regex/escape/567 780s ok 810 /regex/escape/568 780s ok 811 /regex/escape/569 780s ok 812 /regex/escape/570 780s ok 813 /regex/escape/571 780s ok 814 /regex/escape/572 780s ok 815 /regex/escape/573 780s ok 816 /regex/escape/574 780s ok 817 /regex/escape/575 780s ok 818 /regex/escape/576 780s ok 819 /regex/escape/577 780s # End of escape tests 780s # Start of match-all0 tests 780s ok 820 /regex/match-all0/578 780s ok 821 /regex/match-all0/580 780s # End of match-all0 tests 780s # Start of match-all-full0 tests 780s ok 822 /regex/match-all-full0/579 780s ok 823 /regex/match-all-full0/581 780s ok 824 /regex/match-all-full0/582 780s ok 825 /regex/match-all-full0/583 780s # End of match-all-full0 tests 780s # Start of match-all1 tests 780s ok 826 /regex/match-all1/584 780s ok 827 /regex/match-all1/586 780s ok 828 /regex/match-all1/591 780s # End of match-all1 tests 780s # Start of match-all-full1 tests 780s ok 829 /regex/match-all-full1/585 780s ok 830 /regex/match-all-full1/587 780s ok 831 /regex/match-all-full1/588 780s ok 832 /regex/match-all-full1/589 780s ok 833 /regex/match-all-full1/590 780s ok 834 /regex/match-all-full1/592 780s # End of match-all-full1 tests 780s # Start of match-all2 tests 780s ok 835 /regex/match-all2/593 780s ok 836 /regex/match-all2/595 780s ok 837 /regex/match-all2/597 780s # End of match-all2 tests 780s # Start of match-all-full2 tests 780s ok 838 /regex/match-all-full2/594 780s ok 839 /regex/match-all-full2/596 780s ok 840 /regex/match-all-full2/598 780s # End of match-all-full2 tests 780s # Start of match-all3 tests 780s ok 841 /regex/match-all3/599 780s ok 842 /regex/match-all3/601 780s # End of match-all3 tests 780s # Start of match-all-full3 tests 780s ok 843 /regex/match-all-full3/600 780s ok 844 /regex/match-all-full3/602 780s # End of match-all-full3 tests 780s # Start of match-notempty tests 780s ok 845 /regex/match-notempty/603 780s # End of match-notempty tests 780s # Start of match-notempty-optimized tests 780s ok 846 /regex/match-notempty-optimized/603 780s # End of match-notempty-optimized tests 780s # Start of match-notempty-atstart tests 780s ok 847 /regex/match-notempty-atstart/604 780s # End of match-notempty-atstart tests 780s # Start of match-notempty-atstart-optimized tests 780s ok 848 /regex/match-notempty-atstart-optimized/604 780s # End of match-notempty-atstart-optimized tests 780s # End of regex tests 780s ok - glib/regex.test 780s # Running test: glib/override.test 780s TAP version 14 780s # random seed: R02S7d053f7da211d35993186d1ff5d97fd9 780s 1..1 780s # Start of gobject tests 780s # *** emitting foo on a TestA instance 780s # Expecting: TestA::foo,TestI::foo 780s # Got: TestA::foo,TestI::foo 780s # *** emitting bar on a TestA instance 780s # Expecting: TestA::bar 780s # Got: TestA::bar 780s # *** emitting baz on a TestA instance 780s # Expecting: TestA::baz 780s # Got: TestA::baz 780s # *** emitting foo on a TestB instance 780s # Expecting: TestB::foo,TestA::foo,TestI::foo 780s # Got: TestB::foo,TestA::foo,TestI::foo 780s # *** emitting bar on a TestB instance 780s # Expecting: TestB::bar,TestA::bar 780s # Got: TestB::bar,TestA::bar 780s # *** emitting baz on a TestB instance 780s # Expecting: TestB::baz,TestA::baz 780s # Got: TestB::baz,TestA::baz 780s # *** emitting foo on a TestC instance 780s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 780s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 780s # *** emitting bar on a TestC instance 780s # Expecting: TestC::bar,TestB::bar,TestA::bar 780s # Got: TestC::bar,TestB::bar,TestA::bar 780s # *** emitting baz on a TestC instance 780s # Expecting: TestC::baz,TestB::baz,TestA::baz 780s # Got: TestC::baz,TestB::baz,TestA::baz 780s ok 1 /gobject/override 780s # End of gobject tests 780s ok - glib/override.test 780s # Running test: glib/bookmarkfile.test 780s TAP version 14 780s # random seed: R02S7014b2738b07de3d8d97015d38532ba0 780s 1..96 780s # Start of bookmarks tests 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/load-from-data-dirs/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/load-from-data-dirs/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/load-from-data-dirs/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/load-from-data-dirs/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/load-from-data-dirs/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/load-from-data-dirs/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/load-from-data-dirs/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/load-from-data-dirs/.dirs/runtime 780s ok 1 /bookmarks/load-from-data-dirs 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/to-file/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/to-file/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/to-file/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/to-file/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/to-file/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/to-file/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/to-file/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/to-file/.dirs/runtime 780s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_5WG952/bookmarkfile-test-K2E952.xbel 780s # Roundtrip from a valid bookmark file 780s ok 2 /bookmarks/to-file 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/move-item/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/move-item/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/move-item/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/move-item/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/move-item/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/move-item/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/move-item/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/move-item/.dirs/runtime 780s ok 3 /bookmarks/move-item 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/corner-cases/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/corner-cases/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/corner-cases/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/corner-cases/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/corner-cases/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/corner-cases/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/corner-cases/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/corner-cases/.dirs/runtime 780s ok 4 /bookmarks/corner-cases 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/misc/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/misc/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/misc/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/misc/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/misc/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/misc/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/misc/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/misc/.dirs/runtime 780s ok 5 /bookmarks/misc 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/deprecated/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/deprecated/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/deprecated/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/deprecated/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/deprecated/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/deprecated/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/deprecated/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/deprecated/.dirs/runtime 780s ok 6 /bookmarks/deprecated 780s # Start of parse tests 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-10.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-10.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-10.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-10.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-10.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-10.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-10.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-10.xbel/.dirs/runtime 780s ok 7 /bookmarks/parse/fail-10.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-29.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-29.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-29.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-29.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-29.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-29.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-29.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-29.xbel/.dirs/runtime 780s ok 8 /bookmarks/parse/fail-29.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-03.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-03.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-03.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-03.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-03.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-03.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-03.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-03.xbel/.dirs/runtime 780s ok 9 /bookmarks/parse/valid-03.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-02.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-02.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-02.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-02.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-02.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-02.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-02.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-02.xbel/.dirs/runtime 780s ok 10 /bookmarks/parse/valid-02.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-11.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-11.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-11.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-11.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-11.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-11.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-11.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-11.xbel/.dirs/runtime 780s ok 11 /bookmarks/parse/fail-11.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-33.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-33.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-33.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-33.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-33.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-33.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-33.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-33.xbel/.dirs/runtime 780s ok 12 /bookmarks/parse/fail-33.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-06.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-06.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-06.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-06.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-06.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-06.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-06.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-06.xbel/.dirs/runtime 780s ok 13 /bookmarks/parse/fail-06.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-20.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-20.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-20.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-20.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-20.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-20.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-20.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-20.xbel/.dirs/runtime 780s ok 14 /bookmarks/parse/fail-20.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-39.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-39.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-39.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-39.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-39.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-39.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-39.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-39.xbel/.dirs/runtime 780s ok 15 /bookmarks/parse/fail-39.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-36.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-36.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-36.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-36.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-36.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-36.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-36.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-36.xbel/.dirs/runtime 780s ok 16 /bookmarks/parse/fail-36.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-15.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-15.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-15.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-15.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-15.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-15.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-15.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-15.xbel/.dirs/runtime 780s ok 17 /bookmarks/parse/fail-15.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-24.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-24.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-24.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-24.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-24.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-24.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-24.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-24.xbel/.dirs/runtime 780s ok 18 /bookmarks/parse/fail-24.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-01.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-01.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-01.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-01.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-01.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-01.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-01.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-01.xbel/.dirs/runtime 780s ok 19 /bookmarks/parse/fail-01.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-35.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-35.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-35.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-35.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-35.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-35.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-35.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-35.xbel/.dirs/runtime 780s ok 20 /bookmarks/parse/fail-35.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-27.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-27.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-27.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-27.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-27.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-27.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-27.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-27.xbel/.dirs/runtime 780s ok 21 /bookmarks/parse/fail-27.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-19.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-19.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-19.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-19.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-19.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-19.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-19.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-19.xbel/.dirs/runtime 780s ok 22 /bookmarks/parse/fail-19.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-42.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-42.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-42.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-42.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-42.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-42.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-42.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-42.xbel/.dirs/runtime 780s ok 23 /bookmarks/parse/fail-42.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-12.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-12.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-12.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-12.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-12.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-12.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-12.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-12.xbel/.dirs/runtime 780s ok 24 /bookmarks/parse/fail-12.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-14.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-14.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-14.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-14.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-14.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-14.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-14.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-14.xbel/.dirs/runtime 780s ok 25 /bookmarks/parse/fail-14.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-05.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-05.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-05.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-05.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-05.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-05.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-05.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-05.xbel/.dirs/runtime 780s ok 26 /bookmarks/parse/fail-05.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-41.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-41.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-41.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-41.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-41.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-41.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-41.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-41.xbel/.dirs/runtime 780s ok 27 /bookmarks/parse/fail-41.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-04.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-04.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-04.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-04.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-04.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-04.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-04.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-04.xbel/.dirs/runtime 780s ok 28 /bookmarks/parse/fail-04.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-16.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-16.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-16.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-16.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-16.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-16.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-16.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-16.xbel/.dirs/runtime 780s ok 29 /bookmarks/parse/fail-16.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-32.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-32.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-32.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-32.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-32.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-32.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-32.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-32.xbel/.dirs/runtime 780s ok 30 /bookmarks/parse/fail-32.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-22.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-22.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-22.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-22.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-22.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-22.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-22.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-22.xbel/.dirs/runtime 780s ok 31 /bookmarks/parse/fail-22.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-17.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-17.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-17.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-17.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-17.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-17.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-17.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-17.xbel/.dirs/runtime 780s ok 32 /bookmarks/parse/fail-17.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-26.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-26.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-26.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-26.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-26.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-26.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-26.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-26.xbel/.dirs/runtime 780s ok 33 /bookmarks/parse/fail-26.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-21.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-21.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-21.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-21.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-21.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-21.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-21.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-21.xbel/.dirs/runtime 780s ok 34 /bookmarks/parse/fail-21.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-03.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-03.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-03.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-03.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-03.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-03.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-03.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-03.xbel/.dirs/runtime 780s ok 35 /bookmarks/parse/fail-03.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-07.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-07.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-07.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-07.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-07.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-07.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-07.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-07.xbel/.dirs/runtime 780s ok 36 /bookmarks/parse/fail-07.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-25.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-25.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-25.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-25.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-25.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-25.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-25.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-25.xbel/.dirs/runtime 780s ok 37 /bookmarks/parse/fail-25.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-08.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-08.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-08.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-08.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-08.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-08.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-08.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-08.xbel/.dirs/runtime 780s ok 38 /bookmarks/parse/fail-08.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-31.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-31.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-31.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-31.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-31.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-31.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-31.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-31.xbel/.dirs/runtime 780s ok 39 /bookmarks/parse/fail-31.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-37.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-37.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-37.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-37.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-37.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-37.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-37.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-37.xbel/.dirs/runtime 780s ok 40 /bookmarks/parse/fail-37.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-13.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-13.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-13.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-13.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-13.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-13.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-13.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-13.xbel/.dirs/runtime 780s ok 41 /bookmarks/parse/fail-13.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-30.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-30.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-30.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-30.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-30.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-30.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-30.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-30.xbel/.dirs/runtime 780s ok 42 /bookmarks/parse/fail-30.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-02.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-02.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-02.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-02.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-02.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-02.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-02.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-02.xbel/.dirs/runtime 780s ok 43 /bookmarks/parse/fail-02.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-09.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-09.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-09.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-09.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-09.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-09.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-09.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-09.xbel/.dirs/runtime 780s ok 44 /bookmarks/parse/fail-09.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-23.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-23.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-23.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-23.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-23.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-23.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-23.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-23.xbel/.dirs/runtime 780s ok 45 /bookmarks/parse/fail-23.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-40.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-40.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-40.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-40.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-40.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-40.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-40.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-40.xbel/.dirs/runtime 780s ok 46 /bookmarks/parse/fail-40.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-01.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-01.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-01.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-01.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-01.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-01.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-01.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/valid-01.xbel/.dirs/runtime 780s ok 47 /bookmarks/parse/valid-01.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-18.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-18.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-18.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-18.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-18.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-18.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-18.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-18.xbel/.dirs/runtime 780s ok 48 /bookmarks/parse/fail-18.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-38.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-38.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-38.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-38.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-38.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-38.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-38.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-38.xbel/.dirs/runtime 780s ok 49 /bookmarks/parse/fail-38.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-28.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-28.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-28.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-28.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-28.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-28.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-28.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-28.xbel/.dirs/runtime 780s ok 50 /bookmarks/parse/fail-28.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-34.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-34.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-34.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-34.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-34.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-34.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-34.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/parse/fail-34.xbel/.dirs/runtime 780s ok 51 /bookmarks/parse/fail-34.xbel 780s # End of parse tests 780s # Start of copy tests 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-10.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-10.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-10.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-10.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-10.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-10.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-10.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-10.xbel/.dirs/runtime 780s ok 52 /bookmarks/copy/fail-10.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-29.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-29.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-29.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-29.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-29.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-29.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-29.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-29.xbel/.dirs/runtime 780s ok 53 /bookmarks/copy/fail-29.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-03.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-03.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-03.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-03.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-03.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-03.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-03.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-03.xbel/.dirs/runtime 780s ok 54 /bookmarks/copy/valid-03.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-02.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-02.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-02.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-02.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-02.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-02.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-02.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-02.xbel/.dirs/runtime 780s ok 55 /bookmarks/copy/valid-02.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-11.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-11.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-11.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-11.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-11.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-11.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-11.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-11.xbel/.dirs/runtime 780s ok 56 /bookmarks/copy/fail-11.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-33.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-33.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-33.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-33.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-33.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-33.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-33.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-33.xbel/.dirs/runtime 780s ok 57 /bookmarks/copy/fail-33.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-06.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-06.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-06.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-06.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-06.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-06.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-06.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-06.xbel/.dirs/runtime 780s ok 58 /bookmarks/copy/fail-06.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-20.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-20.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-20.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-20.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-20.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-20.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-20.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-20.xbel/.dirs/runtime 780s ok 59 /bookmarks/copy/fail-20.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-39.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-39.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-39.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-39.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-39.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-39.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-39.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-39.xbel/.dirs/runtime 780s ok 60 /bookmarks/copy/fail-39.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-36.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-36.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-36.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-36.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-36.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-36.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-36.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-36.xbel/.dirs/runtime 780s ok 61 /bookmarks/copy/fail-36.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-15.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-15.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-15.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-15.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-15.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-15.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-15.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-15.xbel/.dirs/runtime 780s ok 62 /bookmarks/copy/fail-15.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-24.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-24.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-24.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-24.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-24.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-24.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-24.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-24.xbel/.dirs/runtime 780s ok 63 /bookmarks/copy/fail-24.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-01.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-01.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-01.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-01.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-01.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-01.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-01.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-01.xbel/.dirs/runtime 780s ok 64 /bookmarks/copy/fail-01.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-35.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-35.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-35.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-35.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-35.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-35.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-35.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-35.xbel/.dirs/runtime 780s ok 65 /bookmarks/copy/fail-35.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-27.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-27.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-27.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-27.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-27.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-27.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-27.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-27.xbel/.dirs/runtime 780s ok 66 /bookmarks/copy/fail-27.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-19.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-19.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-19.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-19.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-19.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-19.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-19.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-19.xbel/.dirs/runtime 780s ok 67 /bookmarks/copy/fail-19.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-42.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-42.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-42.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-42.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-42.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-42.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-42.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-42.xbel/.dirs/runtime 780s ok 68 /bookmarks/copy/fail-42.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-12.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-12.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-12.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-12.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-12.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-12.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-12.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-12.xbel/.dirs/runtime 780s ok 69 /bookmarks/copy/fail-12.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-14.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-14.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-14.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-14.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-14.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-14.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-14.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-14.xbel/.dirs/runtime 780s ok 70 /bookmarks/copy/fail-14.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-05.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-05.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-05.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-05.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-05.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-05.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-05.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-05.xbel/.dirs/runtime 780s ok 71 /bookmarks/copy/fail-05.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-41.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-41.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-41.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-41.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-41.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-41.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-41.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-41.xbel/.dirs/runtime 780s ok 72 /bookmarks/copy/fail-41.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-04.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-04.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-04.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-04.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-04.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-04.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-04.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-04.xbel/.dirs/runtime 780s ok 73 /bookmarks/copy/fail-04.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-16.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-16.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-16.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-16.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-16.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-16.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-16.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-16.xbel/.dirs/runtime 780s ok 74 /bookmarks/copy/fail-16.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-32.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-32.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-32.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-32.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-32.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-32.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-32.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-32.xbel/.dirs/runtime 780s ok 75 /bookmarks/copy/fail-32.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-22.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-22.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-22.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-22.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-22.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-22.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-22.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-22.xbel/.dirs/runtime 780s ok 76 /bookmarks/copy/fail-22.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-17.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-17.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-17.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-17.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-17.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-17.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-17.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-17.xbel/.dirs/runtime 780s ok 77 /bookmarks/copy/fail-17.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-26.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-26.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-26.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-26.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-26.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-26.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-26.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-26.xbel/.dirs/runtime 780s ok 78 /bookmarks/copy/fail-26.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-21.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-21.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-21.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-21.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-21.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-21.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-21.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-21.xbel/.dirs/runtime 780s ok 79 /bookmarks/copy/fail-21.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-03.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-03.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-03.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-03.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-03.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-03.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-03.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-03.xbel/.dirs/runtime 780s ok 80 /bookmarks/copy/fail-03.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-07.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-07.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-07.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-07.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-07.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-07.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-07.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-07.xbel/.dirs/runtime 780s ok 81 /bookmarks/copy/fail-07.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-25.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-25.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-25.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-25.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-25.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-25.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-25.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-25.xbel/.dirs/runtime 780s ok 82 /bookmarks/copy/fail-25.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-08.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-08.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-08.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-08.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-08.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-08.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-08.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-08.xbel/.dirs/runtime 780s ok 83 /bookmarks/copy/fail-08.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-31.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-31.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-31.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-31.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-31.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-31.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-31.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-31.xbel/.dirs/runtime 780s ok 84 /bookmarks/copy/fail-31.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-37.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-37.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-37.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-37.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-37.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-37.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-37.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-37.xbel/.dirs/runtime 780s ok 85 /bookmarks/copy/fail-37.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-13.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-13.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-13.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-13.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-13.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-13.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-13.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-13.xbel/.dirs/runtime 780s ok 86 /bookmarks/copy/fail-13.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-30.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-30.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-30.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-30.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-30.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-30.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-30.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-30.xbel/.dirs/runtime 780s ok 87 /bookmarks/copy/fail-30.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-02.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-02.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-02.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-02.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-02.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-02.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-02.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-02.xbel/.dirs/runtime 780s ok 88 /bookmarks/copy/fail-02.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-09.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-09.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-09.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-09.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-09.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-09.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-09.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-09.xbel/.dirs/runtime 780s ok 89 /bookmarks/copy/fail-09.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-23.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-23.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-23.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-23.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-23.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-23.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-23.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-23.xbel/.dirs/runtime 780s ok 90 /bookmarks/copy/fail-23.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-40.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-40.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-40.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-40.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-40.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-40.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-40.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-40.xbel/.dirs/runtime 780s ok 91 /bookmarks/copy/fail-40.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-01.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-01.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-01.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-01.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-01.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-01.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-01.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/valid-01.xbel/.dirs/runtime 780s ok 92 /bookmarks/copy/valid-01.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-18.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-18.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-18.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-18.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-18.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-18.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-18.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-18.xbel/.dirs/runtime 780s ok 93 /bookmarks/copy/fail-18.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-38.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-38.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-38.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-38.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-38.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-38.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-38.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-38.xbel/.dirs/runtime 780s ok 94 /bookmarks/copy/fail-38.xbel 780s ok - glib/bookmarkfile.test 780s # Running test: glib/shell.test 780s ok - glib/shell.test 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-28.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-28.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-28.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-28.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-28.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-28.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-28.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-28.xbel/.dirs/runtime 780s ok 95 /bookmarks/copy/fail-28.xbel 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-34.xbel/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-34.xbel/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-34.xbel/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-34.xbel/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-34.xbel/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-34.xbel/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-34.xbel/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_5WG952/bookmarks/copy/fail-34.xbel/.dirs/runtime 780s ok 96 /bookmarks/copy/fail-34.xbel 780s # End of copy tests 780s # End of bookmarks tests 780s TAP version 14 780s # random seed: R02Sbc4150d95ec65ba5bc3d6e75e3ea8652 780s 1..51 780s # Start of shell tests 780s # Start of cmdline tests 780s test cmdline: foo bar 780s ok 1 /shell/cmdline/0 780s test cmdline: foo 'bar' 780s ok 2 /shell/cmdline/1 780s test cmdline: foo "bar" 780s ok 3 /shell/cmdline/2 780s test cmdline: foo '' 'bar' 780s ok 4 /shell/cmdline/3 780s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 780s ok 5 /shell/cmdline/4 780s test cmdline: foo blah foo bar baz 780s ok 6 /shell/cmdline/5 780s test cmdline: foo ' spaces more spaces lots of spaces in this ' 780s ok 7 /shell/cmdline/6 780s test cmdline: foo \ 780s bar 780s ok 8 /shell/cmdline/7 780s test cmdline: foo '' '' 780s ok 9 /shell/cmdline/8 780s test cmdline: foo \" la la la 780s ok 10 /shell/cmdline/9 780s test cmdline: foo \ foo woo woo\ 780s ok 11 /shell/cmdline/10 780s test cmdline: foo "yada yada \$\"" 780s ok 12 /shell/cmdline/11 780s test cmdline: foo "c:\\" 780s ok 13 /shell/cmdline/12 780s test cmdline: foo # bla bla bla 780s bar 780s ok 14 /shell/cmdline/13 780s test cmdline: foo a#b 780s ok 15 /shell/cmdline/14 780s test cmdline: #foo 780s ok 16 /shell/cmdline/15 780s test cmdline: foo bar \ 780s ok 17 /shell/cmdline/16 780s test cmdline: foo 'bar baz 780s ok 18 /shell/cmdline/17 780s test cmdline: foo '"bar" baz 780s ok 19 /shell/cmdline/18 780s test cmdline: 780s ok 20 /shell/cmdline/19 780s test cmdline: 780s ok 21 /shell/cmdline/20 780s test cmdline: # foo bar 780s ok 22 /shell/cmdline/21 780s test cmdline: foo '/bar/summer'\''09 tours.pdf' 780s ok 23 /shell/cmdline/22 780s # End of cmdline tests 780s # Start of quote tests 780s ok 24 /shell/quote/0 780s ok 25 /shell/quote/1 780s ok 26 /shell/quote/2 780s ok 27 /shell/quote/3 780s ok 28 /shell/quote/4 780s ok 29 /shell/quote/5 780s ok 30 /shell/quote/6 780s # End of quote tests 780s # Start of unquote tests 780s ok 31 /shell/unquote/0 780s ok 32 /shell/unquote/1 780s ok 33 /shell/unquote/2 780s ok 34 /shell/unquote/3 780s ok 35 /shell/unquote/4 780s ok 36 /shell/unquote/5 780s ok 37 /shell/unquote/6 780s ok 38 /shell/unquote/7 780s ok 39 /shell/unquote/8 780s ok 40 /shell/unquote/9 780s ok 41 /shell/unquote/10 780s ok 42 /shell/unquote/11 780s ok 43 /shell/unquote/12 780s ok 44 /shell/unquote/13 780s ok 45 /shell/unquote/14 780s ok 46 /shell/unquote/15 780s ok 47 /shell/unquote/16 780s ok 48 /shell/unquote/17 780s ok 49 /shell/unquote/18 780s ok 50 /shell/unquote/19 780s ok 51 /shell/unquote/20 780s # End of unquote tests 780s # End of shell tests 780s # Running test: glib/hook.test 780s TAP version 14 780s # random seed: R02S8b7783bb856e1aa7659592b6ea2e1950 780s 1..2 780s # Start of hook tests 780s ok 1 /hook/basics 780s ok 2 /hook/corner-cases 780s # End of hook tests 780s ok - glib/hook.test 780s # Running test: glib/data-output-stream.test 780s TAP version 14 780s # random seed: R02S2c42be2590fda0522ab4089902baec34 780s 1..7 780s # Start of data-output-stream tests 780s ok 1 /data-output-stream/basic 780s ok 2 /data-output-stream/write-lines-LF 780s ok 3 /data-output-stream/write-lines-CR 780s ok 4 /data-output-stream/write-lines-CR-LF 780s ok 5 /data-output-stream/write-int 780s ok 6 /data-output-stream/seek 780s ok 7 /data-output-stream/truncate 780s # End of data-output-stream tests 780s ok - glib/data-output-stream.test 780s # Running test: glib/socket-listener.test 780s TAP version 14 780s # random seed: R02S2a8bf742ee49adc96a58989b685f6240 780s 1..1 780s # Start of socket-listener tests 780s ok 1 /socket-listener/event-signal 780s # End of socket-listener tests 780s ok - glib/socket-listener.test 780s # Running test: glib/markup-escape.test 780s TAP version 14 780s # random seed: R02S86e39e7250c1b5dba9537387604b2f78 780s 1..41 780s # Start of markup tests 780s ok 1 /markup/format 780s # Start of escape-text tests 780s ok 2 /markup/escape-text/0 780s ok 3 /markup/escape-text/1 780s ok 4 /markup/escape-text/2 780s ok 5 /markup/escape-text/3 780s ok 6 /markup/escape-text/4 780s ok 7 /markup/escape-text/5 780s ok 8 /markup/escape-text/6 780s ok 9 /markup/escape-text/7 780s ok 10 /markup/escape-text/8 780s ok 11 /markup/escape-text/9 780s ok 12 /markup/escape-text/10 780s ok 13 /markup/escape-text/11 780s ok 14 /markup/escape-text/12 780s ok 15 /markup/escape-text/13 780s ok 16 /markup/escape-text/14 780s ok 17 /markup/escape-text/15 780s ok 18 /markup/escape-text/16 780s ok 19 /markup/escape-text/17 780s ok 20 /markup/escape-text/18 780s ok 21 /markup/escape-text/19 780s ok 22 /markup/escape-text/20 780s ok 23 /markup/escape-text/21 780s ok 24 /markup/escape-text/22 780s # End of escape-text tests 780s # Start of escape-unichar tests 780s ok 25 /markup/escape-unichar/0 780s ok 26 /markup/escape-unichar/1 780s ok 27 /markup/escape-unichar/2 780s ok 28 /markup/escape-unichar/3 780s ok 29 /markup/escape-unichar/4 780s ok 30 /markup/escape-unichar/5 780s ok 31 /markup/escape-unichar/6 780s ok 32 /markup/escape-unichar/7 780s ok 33 /markup/escape-unichar/8 780s ok 34 /markup/escape-unichar/9 780s ok 35 /markup/escape-unichar/10 780s ok 36 /markup/escape-unichar/11 780s ok 37 /markup/escape-unichar/12 780s ok 38 /markup/escape-unichar/13 780s ok 39 /markup/escape-unichar/14 780s ok 40 /markup/escape-unichar/15 780s ok 41 /markup/escape-unichar/16 780s # End of escape-unichar tests 780s # End of markup tests 780s ok - glib/markup-escape.test 780s # Running test: glib/thread-pool.test 780s TAP version 14 780s # random seed: R02S1f6572c76cd5e7eaa0216e3c1fc25a63 780s 1..5 780s # Start of thread_pool tests 780s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 780s ok 1 /thread_pool/shared 780s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 780s ok 2 /thread_pool/exclusive 780s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 780s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 780s ok 3 /thread_pool/create_shared_after_exclusive 780s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 780s ok 4 /thread_pool/create_full 780s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 780s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 780s ok 5 /thread_pool/create_exclusive_after_shared 780s # End of thread_pool tests 780s ok - glib/thread-pool.test 780s # Running test: glib/gdbus-sasl.test 780s TAP version 14 780s # random seed: R02Sdb27f0f217c29b13babea06e231c42fb 780s 1..1 780s # Start of gdbus tests 780s # Start of sasl tests 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_014T52/gdbus/sasl/server/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_014T52/gdbus/sasl/server/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_014T52/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_014T52/gdbus/sasl/server/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_014T52/gdbus/sasl/server/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_014T52/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_014T52/gdbus/sasl/server/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_014T52/gdbus/sasl/server/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_014T52/gdbus/sasl/server/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_014T52/gdbus/sasl/server/.dirs/runtime 780s # New handshake: EXTERNAL with incorrect initial response 780s # C:“AUTH EXTERNAL 30†780s # Expect: /^REJECTED.*$/ 780s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†780s # New handshake: EXTERNAL without initial response, failing to authenticate 780s # C:“AUTH EXTERNAL†780s # Expect: /^DATA$/ 780s # S:“DATA†780s # C:“DATA 30†780s # Expect: /^REJECTED.*$/ 780s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†780s # New handshake: EXTERNAL with initial response 780s # C:“AUTH EXTERNAL 31303030†780s # Expect: /^OK [0-9a-f]+$/ 780s # S:“OK b2964223dc2cf482af251af9681a59a1†780s # New handshake: EXTERNAL without initial response 780s # C:“AUTH EXTERNAL†780s # Expect: /^DATA$/ 780s # S:“DATA†780s # C:“DATA 31303030†780s # Expect: /^OK [0-9a-f]+$/ 780s # S:“OK b2964223dc2cf482af251af9681a59a1†780s # New handshake: EXTERNAL with empty authorization identity 780s # C:“AUTH EXTERNAL†780s # Expect: /^DATA$/ 780s # S:“DATA†780s # C:“DATA†780s # Expect: /^OK [0-9a-f]+$/ 780s # S:“OK b2964223dc2cf482af251af9681a59a1†780s # New handshake: EXTERNAL with empty authorization identity and whitespace 780s # C:“AUTH EXTERNAL†780s # Expect: /^DATA$/ 780s # S:“DATA†780s # C:“DATA †780s # Expect: /^OK [0-9a-f]+$/ 780s # S:“OK b2964223dc2cf482af251af9681a59a1†780s ok 1 /gdbus/sasl/server 780s # End of sasl tests 780s # End of gdbus tests 780s ok - glib/gdbus-sasl.test 780s # Running test: glib/gdbus-proxy-unique-name.test 780s TAP version 14 780s # random seed: R02S80621c3e9f576288dad94cb4e63f533a 780s 1..1 780s # Start of gdbus tests 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_F87T52/gdbus/proxy-unique-name/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_F87T52/gdbus/proxy-unique-name/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_F87T52/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_F87T52/gdbus/proxy-unique-name/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_F87T52/gdbus/proxy-unique-name/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_F87T52/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_F87T52/gdbus/proxy-unique-name/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_F87T52/gdbus/proxy-unique-name/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_F87T52/gdbus/proxy-unique-name/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_F87T52/gdbus/proxy-unique-name/.dirs/runtime 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s ok 1 /gdbus/proxy-unique-name 780s # End of gdbus tests 780s ok - glib/gdbus-proxy-unique-name.test 780s # Running test: glib/cxx-2b.test 780s TAP version 14 780s # random seed: R02Sc7dd82aee5fabcb74584ff2aa48e7dcf 780s 1..2 780s # Start of gtask tests 780s # 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. 780s ok 1 /gtask/name 780s # Start of name tests 780s # 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. 780s ok 2 /gtask/name/macro-wrapper 780s # End of name tests 780s # End of gtask tests 780s ok - glib/cxx-2b.test 780s # Running test: glib/simple-proxy.test 780s TAP version 14 780s # random seed: R02S4b757ab1a953e50d6699f1d420cc91fe 780s 1..3 780s # Start of static-proxy tests 780s ok 1 /static-proxy/uri 780s ok 2 /static-proxy/socks 780s ok 3 /static-proxy/ignore 780s # End of static-proxy tests 780s ok - glib/simple-proxy.test 780s # Running test: glib/cache.test 780s TAP version 14 780s # random seed: R02Sffd2170ab7fb2a0dd3927d967f4db1e0 780s 1..1 780s # Start of cache tests 780s ok 1 /cache/basic 780s # End of cache tests 780s ok - glib/cache.test 780s # Running test: glib/portal-support-none.test 780s TAP version 14 780s # random seed: R02S59a330d3643865fe6187ebbe011b89bd 780s 1..1 780s # Start of portal-support tests 780s ok 1 /portal-support/none 780s # End of portal-support tests 780s ok - glib/portal-support-none.test 780s # Running test: glib/buffered-input-stream.test 780s TAP version 14 780s # random seed: R02S6b2988bbba5ac34a34d9160ad2009fb7 780s 1..10 780s # Start of buffered-input-stream tests 780s ok 1 /buffered-input-stream/peek 780s ok 2 /buffered-input-stream/peek-buffer 780s ok 3 /buffered-input-stream/set-buffer-size 780s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 780s ok 4 /buffered-input-stream/read-byte 780s ok 5 /buffered-input-stream/read 780s ok 6 /buffered-input-stream/read-async 780s ok 7 /buffered-input-stream/skip 780s ok 8 /buffered-input-stream/skip-async 780s ok 9 /buffered-input-stream/seek 780s # End of buffered-input-stream tests 780s # Start of filter-input-stream tests 780s ok 10 /filter-input-stream/close 780s # End of filter-input-stream tests 780s ok - glib/buffered-input-stream.test 780s # Running test: glib/file-thumbnail.test 780s TAP version 14 780s # random seed: R02Sf70a04c0bce737b5307166cf6d6dde9a 780s 1..7 780s # Start of file-thumbnail tests 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/fail/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/fail/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_CNSV52/file-thumbnail/fail/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/fail/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_CNSV52/file-thumbnail/fail/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/fail/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/fail/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/fail/.dirs/runtime 780s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 780s # Created test thumbnail at /tmp/test_file-thumbnail_CNSV52/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 780s ok 1 /file-thumbnail/fail 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/size-priority/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/size-priority/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_CNSV52/file-thumbnail/size-priority/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/size-priority/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_CNSV52/file-thumbnail/size-priority/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/size-priority/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/size-priority/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/size-priority/.dirs/runtime 780s # Created test thumbnail at /tmp/test_file-thumbnail_CNSV52/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 780s # Created test thumbnail at /tmp/test_file-thumbnail_CNSV52/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 780s # Created test thumbnail at /tmp/test_file-thumbnail_CNSV52/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 780s # Created test thumbnail at /tmp/test_file-thumbnail_CNSV52/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 780s # Created test thumbnail at /tmp/test_file-thumbnail_CNSV52/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 780s ok 2 /file-thumbnail/size-priority 780s # Start of valid tests 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/normal/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/normal/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/normal/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/normal/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/normal/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/normal/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/normal/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/normal/.dirs/runtime 780s # Created test thumbnail at /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 780s ok 3 /file-thumbnail/valid/normal 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/large/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/large/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/large/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/large/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/large/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/large/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/large/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/large/.dirs/runtime 780s # Created test thumbnail at /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 780s ok 4 /file-thumbnail/valid/large 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/x-large/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/x-large/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/x-large/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/x-large/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/x-large/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/x-large/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/x-large/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/x-large/.dirs/runtime 780s # Created test thumbnail at /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 780s ok 5 /file-thumbnail/valid/x-large 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/xx-large/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/xx-large/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/xx-large/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/xx-large/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/xx-large/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/xx-large/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/xx-large/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/xx-large/.dirs/runtime 780s # Created test thumbnail at /tmp/test_file-thumbnail_CNSV52/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 780s ok 6 /file-thumbnail/valid/xx-large 780s # End of valid tests 780s # Start of unknown tests 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/unknown/super-large/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/unknown/super-large/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_CNSV52/file-thumbnail/unknown/super-large/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/unknown/super-large/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_CNSV52/file-thumbnail/unknown/super-large/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/unknown/super-large/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/unknown/super-large/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_CNSV52/file-thumbnail/unknown/super-large/.dirs/runtime 780s # Created test thumbnail at /tmp/test_file-thumbnail_CNSV52/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 780s ok 7 /file-thumbnail/unknown/super-large 780s # End of unknown tests 780s # End of file-thumbnail tests 780s ok - glib/file-thumbnail.test 780s # Running test: glib/type-flags.test 780s TAP version 14 780s # random seed: R02Sa2317bd4883992ded32976f677c4f3b8 780s 1..4 780s # Start of type tests 780s # Start of flags tests 780s ok 1 /type/flags/interface 780s ok 2 /type/flags/final 780s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 780s ok 3 /type/flags/deprecated 780s # Start of final tests 780s ok 4 /type/flags/final/instance-check 780s # End of final tests 780s # End of flags tests 780s # End of type tests 780s ok - glib/type-flags.test 780s # Running test: glib/gmenumodel.test 780s TAP version 14 780s # random seed: R02S8c4b2e25656293ee3d1b8a2a84867c4f 780s 1..15 780s # Start of gmenu tests 781s ok 1 /gmenu/equality 781s ok 2 /gmenu/random 781s ok 3 /gmenu/attributes 781s ok 4 /gmenu/links 781s ok 5 /gmenu/mutable 781s ok 6 /gmenu/convenience 781s ok 7 /gmenu/menuitem 781s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 781s ok 8 /gmenu/input-validation 781s # Start of dbus tests 782s ok 9 /gmenu/dbus/roundtrip 782s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 783s ok 10 /gmenu/dbus/subscriptions 783s ok 11 /gmenu/dbus/threaded 783s # slow test /gmenu/dbus/threaded executed in 0.76 secs 783s # Start of peer tests 784s # Executing: glib/gmenumodel.test 784s ok 12 /gmenu/dbus/peer/roundtrip 784s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 785s ok 13 /gmenu/dbus/peer/subscriptions 785s # End of peer tests 785s # Start of export tests 785s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 785s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 785s ok 14 /gmenu/dbus/export/error-handling 785s # End of export tests 785s # End of dbus tests 785s # Start of attributes tests 785s ok 15 /gmenu/attributes/iterate 785s # End of attributes tests 785s # End of gmenu tests 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s ok - glib/gmenumodel.test 785s TAP version 14 785s # random seed: R02S7255a02cc40013d709b7850bf9056528 785s 1..6 785s # Start of glib tests 785s # Start of checked-math tests 785s ok 1 /glib/checked-math/guint-add 785s ok 2 /glib/checked-math/guint-mul 785s ok 3 /glib/checked-math/guint64-add 785s ok 4 /glib/checked-math/guint64-mul 785s ok 5 /glib/checked-math/gsize-add 785s ok 6 /glib/checked-math/gsize-mul 785s # End of checked-math tests 785s # End of glib tests 785s TAP version 14 785s # random seed: R02S07b7fb12d63795b8cb87c1fdf3490527 785s 1..14 785s # Start of quark tests 785s ok 1 /quark/basic 785s ok 2 /quark/string 785s # End of quark tests 785s # Start of dataset tests 785s ok 3 /dataset/basic 785s ok 4 /dataset/id 785s ok 5 /dataset/full 785s ok 6 /dataset/foreach 785s ok 7 /dataset/destroy 785s # End of dataset tests 785s # Start of datalist tests 785s ok 8 /datalist/basic 785s ok 9 /datalist/id 785s ok 10 /datalist/recursive-clear 785s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 785s ok 11 /datalist/id-remove-multiple 785s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 785s ok 12 /datalist/id-remove-multiple-destroy-order 785s ok 13 /datalist/update-atomic 785s # Start of id-remove-multiple tests 785s ok 14 /datalist/id-remove-multiple/resize 785s # End of id-remove-multiple tests 785s # End of datalist tests 785s TAP version 14 785s # random seed: R02S8a0421670b40a33b7fb4d5048180f394 785s 1..1 785s # Start of function-info tests 785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_EPG352/function-info/invoker/.dirs/home 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_EPG352/function-info/invoker/.dirs/cache 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_EPG352/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_EPG352/function-info/invoker/.dirs/system-config2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_EPG352/function-info/invoker/.dirs/config 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_EPG352/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_EPG352/function-info/invoker/.dirs/system-data2 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_EPG352/function-info/invoker/.dirs/data 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_EPG352/function-info/invoker/.dirs/state 785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_EPG352/function-info/invoker/.dirs/runtime 785s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 785s # /function-info/invoker summary: Test preparing a function invoker 785s ok 1 /function-info/invoker 785s # End of function-info tests 785s TAP version 14 785s # random seed: R02Scd18da90e8acb97b57b48c9cff6f935f 785s 1..16 785s # Start of sequence tests 785s ok 1 /sequence/out-of-range-jump 785s ok 2 /sequence/iter-move 785s # Running test: glib/overflow-fallback.test 785s ok - glib/overflow-fallback.test 785s # Running test: glib/dataset.test 785s ok - glib/dataset.test 785s # Running test: glib/function-info.test 785s ok - glib/function-info.test 785s # Running test: glib/sequence.test 785s ok 3 /sequence/insert-sorted-non-pointer 785s ok 4 /sequence/stable-sort 785s ok 5 /sequence/is_empty 785s # Start of random tests 785s ok 6 /sequence/random/seed:825541564 785s # slow test /sequence/random/seed:825541564 executed in 0.60 secs 786s ok 7 /sequence/random/seed:801678400 786s # slow test /sequence/random/seed:801678400 executed in 0.50 secs 787s ok 8 /sequence/random/seed:1477639090 787s # slow test /sequence/random/seed:1477639090 executed in 0.52 secs 787s ok 9 /sequence/random/seed:3369132895 787s ok 10 /sequence/random/seed:1192944867 787s # slow test /sequence/random/seed:1192944867 executed in 0.51 secs 788s ok 11 /sequence/random/seed:770458294 788s # slow test /sequence/random/seed:770458294 executed in 0.54 secs 789s ok 12 /sequence/random/seed:1099575817 789s # slow test /sequence/random/seed:1099575817 executed in 0.50 secs 789s ok 13 /sequence/random/seed:590523467 789s # slow test /sequence/random/seed:590523467 executed in 0.54 secs 789s # Executing: glib/sequence.test 790s ok 14 /sequence/random/seed:3583571454 790s # slow test /sequence/random/seed:3583571454 executed in 0.55 secs 790s ok 15 /sequence/random/seed:579241222 790s # slow test /sequence/random/seed:579241222 executed in 0.54 secs 791s ok 16 /sequence/random/seed:951962438 791s # slow test /sequence/random/seed:951962438 executed in 0.53 secs 791s # End of random tests 791s # End of sequence tests 791s ok - glib/sequence.test 791s # Running test: glib/type.test 791s TAP version 14 791s # random seed: R02Sd65e84b2c1933f61e3cf2e07dbcfad68 791s 1..6 791s # Start of type tests 791s ok 1 /type/registration-serial 791s ok 2 /type/interface-prerequisite 791s ok 3 /type/interface-check 791s ok 4 /type/next-base 791s ok - glib/type.test 791s # Running test: glib/utf8-performance.test 791s ok 5 /type/is-a 791s # Invalid types can?t be queried. 791s # Unclassed types can?t be queried. 791s ok 6 /type/query 791s # End of type tests 791s TAP version 14 791s # random seed: R02S1243857859715010aaf952aab0b8376b 791s 1..36 791s # Start of utf8 tests 791s # Start of perf tests 791s # Start of get_char tests 791s # max perf: inf MB/s 791s ok 1 /utf8/perf/get_char/ascii 791s # max perf: 67.0 MB/s 791s ok 2 /utf8/perf/get_char/latin1 791s # max perf: inf MB/s 791s ok 3 /utf8/perf/get_char/cyrillic 791s # max perf: inf MB/s 791s ok 4 /utf8/perf/get_char/han 791s # End of get_char tests 791s # Start of get_char-backwards tests 791s # max perf: 43.0 MB/s 791s ok 5 /utf8/perf/get_char-backwards/ascii 791s # max perf: inf MB/s 791s ok 6 /utf8/perf/get_char-backwards/latin1 791s # max perf: 160.0 MB/s 791s ok 7 /utf8/perf/get_char-backwards/cyrillic 791s # max perf: inf MB/s 791s ok 8 /utf8/perf/get_char-backwards/han 791s # End of get_char-backwards tests 791s # Start of get_char_validated tests 791s # max perf: inf MB/s 791s ok 9 /utf8/perf/get_char_validated/ascii 791s # max perf: 67.0 MB/s 791s ok 10 /utf8/perf/get_char_validated/latin1 791s # max perf: 160.0 MB/s 791s ok 11 /utf8/perf/get_char_validated/cyrillic 791s # max perf: inf MB/s 791s ok 12 /utf8/perf/get_char_validated/han 791s # End of get_char_validated tests 791s # Start of utf8_to_ucs4 tests 791s # max perf: inf MB/s 791s ok 13 /utf8/perf/utf8_to_ucs4/ascii 791s # max perf: 67.0 MB/s 791s ok 14 /utf8/perf/utf8_to_ucs4/latin1 791s # max perf: 160.0 MB/s 791s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 791s # max perf: inf MB/s 791s ok 16 /utf8/perf/utf8_to_ucs4/han 791s # End of utf8_to_ucs4 tests 791s # Start of utf8_to_ucs4-sized tests 791s # max perf: inf MB/s 791s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 791s # max perf: 67.0 MB/s 791s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 791s # max perf: inf MB/s 791s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 791s # max perf: 156.0 MB/s 791s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 791s # End of utf8_to_ucs4-sized tests 791s # Start of utf8_to_ucs4_fast tests 791s # max perf: inf MB/s 791s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 791s # max perf: inf MB/s 791s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 791s # max perf: 160.0 MB/s 791s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 791s # max perf: 156.0 MB/s 791s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 791s # End of utf8_to_ucs4_fast tests 791s # Start of utf8_to_ucs4_fast-sized tests 791s # max perf: 43.0 MB/s 791s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 791s # max perf: inf MB/s 791s ok - glib/utf8-performance.test 791s # Running test: glib/async-close-output-stream.test 791s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 791s # max perf: inf MB/s 791s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 791s # max perf: inf MB/s 791s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 791s # End of utf8_to_ucs4_fast-sized tests 791s # Start of utf8_validate tests 791s # max perf: inf MB/s 791s ok 29 /utf8/perf/utf8_validate/ascii 791s # max perf: 67.0 MB/s 791s ok 30 /utf8/perf/utf8_validate/latin1 791s # max perf: inf MB/s 791s ok 31 /utf8/perf/utf8_validate/cyrillic 791s # max perf: inf MB/s 791s ok 32 /utf8/perf/utf8_validate/han 791s # End of utf8_validate tests 791s # Start of utf8_validate-sized tests 791s # max perf: 43.0 MB/s 791s ok 33 /utf8/perf/utf8_validate-sized/ascii 791s # max perf: 67.0 MB/s 791s ok 34 /utf8/perf/utf8_validate-sized/latin1 791s # max perf: inf MB/s 791s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 791s # max perf: inf MB/s 791s ok 36 /utf8/perf/utf8_validate-sized/han 791s # End of utf8_validate-sized tests 791s # End of perf tests 791s # End of utf8 tests 791s TAP version 14 791s # random seed: R02S96a9d59fdaf5d41080e3fb671ea1e213 791s 1..3 791s # Start of close-async tests 791s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 791s ok 1 /close-async/without-flush 791s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 791s ok 2 /close-async/with-flush 791s ok - glib/async-close-output-stream.test 791s # Running test: glib/date.test 791s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 791s ok 3 /close-async/with-async-flush 791s # End of close-async tests 791s TAP version 14 791s # random seed: R02Sb0381de24bc7d0f95ca2a4fcbea4f7d5 791s 1..121 791s # Start of date tests 791s ok 1 /date/basic 791s ok 2 /date/empty 791s ok 3 /date/dmy 791s ok 4 /date/julian 791s ok 5 /date/compare 791s ok 6 /date/dates 791s ok 7 /date/strftime 791s ok 8 /date/two-digit-years 791s ok 9 /date/parse 791s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 791s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 791s ok 11 /date/month_substring 791s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 791s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 791s ok 13 /date/clamp 791s ok 14 /date/order 791s ok 15 /date/copy 791s # Vector 0: 0000-00-00, invalid 791s # Vector 1: 0001-01-01, valid 791s # Vector 2: 0000-01-01, invalid 791s # Vector 3: 2000-02-30, invalid 791s # Vector 4: 2000-02-29, valid 791s # Vector 5: 2001-02-29, invalid 791s # Vector 6: 65535-01-01, valid 791s ok 16 /date/valid-dmy 791s # Start of parse tests 791s # Test 0 791s # Test 1 791s ok 17 /date/parse/invalid 791s # End of parse tests 791s # Start of year tests 791s ok 18 /date/year/1 791s ok 19 /date/year/2 791s ok 20 /date/year/3 791s ok 21 /date/year/4 791s ok 22 /date/year/5 791s ok 23 /date/year/6 791s ok 24 /date/year/7 791s ok 25 /date/year/8 791s ok 26 /date/year/9 791s ok 27 /date/year/10 791s ok 28 /date/year/11 791s ok 29 /date/year/12 791s ok 30 /date/year/13 791s ok 31 /date/year/14 791s ok 32 /date/year/98 791s ok 33 /date/year/99 791s ok 34 /date/year/100 791s ok 35 /date/year/101 791s ok 36 /date/year/102 791s ok 37 /date/year/103 791s ok 38 /date/year/397 791s ok 39 /date/year/398 791s ok 40 /date/year/399 791s ok 41 /date/year/400 791s ok 42 /date/year/401 791s ok 43 /date/year/402 791s ok 44 /date/year/403 791s ok 45 /date/year/404 791s ok 46 /date/year/405 791s ok 47 /date/year/406 791s ok 48 /date/year/1598 791s ok 49 /date/year/1599 791s ok 50 /date/year/1600 791s ok 51 /date/year/1601 791s ok 52 /date/year/1602 791s ok 53 /date/year/1650 791s ok 54 /date/year/1651 791s ok 55 /date/year/1897 791s ok 56 /date/year/1898 791s ok 57 /date/year/1899 791s ok 58 /date/year/1900 791s ok 59 /date/year/1901 791s ok 60 /date/year/1902 791s ok 61 /date/year/1903 791s ok 62 /date/year/1961 791s ok 63 /date/year/1962 791s ok 64 /date/year/1963 791s ok 65 /date/year/1964 791s ok 66 /date/year/1965 791s ok 67 /date/year/1967 791s ok 68 /date/year/1968 791s ok 69 /date/year/1969 791s ok 70 /date/year/1970 791s ok 71 /date/year/1971 791s ok 72 /date/year/1972 791s ok 73 /date/year/1973 791s ok 74 /date/year/1974 791s ok 75 /date/year/1975 791s ok 76 /date/year/1976 791s ok 77 /date/year/1977 791s ok 78 /date/year/1978 791s ok 79 /date/year/1979 791s ok 80 /date/year/1980 791s ok 81 /date/year/1981 791s ok 82 /date/year/1982 791s ok 83 /date/year/1983 791s ok 84 /date/year/1984 791s ok 85 /date/year/1985 791s ok 86 /date/year/1986 791s ok 87 /date/year/1987 791s ok 88 /date/year/1988 791s ok 89 /date/year/1989 791s ok 90 /date/year/1990 791s ok 91 /date/year/1991 791s ok 92 /date/year/1992 791s ok 93 /date/year/1993 791s ok 94 /date/year/1994 791s ok 95 /date/year/1995 791s ok 96 /date/year/1996 791s ok 97 /date/year/1997 791s ok 98 /date/year/1998 791s ok 99 /date/year/1999 791s ok 100 /date/year/2000 791s ok 101 /date/year/2001 791s ok 102 /date/year/2002 791s ok 103 /date/year/2003 791s ok 104 /date/year/2004 791s ok 105 /date/year/2005 791s ok 106 /date/year/2006 791s ok 107 /date/year/2007 791s ok 108 /date/year/2008 791s ok 109 /date/year/2009 791s ok 110 /date/year/2010 791s ok 111 /date/year/2011 791s ok 112 /date/year/2012 791s ok 113 /date/year/3000 791s ok 114 /date/year/3001 791s ok 115 /date/year/3002 791s ok 116 /date/year/3998 791s ok 117 /date/year/3999 791s ok 118 /date/year/4000 791s ok 119 /date/year/4001 791s ok 120 /date/year/4002 791s ok 121 /date/year/4003 791s # End of year tests 791s # End of date tests 791s ok - glib/date.test 791s # Running test: glib/spawn-singlethread.test 791s TAP version 14 791s # random seed: R02S2b59228e4ac99df542550d267759929c 791s 1..9 791s # Start of gthread tests 791s ok 1 /gthread/spawn-single-sync 791s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 791s ok 2 /gthread/spawn-stderr-socket 791s ok 3 /gthread/spawn-single-async 791s # thread 1 791s # thread 1 791s ok 4 /gthread/spawn-single-async-with-fds 791s ok 5 /gthread/spawn-async-with-invalid-fds 791s ok 6 /gthread/spawn-script 791s ok 7 /gthread/spawn-posix-spawn 791s # Start of spawn tests 791s ok 8 /gthread/spawn/nonexistent 791s # FD map: 791s # • 5 → 15 791s # • 6 → 16 791s # • 7 → 17 791s # • 8 → 18 791s # • 9 → 19 791s # • 10 → 20 791s # • 11 → 21 791s # • 12 → 22 791s # • 13 → 23 791s # • 3 → 13 791s ok 9 /gthread/spawn/fd-assignment-clash 791s # End of spawn tests 791s # End of gthread tests 791s ok - glib/spawn-singlethread.test 791s # Running test: glib/cxx-98.test 791s TAP version 14 791s # random seed: R02S99c53e924ca7f2cb2b8665ecc0f688f5 791s 1..2 791s # Start of gtask tests 791s # 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. 791s ok 1 /gtask/name 791s # Start of name tests 791s # 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. 791s ok 2 /gtask/name/macro-wrapper 791s # End of name tests 791s # End of gtask tests 791s ok - glib/cxx-98.test 791s # Running test: glib/fdo-notification-backend.test 791s TAP version 14 791s # random seed: R02S725ca8a0ba0d3c0e2d2a48c3f58a7b75 791s 1..2 791s # Start of fdo-notification-backend tests 791s # Test constructing a GFdoNotificationBackend 791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 791s ok 1 /fdo-notification-backend/construction 791s # Start of dbus tests 791s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 791s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 791s ok 2 /fdo-notification-backend/dbus/activate-action 791s # End of dbus tests 791s # End of fdo-notification-backend tests 791s ok - glib/fdo-notification-backend.test 791s # Running test: glib/async-splice-output-stream.test 791s TAP version 14 791s # random seed: R02Sd6e1f55876169203d9e3533c4085762c 791s 1..5 791s # Start of async-splice tests 791s ok 1 /async-splice/copy-chunks 791s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 791s ok 2 /async-splice/copy-chunks-threaded-input 791s ok 3 /async-splice/copy-chunks-threaded-output 791s ok 4 /async-splice/copy-chunks-threaded 791s ok 5 /async-splice/cancelled 791s # End of async-splice tests 791s ok - glib/async-splice-output-stream.test 791s # Running test: glib/portal-support-snap-classic.test 791s TAP version 14 791s # random seed: R02S056715bb141a7bdbc1d57a5e9c020813 791s 1..3 791s # Start of portal-support tests 791s # Start of snap-classic tests 791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/no-snapctl/.dirs/home 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/no-snapctl/.dirs/cache 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/no-snapctl/.dirs/system-config2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/no-snapctl/.dirs/config 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/no-snapctl/.dirs/system-data2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/no-snapctl/.dirs/data 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/no-snapctl/.dirs/state 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/no-snapctl/.dirs/runtime 791s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/no-snapctl: No such file or directory 791s ok 1 /portal-support/snap-classic/no-snapctl 791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/none/.dirs/home 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/none/.dirs/cache 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/none/.dirs/system-config2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/none/.dirs/config 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/none/.dirs/system-data2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/none/.dirs/data 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/none/.dirs/state 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/none/.dirs/runtime 791s # Created snap.yaml in /tmp/test_portal-support-snap-classic_GPC852/meta/snap.yaml 791s # Created snapctl in /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/none/.dirs/runtime/snapctl 791s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/none: No such file or directory 791s ok 2 /portal-support/snap-classic/none 791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/all/.dirs/home 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/all/.dirs/cache 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/all/.dirs/system-config2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/all/.dirs/config 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/all/.dirs/system-data2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/all/.dirs/data 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/all/.dirs/state 791s ok - glib/portal-support-snap-classic.test 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/all/.dirs/runtime 791s # Created snap.yaml in /tmp/test_portal-support-snap-classic_GPC852/meta/snap.yaml 791s # Created snapctl in /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/all/.dirs/runtime/snapctl 791s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_GPC852/portal-support/snap-classic/all: No such file or directory 791s ok 3 /portal-support/snap-classic/all 791s # End of snap-classic tests 791s # End of portal-support tests 791s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_GPC852: No such file or directory 791s # Running test: glib/simple-async-result.test 791s TAP version 14 791s # random seed: R02S75638738e90735820e7a56c779b21ef5 791s 1..2 791s # Start of gio tests 791s # Start of simple-async-result tests 791s ok 1 /gio/simple-async-result/test 791s # GLib-GIO-DEBUG: GTask 0x64576fba2040 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 791s ok 2 /gio/simple-async-result/valid 791s # End of simple-async-result tests 791s # End of gio tests 791s ok - glib/simple-async-result.test 791s # Running test: glib/gdbus-addresses.test 791s TAP version 14 791s # random seed: R02S6bd408f07d00794a5c0490f0d317abe8 791s 1..9 791s # Start of gdbus tests 791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/empty-address/.dirs/home 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/empty-address/.dirs/cache 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_RXE952/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_RXE952/gdbus/empty-address/.dirs/system-config2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/empty-address/.dirs/config 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_RXE952/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_RXE952/gdbus/empty-address/.dirs/system-data2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/empty-address/.dirs/data 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/empty-address/.dirs/state 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_RXE952/gdbus/empty-address/.dirs/runtime 791s ok 1 /gdbus/empty-address 791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/unsupported-address/.dirs/home 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/unsupported-address/.dirs/cache 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_RXE952/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_RXE952/gdbus/unsupported-address/.dirs/system-config2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/unsupported-address/.dirs/config 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_RXE952/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_RXE952/gdbus/unsupported-address/.dirs/system-data2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/unsupported-address/.dirs/data 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/unsupported-address/.dirs/state 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_RXE952/gdbus/unsupported-address/.dirs/runtime 791s ok 2 /gdbus/unsupported-address 791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/address-parsing/.dirs/home 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/address-parsing/.dirs/cache 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_RXE952/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_RXE952/gdbus/address-parsing/.dirs/system-config2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/address-parsing/.dirs/config 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_RXE952/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_RXE952/gdbus/address-parsing/.dirs/system-data2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/address-parsing/.dirs/data 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/address-parsing/.dirs/state 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_RXE952/gdbus/address-parsing/.dirs/runtime 791s ok 3 /gdbus/address-parsing 791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/unix-address/.dirs/home 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/unix-address/.dirs/cache 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_RXE952/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_RXE952/gdbus/unix-address/.dirs/system-config2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/unix-address/.dirs/config 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_RXE952/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_RXE952/gdbus/unix-address/.dirs/system-data2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/unix-address/.dirs/data 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/unix-address/.dirs/state 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_RXE952/gdbus/unix-address/.dirs/runtime 791s ok 4 /gdbus/unix-address 791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/nonce-tcp-address/.dirs/home 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/nonce-tcp-address/.dirs/cache 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_RXE952/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_RXE952/gdbus/nonce-tcp-address/.dirs/system-config2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/nonce-tcp-address/.dirs/config 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_RXE952/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_RXE952/gdbus/nonce-tcp-address/.dirs/system-data2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/nonce-tcp-address/.dirs/data 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/nonce-tcp-address/.dirs/state 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_RXE952/gdbus/nonce-tcp-address/.dirs/runtime 791s ok 5 /gdbus/nonce-tcp-address 791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/tcp-address/.dirs/home 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/tcp-address/.dirs/cache 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_RXE952/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_RXE952/gdbus/tcp-address/.dirs/system-config2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/tcp-address/.dirs/config 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_RXE952/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_RXE952/gdbus/tcp-address/.dirs/system-data2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/tcp-address/.dirs/data 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/tcp-address/.dirs/state 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_RXE952/gdbus/tcp-address/.dirs/runtime 791s ok 6 /gdbus/tcp-address 791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/autolaunch-address/.dirs/home 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/autolaunch-address/.dirs/cache 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_RXE952/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_RXE952/gdbus/autolaunch-address/.dirs/system-config2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/autolaunch-address/.dirs/config 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_RXE952/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_RXE952/gdbus/autolaunch-address/.dirs/system-data2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/autolaunch-address/.dirs/data 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/autolaunch-address/.dirs/state 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_RXE952/gdbus/autolaunch-address/.dirs/runtime 791s ok 7 /gdbus/autolaunch-address 791s ok - glib/gdbus-addresses.test 791s # Running test: glib/gdbus-message.test 791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/mixed-address/.dirs/home 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/mixed-address/.dirs/cache 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_RXE952/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_RXE952/gdbus/mixed-address/.dirs/system-config2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/mixed-address/.dirs/config 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_RXE952/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_RXE952/gdbus/mixed-address/.dirs/system-data2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/mixed-address/.dirs/data 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/mixed-address/.dirs/state 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_RXE952/gdbus/mixed-address/.dirs/runtime 791s ok 8 /gdbus/mixed-address 791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/escape-address/.dirs/home 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/escape-address/.dirs/cache 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_RXE952/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_RXE952/gdbus/escape-address/.dirs/system-config2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/escape-address/.dirs/config 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_RXE952/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_RXE952/gdbus/escape-address/.dirs/system-data2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/escape-address/.dirs/data 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_RXE952/gdbus/escape-address/.dirs/state 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_RXE952/gdbus/escape-address/.dirs/runtime 791s ok 9 /gdbus/escape-address 791s # End of gdbus tests 791s TAP version 14 791s # random seed: R02Sf714d76e801261c850eced47e606653a 791s 1..3 791s # Start of gdbus tests 791s # Start of message tests 791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_1DW852/gdbus/message/lock/.dirs/home 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_1DW852/gdbus/message/lock/.dirs/cache 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_1DW852/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_1DW852/gdbus/message/lock/.dirs/system-config2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_1DW852/gdbus/message/lock/.dirs/config 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_1DW852/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_1DW852/gdbus/message/lock/.dirs/system-data2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_1DW852/gdbus/message/lock/.dirs/data 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_1DW852/gdbus/message/lock/.dirs/state 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_1DW852/gdbus/message/lock/.dirs/runtime 791s ok 1 /gdbus/message/lock 791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_1DW852/gdbus/message/copy/.dirs/home 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_1DW852/gdbus/message/copy/.dirs/cache 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_1DW852/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_1DW852/gdbus/message/copy/.dirs/system-config2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_1DW852/gdbus/message/copy/.dirs/config 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_1DW852/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_1DW852/gdbus/message/copy/.dirs/system-data2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_1DW852/gdbus/message/copy/.dirs/data 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_1DW852/gdbus/message/copy/.dirs/state 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_1DW852/gdbus/message/copy/.dirs/runtime 791s ok 2 /gdbus/message/copy 791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_1DW852/gdbus/message/bytes-needed/.dirs/home 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_1DW852/gdbus/message/bytes-needed/.dirs/cache 791s ok - glib/gdbus-message.test 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_1DW852/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_1DW852/gdbus/message/bytes-needed/.dirs/system-config2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_1DW852/gdbus/message/bytes-needed/.dirs/config 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_1DW852/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_1DW852/gdbus/message/bytes-needed/.dirs/system-data2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_1DW852/gdbus/message/bytes-needed/.dirs/data 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_1DW852/gdbus/message/bytes-needed/.dirs/state 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_1DW852/gdbus/message/bytes-needed/.dirs/runtime 791s # Vector: 0 791s # Vector: 1 791s # Vector: 2 791s # Vector: 3 791s # Vector: 4 791s # Vector: 5 791s ok 3 /gdbus/message/bytes-needed 791s # End of message tests 791s # End of gdbus tests 791s # Running test: glib/option-argv0.test 791s TAP version 14 791s # random seed: R02S34b427539b349ae74729d3c48e4397fe 791s 1..1 791s # Start of option tests 791s ok 1 /option/argv0 791s # End of option tests 791s ok - glib/option-argv0.test 791s # Running test: glib/cmph-bdz.test 791s TAP version 14 791s # random seed: R02S490656cf5443f144ca78786655b0f379 791s 1..2 791s # Start of cmph-bdz tests 791s ok 1 /cmph-bdz/search 791s ok 2 /cmph-bdz/search-packed 791s # End of cmph-bdz tests 791s ok - glib/cmph-bdz.test 791s # Running test: glib/performance-threaded.test 791s Running test "liststore-is-a" 792s 28444 runs, min/avg/max = 0.029/0.035/2.286 ms 792s Running test "liststore-interface-peek" 793s 36633 runs, min/avg/max = 0.022/0.027/1.566 ms 793s Running test "liststore-interface-peek-same" 794s ok - glib/performance-threaded.test 794s 38236 runs, min/avg/max = 0.022/0.026/1.397 ms 794s # Running test: glib/union-info.test 794s TAP version 14 794s # random seed: R02S261f2925b4160c3883a4460768f34252 794s 1..2 794s # Start of union-info tests 794s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_FD2952/union-info/basic/.dirs/home 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_FD2952/union-info/basic/.dirs/cache 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_FD2952/union-info/basic/.dirs/system-config1:/tmp/test_union-info_FD2952/union-info/basic/.dirs/system-config2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_FD2952/union-info/basic/.dirs/config 794s ok - glib/union-info.test 794s # Running test: glib/volumemonitor.test 794s ok - glib/volumemonitor.test 794s # Running test: glib/memory-monitor-portal.test 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_FD2952/union-info/basic/.dirs/system-data1:/tmp/test_union-info_FD2952/union-info/basic/.dirs/system-data2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_FD2952/union-info/basic/.dirs/data 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_FD2952/union-info/basic/.dirs/state 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_FD2952/union-info/basic/.dirs/runtime 794s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 794s # /union-info/basic summary: Test basic properties of GIUnionInfo 794s ok 1 /union-info/basic 794s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_FD2952/union-info/methods/.dirs/home 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_FD2952/union-info/methods/.dirs/cache 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_FD2952/union-info/methods/.dirs/system-config1:/tmp/test_union-info_FD2952/union-info/methods/.dirs/system-config2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_FD2952/union-info/methods/.dirs/config 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_FD2952/union-info/methods/.dirs/system-data1:/tmp/test_union-info_FD2952/union-info/methods/.dirs/system-data2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_FD2952/union-info/methods/.dirs/data 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_FD2952/union-info/methods/.dirs/state 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_FD2952/union-info/methods/.dirs/runtime 794s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 794s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 794s ok 2 /union-info/methods 794s # End of union-info tests 794s TAP version 14 794s # random seed: R02S1ab6aac7755d1b5968af05988d38458d 794s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 794s 1..3 794s # Start of volumemonitor tests 794s ok 1 /volumemonitor/connected_drives 794s ok 2 /volumemonitor/volumes 794s ok 3 /volumemonitor/mounts 794s # End of volumemonitor tests 794s # Executing: glib/memory-monitor-portal.test 794s TAP version 13 794s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 794s 1..1 795s ok - glib/memory-monitor-portal.test 795s # Running test: glib/keyfile.test 795s TAP version 14 795s # random seed: R02S54652dcc6918574ab27216576cbbedec 795s 1..36 795s # Start of keyfile tests 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/line-ends/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/line-ends/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/line-ends/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/line-ends/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/line-ends/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/line-ends/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/line-ends/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/line-ends/.dirs/runtime 795s ok 1 /keyfile/line-ends 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/whitespace/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/whitespace/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/whitespace/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/whitespace/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/whitespace/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/whitespace/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/whitespace/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/whitespace/.dirs/runtime 795s ok 2 /keyfile/whitespace 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/comments/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/comments/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/comments/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/comments/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/comments/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/comments/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/comments/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/comments/.dirs/runtime 795s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 795s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 795s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 795s ok 3 /keyfile/comments 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/listing/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/listing/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/listing/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/listing/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/listing/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/listing/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/listing/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/listing/.dirs/runtime 795s ok 4 /keyfile/listing 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/string/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/string/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/string/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/string/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/string/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/string/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/string/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/string/.dirs/runtime 795s ok 5 /keyfile/string 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/boolean/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/boolean/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/boolean/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/boolean/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/boolean/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/boolean/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/boolean/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/boolean/.dirs/runtime 795s ok 6 /keyfile/boolean 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/number/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/number/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/number/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/number/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/number/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/number/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/number/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/number/.dirs/runtime 795s ok 7 /keyfile/number 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/locale-string/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/locale-string/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/locale-string/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/locale-string/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/locale-string/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/locale-string/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/locale-string/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/locale-string/.dirs/runtime 795s ok 8 /keyfile/locale-string 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/lists/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/lists/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/lists/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/lists/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/lists/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/lists/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/lists/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/lists/.dirs/runtime 795s ok 9 /keyfile/lists 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/lists-set-get/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/lists-set-get/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/lists-set-get/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/lists-set-get/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/lists-set-get/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/lists-set-get/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/lists-set-get/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/lists-set-get/.dirs/runtime 795s ok 10 /keyfile/lists-set-get 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/group-remove/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/group-remove/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/group-remove/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/group-remove/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/group-remove/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/group-remove/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/group-remove/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/group-remove/.dirs/runtime 795s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 795s ok 11 /keyfile/group-remove 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/key-remove/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/key-remove/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/key-remove/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/key-remove/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/key-remove/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/key-remove/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/key-remove/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/key-remove/.dirs/runtime 795s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 795s ok 12 /keyfile/key-remove 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/groups/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/groups/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/groups/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/groups/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/groups/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/groups/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/groups/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/groups/.dirs/runtime 795s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 795s ok 13 /keyfile/groups 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/duplicate-keys/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/duplicate-keys/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/duplicate-keys/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/duplicate-keys/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/duplicate-keys/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/duplicate-keys/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/duplicate-keys/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/duplicate-keys/.dirs/runtime 795s ok 14 /keyfile/duplicate-keys 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/duplicate-groups/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/duplicate-groups/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/duplicate-groups/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/duplicate-groups/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/duplicate-groups/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/duplicate-groups/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/duplicate-groups/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/duplicate-groups/.dirs/runtime 795s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 795s ok 15 /keyfile/duplicate-groups 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/duplicate-groups2/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/duplicate-groups2/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/duplicate-groups2/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/duplicate-groups2/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/duplicate-groups2/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/duplicate-groups2/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/duplicate-groups2/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/duplicate-groups2/.dirs/runtime 795s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 795s ok 16 /keyfile/duplicate-groups2 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/group-names/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/group-names/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/group-names/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/group-names/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/group-names/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/group-names/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/group-names/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/group-names/.dirs/runtime 795s ok 17 /keyfile/group-names 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/key-names/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/key-names/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/key-names/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/key-names/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/key-names/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/key-names/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/key-names/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/key-names/.dirs/runtime 795s ok 18 /keyfile/key-names 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/reload/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/reload/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/reload/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/reload/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/reload/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/reload/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/reload/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/reload/.dirs/runtime 795s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 795s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 795s ok 19 /keyfile/reload 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/int64/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/int64/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/int64/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/int64/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/int64/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/int64/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/int64/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/int64/.dirs/runtime 795s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 795s ok 20 /keyfile/int64 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/load/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/load/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/load/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/load/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/load/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/load/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/load/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/load/.dirs/runtime 795s ok 21 /keyfile/load 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/save/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/save/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/save/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/save/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/save/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/save/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/save/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/save/.dirs/runtime 795s ok 22 /keyfile/save 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/load-fail/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/load-fail/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/load-fail/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/load-fail/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/load-fail/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/load-fail/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/load-fail/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/load-fail/.dirs/runtime 795s ok 23 /keyfile/load-fail 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/non-utf8/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/non-utf8/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/non-utf8/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/non-utf8/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/non-utf8/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/non-utf8/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/non-utf8/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/non-utf8/.dirs/runtime 795s ok 24 /keyfile/non-utf8 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/page-boundary/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/page-boundary/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/page-boundary/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/page-boundary/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/page-boundary/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/page-boundary/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/page-boundary/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/page-boundary/.dirs/runtime 795s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 795s ok 25 /keyfile/page-boundary 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/ref/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/ref/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/ref/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/ref/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/ref/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/ref/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/ref/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/ref/.dirs/runtime 795s ok 26 /keyfile/ref 795s ok - glib/keyfile.test 795s # Running test: glib/proxy-test.test 795s ok - glib/proxy-test.test 795s # Running test: glib/gdbus-connection.test 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/replace-value/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/replace-value/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/replace-value/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/replace-value/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/replace-value/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/replace-value/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/replace-value/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/replace-value/.dirs/runtime 795s ok 27 /keyfile/replace-value 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/list-separator/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/list-separator/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/list-separator/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/list-separator/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/list-separator/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/list-separator/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/list-separator/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/list-separator/.dirs/runtime 795s ok 28 /keyfile/list-separator 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/empty-string/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/empty-string/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/empty-string/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/empty-string/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/empty-string/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/empty-string/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/empty-string/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/empty-string/.dirs/runtime 795s ok 29 /keyfile/empty-string 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/limbo/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/limbo/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/limbo/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/limbo/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/limbo/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/limbo/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/limbo/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/limbo/.dirs/runtime 795s ok 30 /keyfile/limbo 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/utf8/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/utf8/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/utf8/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/utf8/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/utf8/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/utf8/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/utf8/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/utf8/.dirs/runtime 795s # Testing invalid encoding ?non-UTF-8? 795s # Testing invalid encoding ?UTF? 795s # Testing invalid encoding ?UTF-9? 795s ok 31 /keyfile/utf8 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/roundtrip/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/roundtrip/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/roundtrip/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/roundtrip/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/roundtrip/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/roundtrip/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/roundtrip/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/roundtrip/.dirs/runtime 795s ok 32 /keyfile/roundtrip 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/bytes/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/bytes/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/bytes/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/bytes/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/bytes/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/bytes/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/bytes/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/bytes/.dirs/runtime 795s ok 33 /keyfile/bytes 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/get-locale/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/get-locale/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/get-locale/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/get-locale/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/get-locale/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/get-locale/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/get-locale/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/get-locale/.dirs/runtime 795s ok 34 /keyfile/get-locale 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/free-when-not-last-ref/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/free-when-not-last-ref/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/free-when-not-last-ref/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/free-when-not-last-ref/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/free-when-not-last-ref/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/free-when-not-last-ref/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/free-when-not-last-ref/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/free-when-not-last-ref/.dirs/runtime 795s ok 35 /keyfile/free-when-not-last-ref 795s # Start of locale-string tests 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_E56X52/keyfile/locale-string/multiple-loads/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_E56X52/keyfile/locale-string/multiple-loads/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_E56X52/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_E56X52/keyfile/locale-string/multiple-loads/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_E56X52/keyfile/locale-string/multiple-loads/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_E56X52/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_E56X52/keyfile/locale-string/multiple-loads/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_E56X52/keyfile/locale-string/multiple-loads/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_E56X52/keyfile/locale-string/multiple-loads/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_E56X52/keyfile/locale-string/multiple-loads/.dirs/runtime 795s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 795s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 795s ok 36 /keyfile/locale-string/multiple-loads 795s # End of locale-string tests 795s # End of keyfile tests 795s TAP version 14 795s # random seed: R02Se94dfe26c79d9d4ea224fdf33c2bc6fe 795s 1..11 795s # Start of proxy tests 795s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 795s ok 1 /proxy/direct_sync 795s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 795s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5dd34d555830 and GSocketClientAsyncConnectData 0x5dd34d554da0 795s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 795s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5dd34d556160 for GSocketClientAsyncConnectData 0x5dd34d554da0 795s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 795s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 795s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 795s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 795s ok 2 /proxy/direct_async 795s ok 3 /proxy/single_sync 795s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 795s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5dd34d555cd0 and GSocketClientAsyncConnectData 0x5dd34d554da0 795s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 795s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5dd34d556830 for GSocketClientAsyncConnectData 0x5dd34d554da0 795s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 795s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 795s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 795s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 795s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 795s ok 4 /proxy/single_async 795s ok 5 /proxy/multiple_sync 795s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 795s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5dd34d555f60 and GSocketClientAsyncConnectData 0x5dd34d555ef0 795s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 795s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5dd34d557b90 for GSocketClientAsyncConnectData 0x5dd34d555ef0 795s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 795s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 795s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 795s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 795s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 795s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5dd34d557b30 for GSocketClientAsyncConnectData 0x5dd34d555ef0 795s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 795s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 795s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 795s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 795s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 795s ok 6 /proxy/multiple_async 795s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 795s ok 7 /proxy/invalid-uris-sync 795s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 795s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 795s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5dd34d555b20 and GSocketClientAsyncConnectData 0x5dd34d557d50 795s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 795s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 795s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 795s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5dd34d555cd0 and GSocketClientAsyncConnectData 0x5dd34d555ef0 795s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 795s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 795s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 795s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5dd34d555b20 and GSocketClientAsyncConnectData 0x5dd34d557d50 795s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 795s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5dd34d5561c0 for GSocketClientAsyncConnectData 0x5dd34d557d50 795s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 795s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 795s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 795s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 795s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 795s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5dd34d555cd0 and GSocketClientAsyncConnectData 0x5dd34d557d50 795s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 795s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5dd34d557dc0 for GSocketClientAsyncConnectData 0x5dd34d557d50 795s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 795s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 795s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 795s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 795s ok 8 /proxy/invalid-uris-async 795s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 795s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5dd34d555830 and GSocketClientAsyncConnectData 0x5dd34d557d50 795s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 795s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 795s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 795s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 795s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 795s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5dd34d5583f0 and GSocketClientAsyncConnectData 0x5dd34d5560b0 795s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 795s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5dd34d557b90 for GSocketClientAsyncConnectData 0x5dd34d5560b0 795s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 795s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 795s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 795s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 795s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 795s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 795s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 795s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5dd34d555b20 and GSocketClientAsyncConnectData 0x5dd34d555ef0 795s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 795s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5dd34d557dc0 for GSocketClientAsyncConnectData 0x5dd34d555ef0 795s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 795s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 795s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 795s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 795s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 795s ok 9 /proxy/dns 795s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 795s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5dd34d555830 and GSocketClientAsyncConnectData 0x5dd34d555ef0 795s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 795s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5dd34d5572b0 for GSocketClientAsyncConnectData 0x5dd34d555ef0 795s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 795s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 795s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 795s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 795s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 795s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 795s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 795s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5dd34d555b20 and GSocketClientAsyncConnectData 0x5dd34d555d90 795s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 795s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5dd34d5572b0 for GSocketClientAsyncConnectData 0x5dd34d555d90 795s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 795s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 795s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 795s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 795s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 795s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 795s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5dd34d555830 and GSocketClientAsyncConnectData 0x5dd34d557d50 795s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 795s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5dd34d557ad0 for GSocketClientAsyncConnectData 0x5dd34d557d50 795s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 795s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 795s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 795s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 795s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 795s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 795s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 795s ok 10 /proxy/override 795s ok 11 /proxy/enumerator-ports 795s # End of proxy tests 795s TAP version 14 795s # random seed: R02S3e715a7ba3ca6fd4751d5284ec23bdc7 795s 1..9 795s # Start of gdbus tests 795s # Start of connection tests 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/bus-failure/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/bus-failure/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_NVW452/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_NVW452/gdbus/connection/bus-failure/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/bus-failure/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_NVW452/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_NVW452/gdbus/connection/bus-failure/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/bus-failure/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/bus-failure/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_NVW452/gdbus/connection/bus-failure/.dirs/runtime 795s ok 1 /gdbus/connection/bus-failure 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/basic/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/basic/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_NVW452/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_NVW452/gdbus/connection/basic/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/basic/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_NVW452/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_NVW452/gdbus/connection/basic/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/basic/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/basic/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_NVW452/gdbus/connection/basic/.dirs/runtime 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s ok 2 /gdbus/connection/basic 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/life-cycle/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/life-cycle/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_NVW452/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_NVW452/gdbus/connection/life-cycle/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/life-cycle/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_NVW452/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_NVW452/gdbus/connection/life-cycle/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/life-cycle/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/life-cycle/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_NVW452/gdbus/connection/life-cycle/.dirs/runtime 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s ok 3 /gdbus/connection/life-cycle 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/send/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/send/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_NVW452/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_NVW452/gdbus/connection/send/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/send/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_NVW452/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_NVW452/gdbus/connection/send/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/send/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/send/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_NVW452/gdbus/connection/send/.dirs/runtime 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s ok 4 /gdbus/connection/send 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/signals/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/signals/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_NVW452/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_NVW452/gdbus/connection/signals/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/signals/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_NVW452/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_NVW452/gdbus/connection/signals/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/signals/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/signals/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_NVW452/gdbus/connection/signals/.dirs/runtime 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s ok 5 /gdbus/connection/signals 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/signal-match-rules/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/signal-match-rules/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_NVW452/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_NVW452/gdbus/connection/signal-match-rules/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/signal-match-rules/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_NVW452/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_NVW452/gdbus/connection/signal-match-rules/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/signal-match-rules/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/signal-match-rules/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_NVW452/gdbus/connection/signal-match-rules/.dirs/runtime 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s ok 6 /gdbus/connection/signal-match-rules 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/filter/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/filter/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_NVW452/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_NVW452/gdbus/connection/filter/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/filter/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_NVW452/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_NVW452/gdbus/connection/filter/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/filter/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/filter/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_NVW452/gdbus/connection/filter/.dirs/runtime 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s ok 7 /gdbus/connection/filter 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/serials/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/serials/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_NVW452/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_NVW452/gdbus/connection/serials/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/serials/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_NVW452/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_NVW452/gdbus/connection/serials/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/serials/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/serials/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_NVW452/gdbus/connection/serials/.dirs/runtime 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s ok 8 /gdbus/connection/serials 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/cancel/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/cancel/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_NVW452/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_NVW452/gdbus/connection/cancel/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/cancel/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_NVW452/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_NVW452/gdbus/connection/cancel/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/cancel/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_NVW452/gdbus/connection/cancel/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_NVW452/gdbus/connection/cancel/.dirs/runtime 795s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s ok 9 /gdbus/connection/cancel 795s # End of connection tests 795s # End of gdbus tests 795s ok - glib/gdbus-connection.test 795s # Running test: glib/resolver-parsing.test 795s TAP version 14 795s # random seed: R02Sc8ebfc07bf18500939818c6d9d3c7eb9 795s 1..21 795s # Start of gresolver tests 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_8W7552/gresolver/invalid-header/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/invalid-header/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_8W7552/gresolver/invalid-header/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/invalid-header/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_8W7552/gresolver/invalid-header/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/invalid-header/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/invalid-header/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_8W7552/gresolver/invalid-header/.dirs/runtime 795s ok 1 /gresolver/invalid-header 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_8W7552/gresolver/record-ownership/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/record-ownership/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_8W7552/gresolver/record-ownership/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/record-ownership/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_8W7552/gresolver/record-ownership/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/record-ownership/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/record-ownership/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_8W7552/gresolver/record-ownership/.dirs/runtime 795s ok 2 /gresolver/record-ownership 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_8W7552/gresolver/unknown-record-type/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/unknown-record-type/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_8W7552/gresolver/unknown-record-type/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/unknown-record-type/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_8W7552/gresolver/unknown-record-type/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/unknown-record-type/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/unknown-record-type/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_8W7552/gresolver/unknown-record-type/.dirs/runtime 795s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 795s ok 3 /gresolver/unknown-record-type 795s # Start of mx tests 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_8W7552/gresolver/mx/valid/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/mx/valid/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_8W7552/gresolver/mx/valid/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/mx/valid/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_8W7552/gresolver/mx/valid/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/mx/valid/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/mx/valid/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_8W7552/gresolver/mx/valid/.dirs/runtime 795s ok 4 /gresolver/mx/valid 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/.dirs/runtime 795s ok 5 /gresolver/mx/invalid 795s # Start of invalid tests 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/too-short/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/too-short/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/too-short/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/too-short/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/too-short/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/too-short/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/too-short/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/too-short/.dirs/runtime 795s ok 6 /gresolver/mx/invalid/too-short 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/too-short2/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/too-short2/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/too-short2/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/too-short2/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/too-short2/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/too-short2/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/too-short2/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_8W7552/gresolver/mx/invalid/too-short2/.dirs/runtime 795s ok 7 /gresolver/mx/invalid/too-short2 795s # End of invalid tests 795s # End of mx tests 795s # Start of ns tests 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_8W7552/gresolver/ns/valid/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/ns/valid/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_8W7552/gresolver/ns/valid/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/ns/valid/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_8W7552/gresolver/ns/valid/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/ns/valid/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/ns/valid/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_8W7552/gresolver/ns/valid/.dirs/runtime 795s ok 8 /gresolver/ns/valid 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_8W7552/gresolver/ns/invalid/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/ns/invalid/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_8W7552/gresolver/ns/invalid/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/ns/invalid/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_8W7552/gresolver/ns/invalid/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/ns/invalid/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/ns/invalid/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_8W7552/gresolver/ns/invalid/.dirs/runtime 795s ok 9 /gresolver/ns/invalid 795s # End of ns tests 795s # Start of soa tests 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_8W7552/gresolver/soa/valid/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/soa/valid/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_8W7552/gresolver/soa/valid/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/soa/valid/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_8W7552/gresolver/soa/valid/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/soa/valid/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/soa/valid/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_8W7552/gresolver/soa/valid/.dirs/runtime 795s ok 10 /gresolver/soa/valid 795s # Start of invalid tests 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/mname/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/mname/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/mname/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/mname/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/mname/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/mname/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/mname/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/mname/.dirs/runtime 795s ok 11 /gresolver/soa/invalid/mname 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/rname/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/rname/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/rname/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/rname/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/rname/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/rname/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/rname/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/rname/.dirs/runtime 795s ok 12 /gresolver/soa/invalid/rname 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/too-short/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/too-short/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/too-short/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/too-short/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/too-short/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/too-short/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/too-short/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_8W7552/gresolver/soa/invalid/too-short/.dirs/runtime 795s ok 13 /gresolver/soa/invalid/too-short 795s # End of invalid tests 795s # End of soa tests 795s # Start of srv tests 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_8W7552/gresolver/srv/valid/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/srv/valid/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_8W7552/gresolver/srv/valid/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/srv/valid/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_8W7552/gresolver/srv/valid/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/srv/valid/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/srv/valid/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_8W7552/gresolver/srv/valid/.dirs/runtime 795s ok 14 /gresolver/srv/valid 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/.dirs/runtime 795s ok 15 /gresolver/srv/invalid 795s # Start of invalid tests 795s ok - glib/resolver-parsing.test 795s # Running test: glib/cxx-14.test 795s ok - glib/cxx-14.test 795s # Running test: glib/autoptr-gio.test 795s ok - glib/autoptr-gio.test 795s # Running test: glib/threadtests.test 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/too-short/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/too-short/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/too-short/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/too-short/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/too-short/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/too-short/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/too-short/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/too-short/.dirs/runtime 795s ok 16 /gresolver/srv/invalid/too-short 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/too-short2/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/too-short2/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/too-short2/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/too-short2/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/too-short2/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/too-short2/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/too-short2/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_8W7552/gresolver/srv/invalid/too-short2/.dirs/runtime 795s ok 17 /gresolver/srv/invalid/too-short2 795s # End of invalid tests 795s # End of srv tests 795s # Start of txt tests 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_8W7552/gresolver/txt/valid/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/txt/valid/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_8W7552/gresolver/txt/valid/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/txt/valid/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_8W7552/gresolver/txt/valid/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/txt/valid/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/txt/valid/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_8W7552/gresolver/txt/valid/.dirs/runtime 795s ok 18 /gresolver/txt/valid 795s # Start of valid tests 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_8W7552/gresolver/txt/valid/multiple-strings/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/txt/valid/multiple-strings/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_8W7552/gresolver/txt/valid/multiple-strings/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/txt/valid/multiple-strings/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_8W7552/gresolver/txt/valid/multiple-strings/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/txt/valid/multiple-strings/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/txt/valid/multiple-strings/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_8W7552/gresolver/txt/valid/multiple-strings/.dirs/runtime 795s ok 19 /gresolver/txt/valid/multiple-strings 795s # End of valid tests 795s # Start of invalid tests 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_8W7552/gresolver/txt/invalid/empty/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/txt/invalid/empty/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_8W7552/gresolver/txt/invalid/empty/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/txt/invalid/empty/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_8W7552/gresolver/txt/invalid/empty/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/txt/invalid/empty/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/txt/invalid/empty/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_8W7552/gresolver/txt/invalid/empty/.dirs/runtime 795s ok 20 /gresolver/txt/invalid/empty 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_8W7552/gresolver/txt/invalid/overflow/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/txt/invalid/overflow/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_8W7552/gresolver/txt/invalid/overflow/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/txt/invalid/overflow/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_8W7552/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_8W7552/gresolver/txt/invalid/overflow/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/txt/invalid/overflow/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_8W7552/gresolver/txt/invalid/overflow/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_8W7552/gresolver/txt/invalid/overflow/.dirs/runtime 795s ok 21 /gresolver/txt/invalid/overflow 795s # End of invalid tests 795s # End of txt tests 795s # End of gresolver tests 795s TAP version 14 795s # random seed: R02S2fa8b2c142dc0d26f5939e9ea3d18f5c 795s 1..2 795s # Start of gtask tests 795s # 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. 795s ok 1 /gtask/name 795s # Start of name tests 795s # 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. 795s ok 2 /gtask/name/macro-wrapper 795s # End of name tests 795s # End of gtask tests 795s TAP version 14 795s # random seed: R02S8b5ab4595514832d2772e1f5aabb5e9c 795s 1..1 795s # Start of autoptr tests 795s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 795s ok 1 /autoptr/autoptr 795s # End of autoptr tests 795s TAP version 14 795s # random seed: R02S2fbbcdb1e4ec45f78ee39c21b5fc0512 795s 1..5 795s # Start of GObject tests 795s ok 1 /GObject/threaded-object-init 796s ok 2 /GObject/threaded-weak-ref 796s # slow test /GObject/threaded-weak-ref executed in 0.99 secs 796s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 796s # /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 796s ok 3 /GObject/threaded-toggle-notify 796s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 796s # Start of threaded-weak-ref tests 796s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 796s # /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. 796s ok 5 /GObject/threaded-weak-ref/on-finalization 796s # End of threaded-weak-ref tests 796s # End of GObject tests 796s ok - glib/threadtests.test 796s # Running test: glib/timeout.test 796s TAP version 14 796s # random seed: R02Sda1027de69834708e8a1bc96c2e6fd8d 796s 1..5 796s # Start of timeout tests 796s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 798s ok 1 /timeout/seconds 798s # slow test /timeout/seconds executed in 2.10 secs 799s # Executing: glib/timeout.test 800s ok 2 /timeout/seconds-once 800s # slow test /timeout/seconds-once executed in 2.10 secs 800s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 802s ok 3 /timeout/weeks-overflow 802s # slow test /timeout/weeks-overflow executed in 2.10 secs 802s ok 4 /timeout/far-future-ready-time 804s # Executing: glib/timeout.test 809s # Executing: glib/timeout.test 812s ok 5 /timeout/rounding 812s # slow test /timeout/rounding executed in 10.23 secs 812s # End of timeout tests 812s ok - glib/timeout.test 812s # Running test: glib/live-g-file.test 812s TAP version 14 812s # random seed: R02S62997921d1ad48d65d315b9722f90372 812s 1..13 812s # Start of live-g-file tests 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/prep_clean_structure/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/prep_clean_structure/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_KY2Y52/live-g-file/prep_clean_structure/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/prep_clean_structure/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_KY2Y52/live-g-file/prep_clean_structure/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/prep_clean_structure/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/prep_clean_structure/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KY2Y52/live-g-file/prep_clean_structure/.dirs/runtime 812s # Cleaning target testing structure in '/tmp/test_live-g-file_KY2Y52/testdir_live-g-file'... 812s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 812s ok 1 /live-g-file/prep_clean_structure 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/create_structure/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/create_structure/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_KY2Y52/live-g-file/create_structure/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/create_structure/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_KY2Y52/live-g-file/create_structure/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/create_structure/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/create_structure/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KY2Y52/live-g-file/create_structure/.dirs/runtime 812s # 812s # Going to create testing structure in '/tmp/test_live-g-file_KY2Y52/testdir_live-g-file'... 812s # Creating directory 'dir1'... 812s # Creating directory 'dir1/subdir'... 812s # Creating directory 'dir2'... 812s # Creating directory 'dir-target'... 812s # Creating directory 'dir_no-access'... 812s # Creating directory 'dir_no-write'... 812s # Creating file 'target-file'... 812s # Creating file 'normal_file'... 812s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 812s # Creating file 'executable_file'... 812s # Creating file 'private_file'... 812s # Creating file 'normal_file2'... 812s # Creating file 'readonly_file'... 812s # Creating file 'UTF_pr?i?lis? z'... 812s # Creating directory 'dir_pr?i?lis? z'... 812s # Creating symlink 'lost_symlink' --> 'nowhere'... 812s # Creating directory 'dir_hidden'... 812s # Creating file 'dir_hidden/.a-hidden-file'... 812s # Creating file 'dir_hidden/file-in-.hidden1'... 812s # Creating file 'dir_hidden/file-in-.hidden2'... 812s # Creating pattern file... 812s # done. 812s ok 2 /live-g-file/create_structure 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_initial_structure/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_initial_structure/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_KY2Y52/live-g-file/test_initial_structure/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_initial_structure/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_KY2Y52/live-g-file/test_initial_structure/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_initial_structure/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_initial_structure/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KY2Y52/live-g-file/test_initial_structure/.dirs/runtime 812s # Testing sample structure in '/tmp/test_live-g-file_KY2Y52/testdir_live-g-file'... 812s # Testing file 'dir1'... 812s # Testing file 'dir1/subdir'... 812s # Testing file 'dir2'... 812s # Testing file 'dir-target'... 812s # Testing file 'dir_no-access'... 812s # Testing file 'dir_no-write'... 812s # Testing file 'target-file'... 812s # Testing file 'normal_file'... 812s # Testing file 'normal_file-symlink'... 812s # Testing file 'executable_file'... 812s # Testing file 'private_file'... 812s # Testing file 'normal_file2'... 812s # Testing file 'readonly_file'... 812s # Testing file 'UTF_pr?i?lis? z'... 812s # Testing file 'dir_pr?i?lis? z'... 812s # Testing file 'lost_symlink'... 812s # Testing file 'dir_hidden'... 812s # Testing file 'dir_hidden/.a-hidden-file'... 812s # Testing file 'dir_hidden/file-in-.hidden1'... 812s # Testing file 'dir_hidden/file-in-.hidden2'... 812s # Testing pattern file... 812s # read 65536 bytes, total = 65536 of 65536. 812s ok 3 /live-g-file/test_initial_structure 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_traverse_structure/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_traverse_structure/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_KY2Y52/live-g-file/test_traverse_structure/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_traverse_structure/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_KY2Y52/live-g-file/test_traverse_structure/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_traverse_structure/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_traverse_structure/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KY2Y52/live-g-file/test_traverse_structure/.dirs/runtime 812s # Traversing through the sample structure in '/tmp/test_live-g-file_KY2Y52/testdir_live-g-file'... 812s # Found file dir1, relative to root: dir1 812s # Found file subdir, relative to root: dir1/subdir 812s # Found file dir2, relative to root: dir2 812s # Found file dir-target, relative to root: dir-target 812s # Found file dir_no-access, relative to root: dir_no-access 812s # Found file dir_no-write, relative to root: dir_no-write 812s # Found file target-file, relative to root: target-file 812s # Found file normal_file, relative to root: normal_file 812s # Found file normal_file-symlink, relative to root: normal_file-symlink 812s # Found file executable_file, relative to root: executable_file 812s # Found file private_file, relative to root: private_file 812s # Found file normal_file2, relative to root: normal_file2 812s # Found file readonly_file, relative to root: readonly_file 812s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 812s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 812s # Found file lost_symlink, relative to root: lost_symlink 812s # Found file dir_hidden, relative to root: dir_hidden 812s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 812s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 812s # Found file .hidden, relative to root: dir_hidden/.hidden 812s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 812s # Found file pattern_file, relative to root: pattern_file 812s ok 4 /live-g-file/test_traverse_structure 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_enumerate/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_enumerate/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_KY2Y52/live-g-file/test_enumerate/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_enumerate/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_KY2Y52/live-g-file/test_enumerate/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_enumerate/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_enumerate/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KY2Y52/live-g-file/test_enumerate/.dirs/runtime 812s # Test enumerate '/tmp/test_live-g-file_KY2Y52/testdir_live-g-file'... 812s # Testing file 'dir_no-access' 812s # Testing file 'normal_file' 812s # Testing file 'normal_file-symlink' 812s # Testing file 'not_exists' 812s # Testing file 'not_exists' 812s # Testing file 'not_exists2' 812s # Testing file 'not_exists3' 812s # Testing file 'not_exists4' 812s # Testing file 'dir_no-execute/file' 812s ok 5 /live-g-file/test_enumerate 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_open/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_open/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_KY2Y52/live-g-file/test_open/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_open/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_KY2Y52/live-g-file/test_open/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_open/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_open/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KY2Y52/live-g-file/test_open/.dirs/runtime 812s # test_open: 'dir1' 812s # test_open: 'dir_no-access' 812s # test_open: 'target-file' 812s # test_open: 'normal_file-symlink' 812s # test_open: 'executable_file' 812s # test_open: 'private_file' 812s # test_open: 'readonly_file' 812s # test_open: 'UTF_pr?i?lis? z' 812s # test_open: 'pattern_file' 812s # test_open: 'not_exists' 812s # test_open: 'dir_no-execute/file' 812s # test_open: 'lost_symlink' 812s ok 6 /live-g-file/test_open 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_create/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_create/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_KY2Y52/live-g-file/test_create/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_create/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_KY2Y52/live-g-file/test_create/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_create/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_create/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KY2Y52/live-g-file/test_create/.dirs/runtime 812s # test_create: 'dir1' 812s # error code 3 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir1?: Is a directory 812s # test_create: 'dir1/subdir' 812s # error code 3 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir1/subdir?: Is a directory 812s # test_create: 'dir2' 812s # error code 2 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir2?: File exists 812s # test_create: 'normal_file' 812s # error code 2 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/normal_file?: File exists 812s # test_create: 'executable_file' 812s # test_create: 'private_file' 812s # test_create: 'normal_file2' 812s # test_create: 'UTF_pr?i?lis? z' 812s # error code 2 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 812s # test_create: 'dir_pr?i?lis? z' 812s # error code 2 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir_pr?i?lis? z?: File exists 812s # test_create: 'pattern_file' 812s # test_create: 'not_exists2' 812s # test_create: 'not_exists3' 812s # test_create: 'not_exists4' 812s ok 7 /live-g-file/test_create 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_copy_move/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_copy_move/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_KY2Y52/live-g-file/test_copy_move/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_copy_move/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_KY2Y52/live-g-file/test_copy_move/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_copy_move/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_copy_move/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KY2Y52/live-g-file/test_copy_move/.dirs/runtime 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'dir1/subdir' --> 'dir-target' 812s # res = 0, error code 25 = Can?t recursively copy directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'dir1/subdir' --> '.' 812s # res = 0, error code 2 = Target file exists 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'dir1/subdir' --> 'target-file' 812s # res = 0, error code 4 = Error when getting information for file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'dir1/subdir' --> 'not_exists' 812s # res = 0, error code 25 = Can?t recursively copy directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 812s # res = 0, error code 25 = Can?t recursively copy directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 812s # res = 0, error code 25 = Can?t recursively copy directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'dir2' --> 'dir-target' 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'dir-target' --> 'dir-target' 812s # res = 0, error code 25 = Can?t recursively copy directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'dir-target' --> '.' 812s # res = 0, error code 2 = Target file exists 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'dir-target' --> 'target-file' 812s # res = 0, error code 4 = Error when getting information for file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/target-file/dir-target?: Not a directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'dir-target' --> 'not_exists' 812s # res = 0, error code 25 = Can?t recursively copy directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'dir-target' --> 'dir_no-access' 812s # res = 0, error code 25 = Can?t recursively copy directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'dir-target' --> 'dir_no-write' 812s # res = 0, error code 25 = Can?t recursively copy directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'target-file' --> 'dir-target' 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'target-file' --> '.' 812s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/target-file?: File exists 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'target-file' --> 'target-file' 812s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/target-file/target-file?: Not a directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'target-file' --> 'not_exists' 812s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/not_exists/target-file?: No such file or directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'target-file' --> 'dir_no-access' 812s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir_no-access/target-file?: Permission denied 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'target-file' --> 'dir_no-write' 812s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir_no-write/target-file?: Permission denied 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'normal_file-symlink' --> '.' 812s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/normal_file-symlink: File exists 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'normal_file-symlink' --> 'target-file' 812s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 812s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 812s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 812s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'executable_file' --> 'dir-target' 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'executable_file' --> 'dir-target' 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'executable_file' --> '.' 812s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/executable_file?: File exists 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'executable_file' --> 'target-file' 812s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/target-file/executable_file?: Not a directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'executable_file' --> 'not_exists' 812s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/not_exists/executable_file?: No such file or directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'executable_file' --> 'dir_no-access' 812s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'executable_file' --> 'dir_no-write' 812s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'private_file' --> 'dir-target' 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'private_file' --> 'dir-target' 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'private_file' --> '.' 812s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/private_file?: File exists 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'private_file' --> 'target-file' 812s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/target-file/private_file?: Not a directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'private_file' --> 'not_exists' 812s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/not_exists/private_file?: No such file or directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'private_file' --> 'dir_no-access' 812s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir_no-access/private_file?: Permission denied 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'private_file' --> 'dir_no-write' 812s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir_no-write/private_file?: Permission denied 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'normal_file2' --> 'dir-target' 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'normal_file2' --> 'dir-target' 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'normal_file2' --> '.' 812s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/normal_file2?: File exists 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'normal_file2' --> 'target-file' 812s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/target-file/normal_file2?: Not a directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'normal_file2' --> 'not_exists' 812s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'normal_file2' --> 'dir_no-access' 812s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'normal_file2' --> 'dir_no-write' 812s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 812s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 812s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 812s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 812s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 812s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'pattern_file' --> 'dir-target' 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'pattern_file' --> '.' 812s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/pattern_file?: File exists 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'pattern_file' --> 'target-file' 812s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/target-file/pattern_file?: Not a directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'pattern_file' --> 'not_exists' 812s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'pattern_file' --> 'dir_no-access' 812s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'pattern_file' --> 'dir_no-write' 812s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'not_exists' --> 'dir-target' 812s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/not_exists?: No such file or directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'not_exists' --> '.' 812s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/not_exists?: No such file or directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'not_exists' --> 'target-file' 812s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/not_exists?: No such file or directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'not_exists' --> 'not_exists' 812s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/not_exists?: No such file or directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'not_exists' --> 'dir_no-access' 812s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/not_exists?: No such file or directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'not_exists' --> 'dir_no-write' 812s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_KY2Y52/testdir_live-g-file/not_exists?: No such file or directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'not_exists' --> 'dir-target' 812s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/not_exists: No such file or directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'lost_symlink' --> 'dir-target' 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'lost_symlink' --> '.' 812s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/lost_symlink: File exists 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'lost_symlink' --> 'target-file' 812s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/target-file/lost_symlink: Not a directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'lost_symlink' --> 'not_exists' 812s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 812s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 812s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 812s ok 8 /live-g-file/test_copy_move 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_delete/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_delete/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_KY2Y52/live-g-file/test_delete/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_delete/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_KY2Y52/live-g-file/test_delete/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_delete/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_delete/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KY2Y52/live-g-file/test_delete/.dirs/runtime 812s # Deleting dir1, path = /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir1 812s # result = 0, error = Error removing file /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir1: Directory not empty 812s # Deleting dir2, path = /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir2 812s # result = 0, error = Error removing file /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir2: No such file or directory 812s # Deleting executable_file, path = /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/executable_file 812s # result = 0, error = Error trashing file /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/executable_file: No such file or directory 812s # Deleting readonly_file, path = /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/readonly_file 812s # Deleting dir_pr?i?lis? z, path = /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir_pr?i?lis? z 812s # Deleting not_exists, path = /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/not_exists 812s # result = 0, error = Error removing file /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/not_exists: No such file or directory 812s # Deleting not_exists, path = /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/not_exists 812s # result = 0, error = Error trashing file /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/not_exists: No such file or directory 812s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir_no-execute/file 812s # result = 0, error = Error removing file /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/dir_no-execute/file: No such file or directory 812s # Deleting lost_symlink, path = /tmp/test_live-g-file_KY2Y52/testdir_live-g-file/lost_symlink 812s ok 9 /live-g-file/test_delete 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_make_directory_with_parents/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_make_directory_with_parents/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_KY2Y52/live-g-file/test_make_directory_with_parents/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_make_directory_with_parents/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_KY2Y52/live-g-file/test_make_directory_with_parents/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_make_directory_with_parents/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_make_directory_with_parents/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KY2Y52/live-g-file/test_make_directory_with_parents/.dirs/runtime 812s # We do not have CAP_DAC_OVERRIDE or equivalent 812s ok 10 /live-g-file/test_make_directory_with_parents 812s ok - glib/live-g-file.test 812s # Running test: glib/memory-settings-backend.test 812s ok - glib/memory-settings-backend.test 812s # Running test: glib/utils-c-99.test 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/final_clean/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/final_clean/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_KY2Y52/live-g-file/final_clean/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/final_clean/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_KY2Y52/live-g-file/final_clean/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/final_clean/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/final_clean/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KY2Y52/live-g-file/final_clean/.dirs/runtime 812s # Cleaning target testing structure in '/tmp/test_live-g-file_KY2Y52/testdir_live-g-file'... 812s # deleting 'dir1' 812s # deleting 'subdir' 812s # deleting 'dir-target' 812s # deleting 'dir2' 812s # deleting 'target-file' 812s # deleting 'normal_file-symlink' 812s # deleting 'pattern_file' 812s # deleting 'executable_file' 812s # deleting 'private_file' 812s # deleting 'normal_file2' 812s # deleting 'UTF_pr?i?lis? z' 812s # deleting 'lost_symlink' 812s # deleting 'dir_no-access' 812s # deleting 'dir_no-write' 812s # deleting 'target-file' 812s # deleting 'normal_file' 812s # deleting 'normal_file-symlink' 812s # deleting 'executable_file~' 812s # deleting 'private_file' 812s # deleting 'normal_file2~' 812s # deleting 'a' 812s # deleting 'UTF_pr?i?lis? z' 812s # deleting 'dir_hidden' 812s # deleting '.a-hidden-file' 812s # deleting 'file-in-.hidden1' 812s # deleting '.hidden' 812s # deleting 'file-in-.hidden2' 812s # deleting 'pattern_file' 812s # deleting 'executable_file' 812s # deleting 'normal_file2' 812s # deleting 'not_exists2' 812s # deleting 'not_exists3' 812s # deleting 'not_exists4' 812s ok 11 /live-g-file/final_clean 812s # Start of test_unix_is_mountpoint tests 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_KY2Y52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_KY2Y52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KY2Y52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime 812s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_unix_is_mountpoint/proc/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_KY2Y52/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_unix_is_mountpoint/proc/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_KY2Y52/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_KY2Y52/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_unix_is_mountpoint/proc/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_KY2Y52/live-g-file/test_unix_is_mountpoint/proc/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_KY2Y52/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime 812s ok 13 /live-g-file/test_unix_is_mountpoint/proc 812s # End of test_unix_is_mountpoint tests 812s # End of live-g-file tests 812s TAP version 14 812s # random seed: R02S156e12f4cdb275e1f9448443900637a2 812s 1..1 812s # Start of memory-settings-backend tests 812s ok 1 /memory-settings-backend/extension-point-registered 812s # End of memory-settings-backend tests 812s TAP version 14 812s # random seed: R02Se9e41e3ab1f06f2e500ccc7d27acc49c 812s 1..41 812s # Start of utils tests 812s ok 1 /utils/language-names 812s ok 2 /utils/locale-variants 812s ok 3 /utils/version 812s ok 4 /utils/appname 812s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 812s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 812s ok 5 /utils/prgname-thread-safety 812s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 812s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 812s ok 6 /utils/tmpdir 812s ok 7 /utils/basic_bits 812s ok 8 /utils/bits 812s ok 9 /utils/swap 812s ok 10 /utils/find-program 812s ok 11 /utils/find-program-for-path 812s ok 12 /utils/debug 812s ok 13 /utils/codeset 812s ok 14 /utils/codeset2 812s ok 15 /utils/console-charset 812s ok 16 /utils/gettext 812s ok 17 /utils/username 812s ok 18 /utils/realname 812s ok 19 /utils/hostname 812s ok 20 /utils/xdgdirs 812s ok 21 /utils/specialdir 812s # NAME: Ubuntu 812s ok 22 /utils/os-info 812s ok 23 /utils/clear-pointer 812s ok 24 /utils/clear-pointer-cast 812s ok 25 /utils/take-pointer 813s ok - glib/utils-c-99.test 813s # Running test: glib/data-input-stream.test 813s ok 26 /utils/clear-source 813s ok 27 /utils/misc-mem 813s # /utils/aligned-mem summary: Aligned memory allocator 813s # Alignment must not be zero 813s # Alignment must be a power of two 813s # Alignment must be a multiple of sizeof(void*) 813s ok 28 /utils/aligned-mem 813s # /utils/free-sized summary: Check that g_free_sized() works 813s ok 29 /utils/free-sized 813s ok 30 /utils/nullify 813s ok 31 /utils/atexit 813s ok 32 /utils/check-setuid 813s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 813s ok 33 /utils/int-limits 813s ok 34 /utils/clear-list 813s ok 35 /utils/clear-slist 813s ok 36 /utils/steal-handle-id 813s # Start of specialdir tests 813s ok 37 /utils/specialdir/desktop 813s # End of specialdir tests 813s # Start of clear-pointer tests 813s ok 38 /utils/clear-pointer/side-effects 813s # End of clear-pointer tests 813s # Start of aligned-mem tests 813s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 813s ok 39 /utils/aligned-mem/alignment 813s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 813s ok 40 /utils/aligned-mem/zeroed 813s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 813s ok 41 /utils/aligned-mem/free-sized 813s # Start of subprocess tests 813s # End of subprocess tests 813s # End of aligned-mem tests 813s # End of utils tests 813s TAP version 14 813s # random seed: R02S2c5e86c2d62ef4bddcdff0642037fb67 813s 1..10 813s # Start of data-input-stream tests 813s ok 1 /data-input-stream/basic 813s ok 2 /data-input-stream/read-lines-LF 813s ok 3 /data-input-stream/read-lines-LF-valid-utf8 813s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 813s ok 5 /data-input-stream/read-lines-CR 813s ok 6 /data-input-stream/read-lines-CR-LF 813s ok 7 /data-input-stream/read-lines-any 813s ok 8 /data-input-stream/read-until 813s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^ 813s # Test vector 1: {"key": "value"}? and ? 813s ok 9 /data-input-stream/read-upto 813s ok 10 /data-input-stream/read-int 813s # End of data-input-stream tests 813s ok - glib/data-input-stream.test 813s # Running test: glib/autoptr-girepository.test 813s TAP version 14 813s # random seed: R02Sfa123f464e5088a09a6b6b33a9fa81a9 813s 1..24 813s # Start of autoptr tests 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/repository/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/repository/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/autoptr/repository/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/repository/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/autoptr/repository/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/repository/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/repository/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/autoptr/repository/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 1 /autoptr/repository 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/typelib/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/typelib/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/autoptr/typelib/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/typelib/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/autoptr/typelib/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/typelib/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/typelib/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/autoptr/typelib/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 2 /autoptr/typelib 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/base-info/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/base-info/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/autoptr/base-info/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/base-info/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/autoptr/base-info/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/base-info/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/base-info/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/autoptr/base-info/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 3 /autoptr/base-info 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/arg-info/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/arg-info/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/autoptr/arg-info/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/arg-info/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/autoptr/arg-info/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/arg-info/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/arg-info/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/autoptr/arg-info/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 4 /autoptr/arg-info 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/callable-info/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/callable-info/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/autoptr/callable-info/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/callable-info/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/autoptr/callable-info/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/callable-info/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/callable-info/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/autoptr/callable-info/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 5 /autoptr/callable-info 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/callback-info/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/callback-info/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/autoptr/callback-info/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/callback-info/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/autoptr/callback-info/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/callback-info/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/callback-info/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/autoptr/callback-info/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 6 /autoptr/callback-info 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/constant-info/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/constant-info/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/autoptr/constant-info/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/constant-info/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/autoptr/constant-info/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/constant-info/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/constant-info/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/autoptr/constant-info/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 7 /autoptr/constant-info 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/enum-info/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/enum-info/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/autoptr/enum-info/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/enum-info/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/autoptr/enum-info/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/enum-info/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/enum-info/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/autoptr/enum-info/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 8 /autoptr/enum-info 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/field-info/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/field-info/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/autoptr/field-info/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/field-info/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/autoptr/field-info/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/field-info/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/field-info/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/autoptr/field-info/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 9 /autoptr/field-info 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/flags-info/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/flags-info/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/autoptr/flags-info/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/flags-info/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/autoptr/flags-info/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/flags-info/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/flags-info/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/autoptr/flags-info/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 10 /autoptr/flags-info 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/function-info/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/function-info/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/autoptr/function-info/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/function-info/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/autoptr/function-info/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/function-info/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/function-info/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/autoptr/function-info/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 11 /autoptr/function-info 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/interface-info/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/interface-info/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/autoptr/interface-info/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/interface-info/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/autoptr/interface-info/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/interface-info/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/interface-info/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/autoptr/interface-info/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 12 /autoptr/interface-info 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/object-info/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/object-info/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/autoptr/object-info/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/object-info/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/autoptr/object-info/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/object-info/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/object-info/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/autoptr/object-info/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 13 /autoptr/object-info 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/property-info/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/property-info/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/autoptr/property-info/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/property-info/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/autoptr/property-info/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/property-info/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/property-info/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/autoptr/property-info/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 14 /autoptr/property-info 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/registered-type-info/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/registered-type-info/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/autoptr/registered-type-info/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/registered-type-info/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/autoptr/registered-type-info/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/registered-type-info/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/registered-type-info/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/autoptr/registered-type-info/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 15 /autoptr/registered-type-info 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/signal-info/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/signal-info/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/autoptr/signal-info/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/signal-info/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/autoptr/signal-info/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/signal-info/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/signal-info/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/autoptr/signal-info/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 16 /autoptr/signal-info 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/struct-info/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/struct-info/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/autoptr/struct-info/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/struct-info/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/autoptr/struct-info/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/struct-info/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/struct-info/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/autoptr/struct-info/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 17 /autoptr/struct-info 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/type-info/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/type-info/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/autoptr/type-info/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/type-info/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/autoptr/type-info/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/type-info/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/type-info/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/autoptr/type-info/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 18 /autoptr/type-info 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/union-info/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/union-info/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/autoptr/union-info/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/union-info/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/autoptr/union-info/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/union-info/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/union-info/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/autoptr/union-info/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 19 /autoptr/union-info 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/value-info/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/value-info/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/autoptr/value-info/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/value-info/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/autoptr/value-info/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/value-info/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/value-info/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/autoptr/value-info/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 20 /autoptr/value-info 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/vfunc-info/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/vfunc-info/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/autoptr/vfunc-info/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/vfunc-info/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/autoptr/vfunc-info/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/vfunc-info/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/autoptr/vfunc-info/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/autoptr/vfunc-info/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 21 /autoptr/vfunc-info 813s # End of autoptr tests 813s # Start of auto tests 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/auto/arg-info/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/auto/arg-info/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/auto/arg-info/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/auto/arg-info/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/auto/arg-info/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/auto/arg-info/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/auto/arg-info/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/auto/arg-info/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 22 /auto/arg-info 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/auto/type-info/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/auto/type-info/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/auto/type-info/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/auto/type-info/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/auto/type-info/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/auto/type-info/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/auto/type-info/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/auto/type-info/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 23 /auto/type-info 813s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_9R7152/auto/function-invoker/.dirs/home 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_9R7152/auto/function-invoker/.dirs/cache 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_9R7152/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_9R7152/auto/function-invoker/.dirs/system-config2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_9R7152/auto/function-invoker/.dirs/config 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_9R7152/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_9R7152/auto/function-invoker/.dirs/system-data2 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_9R7152/auto/function-invoker/.dirs/data 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_9R7152/auto/function-invoker/.dirs/state 813s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_9R7152/auto/function-invoker/.dirs/runtime 813s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 813s ok 24 /auto/function-invoker 813s # End of auto tests 813s ok - glib/autoptr-girepository.test 813s # Running test: glib/mkenums.py.test 813s TAP version 13 813s ok 1 __main__.TestMkenums.test_available_in 813s # glib-mkenums: /usr/bin/glib-mkenums 813s # tmpdir: /tmp/tmpsddanwxt 813s # rspfile: False 813s # /tmp/tmpsddanwxt/tmpd4mtifm5.h: 813s # typedef enum { 813s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 813s # } GDBusServerFlags; 813s # 813s # /tmp/tmpsddanwxt/tmpiqkihks8.template: 813s # /*** BEGIN file-header ***/ 813s # file-header 813s # /*** END file-header ***/ 813s # 813s # /*** BEGIN file-production ***/ 813s # file-production 813s # filename: @filename@ 813s # basename: @basename@ 813s # /*** END file-production ***/ 813s # 813s # /*** BEGIN enumeration-production ***/ 813s # enumeration-production 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END enumeration-production ***/ 813s # 813s # /*** BEGIN value-header ***/ 813s # value-header 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-header ***/ 813s # 813s # /*** BEGIN value-production ***/ 813s # value-production 813s # VALUENAME: @VALUENAME@ 813s # valuenick: @valuenick@ 813s # valuenum: @valuenum@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-production ***/ 813s # 813s # /*** BEGIN value-tail ***/ 813s # value-tail 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-tail ***/ 813s # 813s # /*** BEGIN comment ***/ 813s # comment 813s # comment: @comment@ 813s # /*** END comment ***/ 813s # 813s # /*** BEGIN file-tail ***/ 813s # file-tail 813s # /*** END file-tail ***/ 813s # 813s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpsddanwxt/tmpiqkihks8.template', '/tmp/tmpsddanwxt/tmpd4mtifm5.h'] 813s # Return code: 0 813s # Output: 813s # comment 813s # 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. 813s # 813s # 813s # file-header 813s # file-production 813s # filename: /tmp/tmpsddanwxt/tmpd4mtifm5.h 813s # basename: tmpd4mtifm5.h 813s # enumeration-production 813s # EnumName: GDBusServerFlags 813s # enum_name: g_dbus_server_flags 813s # ENUMNAME: G_DBUS_SERVER_FLAGS 813s # ENUMSHORT: DBUS_SERVER_FLAGS 813s # ENUMPREFIX: G 813s # enumsince: 813s # type: flags 813s # Type: Flags 813s # TYPE: FLAGS 813s # value-header 813s # EnumName: GDBusServerFlags 813s # enum_name: g_dbus_server_flags 813s # ENUMNAME: G_DBUS_SERVER_FLAGS 813s # ENUMSHORT: DBUS_SERVER_FLAGS 813s # ENUMPREFIX: G 813s # enumsince: 813s # type: flags 813s # Type: Flags 813s # TYPE: FLAGS 813s # value-production 813s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 813s # valuenick: user 813s # valuenum: 4 813s # type: flags 813s # Type: Flags 813s # TYPE: FLAGS 813s # value-tail 813s # EnumName: GDBusServerFlags 813s # enum_name: g_dbus_server_flags 813s # ENUMNAME: G_DBUS_SERVER_FLAGS 813s # ENUMSHORT: DBUS_SERVER_FLAGS 813s # ENUMPREFIX: G 813s # enumsince: 813s # type: flags 813s # Type: Flags 813s # TYPE: FLAGS 813s # file-tail 813s # 813s # comment 813s # comment: Generated data ends here 813s # Error: 813s ok 2 __main__.TestMkenums.test_comma_in_enum_value 813s # glib-mkenums: /usr/bin/glib-mkenums 813s # tmpdir: /tmp/tmpfcuq6h1t 813s # rspfile: False 813s # /tmp/tmpfcuq6h1t/tmptuna50ze.h: 813s # typedef enum { 813s # ENUM_VALUE_WITH_COMMA = ',', 813s # } TestCommaEnum; 813s # 813s # /tmp/tmpfcuq6h1t/tmpc9n2gg53.template: 813s # /*** BEGIN file-header ***/ 813s # file-header 813s # /*** END file-header ***/ 813s # 813s # /*** BEGIN file-production ***/ 813s # file-production 813s # filename: @filename@ 813s # basename: @basename@ 813s # /*** END file-production ***/ 813s # 813s # /*** BEGIN enumeration-production ***/ 813s # enumeration-production 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END enumeration-production ***/ 813s # 813s # /*** BEGIN value-header ***/ 813s # value-header 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-header ***/ 813s # 813s # /*** BEGIN value-production ***/ 813s # value-production 813s # VALUENAME: @VALUENAME@ 813s # valuenick: @valuenick@ 813s # valuenum: @valuenum@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-production ***/ 813s # 813s # /*** BEGIN value-tail ***/ 813s # value-tail 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-tail ***/ 813s # 813s # /*** BEGIN comment ***/ 813s # comment 813s # comment: @comment@ 813s # /*** END comment ***/ 813s # 813s # /*** BEGIN file-tail ***/ 813s # file-tail 813s # /*** END file-tail ***/ 813s # 813s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfcuq6h1t/tmpc9n2gg53.template', '/tmp/tmpfcuq6h1t/tmptuna50ze.h'] 813s # Return code: 0 813s # Output: 813s # comment 813s # 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. 813s # 813s # 813s # file-header 813s # file-production 813s # filename: /tmp/tmpfcuq6h1t/tmptuna50ze.h 813s # basename: tmptuna50ze.h 813s # enumeration-production 813s # EnumName: TestCommaEnum 813s # enum_name: test_comma_enum 813s # ENUMNAME: TEST_COMMA_ENUM 813s # ENUMSHORT: COMMA_ENUM 813s # ENUMPREFIX: TEST 813s # enumsince: 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # value-header 813s # EnumName: TestCommaEnum 813s # enum_name: test_comma_enum 813s # ENUMNAME: TEST_COMMA_ENUM 813s # ENUMSHORT: COMMA_ENUM 813s # ENUMPREFIX: TEST 813s # enumsince: 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # value-production 813s # VALUENAME: ENUM_VALUE_WITH_COMMA 813s # valuenick: comma 813s # valuenum: 44 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # value-tail 813s # EnumName: TestCommaEnum 813s # enum_name: test_comma_enum 813s # ENUMNAME: TEST_COMMA_ENUM 813s # ENUMSHORT: COMMA_ENUM 813s # ENUMPREFIX: TEST 813s # enumsince: 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # file-tail 813s # 813s # comment 813s # comment: Generated data ends here 813s # Error: 813s ok 3 __main__.TestMkenums.test_deprecated_in 813s # glib-mkenums: /usr/bin/glib-mkenums 813s # tmpdir: /tmp/tmpoth_e_za 813s # rspfile: False 813s # /tmp/tmpoth_e_za/tmp8vue8no3.h: 813s # typedef enum { 813s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 813s # } GDBusServerFlags; 813s # 813s # /tmp/tmpoth_e_za/tmpgzcp1_o0.template: 813s # /*** BEGIN file-header ***/ 813s # file-header 813s # /*** END file-header ***/ 813s # 813s # /*** BEGIN file-production ***/ 813s # file-production 813s # filename: @filename@ 813s # basename: @basename@ 813s # /*** END file-production ***/ 813s # 813s # /*** BEGIN enumeration-production ***/ 813s # enumeration-production 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END enumeration-production ***/ 813s # 813s # /*** BEGIN value-header ***/ 813s # value-header 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-header ***/ 813s # 813s # /*** BEGIN value-production ***/ 813s # value-production 813s # VALUENAME: @VALUENAME@ 813s # valuenick: @valuenick@ 813s # valuenum: @valuenum@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-production ***/ 813s # 813s # /*** BEGIN value-tail ***/ 813s # value-tail 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-tail ***/ 813s # 813s # /*** BEGIN comment ***/ 813s # comment 813s # comment: @comment@ 813s # /*** END comment ***/ 813s # 813s # /*** BEGIN file-tail ***/ 813s # file-tail 813s # /*** END file-tail ***/ 813s # 813s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpoth_e_za/tmpgzcp1_o0.template', '/tmp/tmpoth_e_za/tmp8vue8no3.h'] 813s # Return code: 0 813s # Output: 813s # comment 813s # 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. 813s # 813s # 813s # file-header 813s # file-production 813s # filename: /tmp/tmpoth_e_za/tmp8vue8no3.h 813s # basename: tmp8vue8no3.h 813s # enumeration-production 813s # EnumName: GDBusServerFlags 813s # enum_name: g_dbus_server_flags 813s # ENUMNAME: G_DBUS_SERVER_FLAGS 813s # ENUMSHORT: DBUS_SERVER_FLAGS 813s # ENUMPREFIX: G 813s # enumsince: 813s # type: flags 813s # Type: Flags 813s # TYPE: FLAGS 813s # value-header 813s # EnumName: GDBusServerFlags 813s # enum_name: g_dbus_server_flags 813s # ENUMNAME: G_DBUS_SERVER_FLAGS 813s # ENUMSHORT: DBUS_SERVER_FLAGS 813s # ENUMPREFIX: G 813s # enumsince: 813s # type: flags 813s # Type: Flags 813s # TYPE: FLAGS 813s # value-production 813s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 813s # valuenick: user 813s # valuenum: 4 813s # type: flags 813s # Type: Flags 813s # TYPE: FLAGS 813s # value-tail 813s # EnumName: GDBusServerFlags 813s # enum_name: g_dbus_server_flags 813s # ENUMNAME: G_DBUS_SERVER_FLAGS 813s # ENUMSHORT: DBUS_SERVER_FLAGS 813s # ENUMPREFIX: G 813s # enumsince: 813s # type: flags 813s # Type: Flags 813s # TYPE: FLAGS 813s # file-tail 813s # 813s # comment 813s # comment: Generated data ends here 813s # Error: 813s ok 4 __main__.TestMkenums.test_deprecated_in_for 813s # glib-mkenums: /usr/bin/glib-mkenums 813s # tmpdir: /tmp/tmpl08d4a1s 813s # rspfile: False 813s # /tmp/tmpl08d4a1s/tmp2ww571gf.h: 813s # typedef enum { 813s # 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) 813s # } GDBusServerFlags; 813s # 813s # /tmp/tmpl08d4a1s/tmpayqj7ihe.template: 813s # /*** BEGIN file-header ***/ 813s # file-header 813s # /*** END file-header ***/ 813s # 813s # /*** BEGIN file-production ***/ 813s # file-production 813s # filename: @filename@ 813s # basename: @basename@ 813s # /*** END file-production ***/ 813s # 813s # /*** BEGIN enumeration-production ***/ 813s # enumeration-production 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END enumeration-production ***/ 813s # 813s # /*** BEGIN value-header ***/ 813s # value-header 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-header ***/ 813s # 813s # /*** BEGIN value-production ***/ 813s # value-production 813s # VALUENAME: @VALUENAME@ 813s # valuenick: @valuenick@ 813s # valuenum: @valuenum@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-production ***/ 813s # 813s # /*** BEGIN value-tail ***/ 813s # value-tail 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-tail ***/ 813s # 813s # /*** BEGIN comment ***/ 813s # comment 813s # comment: @comment@ 813s # /*** END comment ***/ 813s # 813s # /*** BEGIN file-tail ***/ 813s # file-tail 813s # /*** END file-tail ***/ 813s # 813s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpl08d4a1s/tmpayqj7ihe.template', '/tmp/tmpl08d4a1s/tmp2ww571gf.h'] 813s # Return code: 0 813s # Output: 813s # comment 813s # 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. 813s # 813s # 813s # file-header 813s # file-production 813s # filename: /tmp/tmpl08d4a1s/tmp2ww571gf.h 813s # basename: tmp2ww571gf.h 813s # enumeration-production 813s # EnumName: GDBusServerFlags 813s # enum_name: g_dbus_server_flags 813s # ENUMNAME: G_DBUS_SERVER_FLAGS 813s # ENUMSHORT: DBUS_SERVER_FLAGS 813s # ENUMPREFIX: G 813s # enumsince: 813s # type: flags 813s # Type: Flags 813s # TYPE: FLAGS 813s # value-header 813s # EnumName: GDBusServerFlags 813s # enum_name: g_dbus_server_flags 813s # ENUMNAME: G_DBUS_SERVER_FLAGS 813s # ENUMSHORT: DBUS_SERVER_FLAGS 813s # ENUMPREFIX: G 813s # enumsince: 813s # type: flags 813s # Type: Flags 813s # TYPE: FLAGS 813s # value-production 813s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 813s # valuenick: user 813s # valuenum: 4 813s # type: flags 813s # Type: Flags 813s # TYPE: FLAGS 813s # value-tail 813s # EnumName: GDBusServerFlags 813s # enum_name: g_dbus_server_flags 813s # ENUMNAME: G_DBUS_SERVER_FLAGS 813s # ENUMSHORT: DBUS_SERVER_FLAGS 813s # ENUMPREFIX: G 813s # enumsince: 813s # type: flags 813s # Type: Flags 813s # TYPE: FLAGS 813s # file-tail 813s # 813s # comment 813s # comment: Generated data ends here 813s # Error: 813s ok 5 __main__.TestMkenums.test_empty_header 813s # glib-mkenums: /usr/bin/glib-mkenums 813s # tmpdir: /tmp/tmp3_d9p4i3 813s # rspfile: False 813s # /tmp/tmp3_d9p4i3/tmplq_7zz91.h: 813s # /tmp/tmp3_d9p4i3/tmp0uy85_33.template: 813s # /*** BEGIN file-header ***/ 813s # file-header 813s # /*** END file-header ***/ 813s # 813s # /*** BEGIN file-production ***/ 813s # file-production 813s # filename: @filename@ 813s # basename: @basename@ 813s # /*** END file-production ***/ 813s # 813s # /*** BEGIN enumeration-production ***/ 813s # enumeration-production 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END enumeration-production ***/ 813s # 813s # /*** BEGIN value-header ***/ 813s # value-header 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-header ***/ 813s # 813s # /*** BEGIN value-production ***/ 813s # value-production 813s # VALUENAME: @VALUENAME@ 813s # valuenick: @valuenick@ 813s # valuenum: @valuenum@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-production ***/ 813s # 813s # /*** BEGIN value-tail ***/ 813s # value-tail 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-tail ***/ 813s # 813s # /*** BEGIN comment ***/ 813s # comment 813s # comment: @comment@ 813s # /*** END comment ***/ 813s # 813s # /*** BEGIN file-tail ***/ 813s # file-tail 813s # /*** END file-tail ***/ 813s # 813s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp3_d9p4i3/tmp0uy85_33.template', '/tmp/tmp3_d9p4i3/tmplq_7zz91.h'] 813s # Return code: 0 813s # Output: 813s # comment 813s # 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. 813s # 813s # 813s # file-header 813s # file-tail 813s # 813s # comment 813s # comment: Generated data ends here 813s # Error: 813s ok 6 __main__.TestMkenums.test_empty_template 813s # glib-mkenums: /usr/bin/glib-mkenums 813s # tmpdir: /tmp/tmp6yrpqahp 813s # rspfile: False 813s # /tmp/tmp6yrpqahp/tmpjx6bm160.template: 813s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6yrpqahp/tmpjx6bm160.template'] 813s # Return code: 0 813s # Output: 813s # /* 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. */ 813s # 813s # 813s # /* Generated data ends here */ 813s # Error: 813s ok 7 __main__.TestMkenums.test_enum_name 813s # glib-mkenums: /usr/bin/glib-mkenums 813s # tmpdir: /tmp/tmp1ylhbu09 813s # rspfile: False 813s # /tmp/tmp1ylhbu09/tmp34yg5bbx.h: 813s # typedef enum _SomeEnumIdentifier { 813s # ENUM_VALUE 813s # } SomeEnumIdentifier; 813s # 813s # /tmp/tmp1ylhbu09/tmpkm2b1dly.template: 813s # /*** BEGIN file-header ***/ 813s # file-header 813s # /*** END file-header ***/ 813s # 813s # /*** BEGIN file-production ***/ 813s # file-production 813s # filename: @filename@ 813s # basename: @basename@ 813s # /*** END file-production ***/ 813s # 813s # /*** BEGIN enumeration-production ***/ 813s # enumeration-production 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END enumeration-production ***/ 813s # 813s # /*** BEGIN value-header ***/ 813s # value-header 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-header ***/ 813s # 813s # /*** BEGIN value-production ***/ 813s # value-production 813s # VALUENAME: @VALUENAME@ 813s # valuenick: @valuenick@ 813s # valuenum: @valuenum@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-production ***/ 813s # 813s # /*** BEGIN value-tail ***/ 813s # value-tail 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-tail ***/ 813s # 813s # /*** BEGIN comment ***/ 813s # comment 813s # comment: @comment@ 813s # /*** END comment ***/ 813s # 813s # /*** BEGIN file-tail ***/ 813s # file-tail 813s # /*** END file-tail ***/ 813s # 813s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1ylhbu09/tmpkm2b1dly.template', '/tmp/tmp1ylhbu09/tmp34yg5bbx.h'] 813s # Return code: 0 813s # Output: 813s # comment 813s # 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. 813s # 813s # 813s # file-header 813s # file-production 813s # filename: /tmp/tmp1ylhbu09/tmp34yg5bbx.h 813s # basename: tmp34yg5bbx.h 813s # enumeration-production 813s # EnumName: SomeEnumIdentifier 813s # enum_name: some_enum_identifier 813s # ENUMNAME: SOME_ENUM_IDENTIFIER 813s # ENUMSHORT: ENUM_IDENTIFIER 813s # ENUMPREFIX: SOME 813s # enumsince: 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # value-header 813s # EnumName: SomeEnumIdentifier 813s # enum_name: some_enum_identifier 813s # ENUMNAME: SOME_ENUM_IDENTIFIER 813s # ENUMSHORT: ENUM_IDENTIFIER 813s # ENUMPREFIX: SOME 813s # enumsince: 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # value-production 813s # VALUENAME: ENUM_VALUE 813s # valuenick: value 813s # valuenum: 0 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # value-tail 813s # EnumName: SomeEnumIdentifier 813s # enum_name: some_enum_identifier 813s # ENUMNAME: SOME_ENUM_IDENTIFIER 813s # ENUMSHORT: ENUM_IDENTIFIER 813s # ENUMPREFIX: SOME 813s # enumsince: 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # file-tail 813s # 813s # comment 813s # comment: Generated data ends here 813s # Error: 813s ok 8 __main__.TestMkenums.test_enum_private_public 813s # glib-mkenums: /usr/bin/glib-mkenums 813s # tmpdir: /tmp/tmp5xohcdzf 813s # rspfile: False 813s # /tmp/tmp5xohcdzf/tmp2leg5oox.h: 813s # typedef enum { 813s # ENUM_VALUE_PUBLIC1, 813s # /*< private >*/ 813s # ENUM_VALUE_PRIVATE, 813s # } SomeEnumA 813s # 813s # /tmp/tmp5xohcdzf/tmpfto3jbgz.template: 813s # /*** BEGIN file-header ***/ 813s # file-header 813s # /*** END file-header ***/ 813s # 813s # /*** BEGIN file-production ***/ 813s # file-production 813s # filename: @filename@ 813s # basename: @basename@ 813s # /*** END file-production ***/ 813s # 813s # /*** BEGIN enumeration-production ***/ 813s # enumeration-production 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END enumeration-production ***/ 813s # 813s # /*** BEGIN value-header ***/ 813s # value-header 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-header ***/ 813s # 813s # /*** BEGIN value-production ***/ 813s # value-production 813s # VALUENAME: @VALUENAME@ 813s # valuenick: @valuenick@ 813s # valuenum: @valuenum@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-production ***/ 813s # 813s # /*** BEGIN value-tail ***/ 813s # value-tail 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-tail ***/ 813s # 813s # /*** BEGIN comment ***/ 813s # comment 813s # comment: @comment@ 813s # /*** END comment ***/ 813s # 813s # /*** BEGIN file-tail ***/ 813s # file-tail 813s # /*** END file-tail ***/ 813s # 813s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5xohcdzf/tmpfto3jbgz.template', '/tmp/tmp5xohcdzf/tmp2leg5oox.h'] 813s # Return code: 0 813s # Output: 813s # comment 813s # 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. 813s # 813s # 813s # file-header 813s # file-production 813s # filename: /tmp/tmp5xohcdzf/tmp2leg5oox.h 813s # basename: tmp2leg5oox.h 813s # enumeration-production 813s # EnumName: SomeEnumA 813s # enum_name: some_enum_a 813s # ENUMNAME: SOME_ENUM_A 813s # ENUMSHORT: ENUM_A 813s # ENUMPREFIX: SOME 813s # enumsince: 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # value-header 813s # EnumName: SomeEnumA 813s # enum_name: some_enum_a 813s # ENUMNAME: SOME_ENUM_A 813s # ENUMSHORT: ENUM_A 813s # ENUMPREFIX: SOME 813s # enumsince: 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # value-production 813s # VALUENAME: ENUM_VALUE_PUBLIC1 813s # valuenick: public1 813s # valuenum: 0 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # value-tail 813s # EnumName: SomeEnumA 813s # enum_name: some_enum_a 813s # ENUMNAME: SOME_ENUM_A 813s # ENUMSHORT: ENUM_A 813s # ENUMPREFIX: SOME 813s # enumsince: 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # file-tail 813s # 813s # comment 813s # comment: Generated data ends here 813s # Error: 813s # 813s # /tmp/tmp5xohcdzf/tmpzionyrac.h: 813s # typedef enum { 813s # /*< private >*/ 813s # ENUM_VALUE_PRIVATE, 813s # /*< public >*/ 813s # ENUM_VALUE_PUBLIC2, 813s # } SomeEnumB; 813s # 813s # /tmp/tmp5xohcdzf/tmp_eyykxex.template: 813s # /*** BEGIN file-header ***/ 813s # file-header 813s # /*** END file-header ***/ 813s # 813s # /*** BEGIN file-production ***/ 813s # file-production 813s # filename: @filename@ 813s # basename: @basename@ 813s # /*** END file-production ***/ 813s # 813s # /*** BEGIN enumeration-production ***/ 813s # enumeration-production 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END enumeration-production ***/ 813s # 813s # /*** BEGIN value-header ***/ 813s # value-header 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-header ***/ 813s # 813s # /*** BEGIN value-production ***/ 813s # value-production 813s # VALUENAME: @VALUENAME@ 813s # valuenick: @valuenick@ 813s # valuenum: @valuenum@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-production ***/ 813s # 813s # /*** BEGIN value-tail ***/ 813s # value-tail 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-tail ***/ 813s # 813s # /*** BEGIN comment ***/ 813s # comment 813s # comment: @comment@ 813s # /*** END comment ***/ 813s # 813s # /*** BEGIN file-tail ***/ 813s # file-tail 813s # /*** END file-tail ***/ 813s # 813s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5xohcdzf/tmp_eyykxex.template', '/tmp/tmp5xohcdzf/tmpzionyrac.h'] 813s # Return code: 0 813s # Output: 813s # comment 813s # 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. 813s # 813s # 813s # file-header 813s # file-production 813s # filename: /tmp/tmp5xohcdzf/tmpzionyrac.h 813s # basename: tmpzionyrac.h 813s # enumeration-production 813s # EnumName: SomeEnumB 813s # enum_name: some_enum_b 813s # ENUMNAME: SOME_ENUM_B 813s # ENUMSHORT: ENUM_B 813s # ENUMPREFIX: SOME 813s # enumsince: 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # value-header 813s # EnumName: SomeEnumB 813s # enum_name: some_enum_b 813s # ENUMNAME: SOME_ENUM_B 813s # ENUMSHORT: ENUM_B 813s # ENUMPREFIX: SOME 813s # enumsince: 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # value-production 813s # VALUENAME: ENUM_VALUE_PUBLIC2 813s # valuenick: public2 813s # valuenum: 1 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # value-tail 813s # EnumName: SomeEnumB 813s # enum_name: some_enum_b 813s # ENUMNAME: SOME_ENUM_B 813s # ENUMSHORT: ENUM_B 813s # ENUMPREFIX: SOME 813s # enumsince: 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # file-tail 813s # 813s # comment 813s # comment: Generated data ends here 813s # Error: 813s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 813s # glib-mkenums: /usr/bin/glib-mkenums 813s # tmpdir: /tmp/tmpne79pcme 813s # rspfile: False 813s # /tmp/tmpne79pcme/tmpy8l0d3dd.h: 813s # typedef enum { 813s # /*< private >*/ 813s # ENUM_VALUE_PRIVATE = 5, 813s # /*< public >*/ 813s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 813s # } TestSymbolicEnum; 813s # 813s # /tmp/tmpne79pcme/tmp8ef7u2f1.template: 813s # /*** BEGIN file-header ***/ 813s # file-header 813s # /*** END file-header ***/ 813s # 813s # /*** BEGIN file-production ***/ 813s # file-production 813s # filename: @filename@ 813s # basename: @basename@ 813s # /*** END file-production ***/ 813s # 813s # /*** BEGIN enumeration-production ***/ 813s # enumeration-production 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END enumeration-production ***/ 813s # 813s # /*** BEGIN value-header ***/ 813s # value-header 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-header ***/ 813s # 813s # /*** BEGIN value-production ***/ 813s # value-production 813s # VALUENAME: @VALUENAME@ 813s # valuenick: @valuenick@ 813s # valuenum: @valuenum@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-production ***/ 813s # 813s # /*** BEGIN value-tail ***/ 813s # value-tail 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-tail ***/ 813s # 813s # /*** BEGIN comment ***/ 813s # comment 813s # comment: @comment@ 813s # /*** END comment ***/ 813s # 813s # /*** BEGIN file-tail ***/ 813s # file-tail 813s # /*** END file-tail ***/ 813s # 813s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpne79pcme/tmp8ef7u2f1.template', '/tmp/tmpne79pcme/tmpy8l0d3dd.h'] 813s # Return code: 0 813s # Output: 813s # comment 813s # 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. 813s # 813s # 813s # file-header 813s # file-production 813s # filename: /tmp/tmpne79pcme/tmpy8l0d3dd.h 813s # basename: tmpy8l0d3dd.h 813s # enumeration-production 813s # EnumName: TestSymbolicEnum 813s # enum_name: test_symbolic_enum 813s # ENUMNAME: TEST_SYMBOLIC_ENUM 813s # ENUMSHORT: SYMBOLIC_ENUM 813s # ENUMPREFIX: TEST 813s # enumsince: 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # value-header 813s # EnumName: TestSymbolicEnum 813s # enum_name: test_symbolic_enum 813s # ENUMNAME: TEST_SYMBOLIC_ENUM 813s # ENUMSHORT: SYMBOLIC_ENUM 813s # ENUMPREFIX: TEST 813s # enumsince: 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # value-production 813s # VALUENAME: ENUM_VALUE_PUBLIC 813s # valuenick: public 813s # valuenum: 7 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # value-tail 813s # EnumName: TestSymbolicEnum 813s # enum_name: test_symbolic_enum 813s # ENUMNAME: TEST_SYMBOLIC_ENUM 813s # ENUMSHORT: SYMBOLIC_ENUM 813s # ENUMPREFIX: TEST 813s # enumsince: 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # file-tail 813s # 813s # comment 813s # comment: Generated data ends here 813s # Error: 813s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 813s # glib-mkenums: /usr/bin/glib-mkenums 813s # tmpdir: /tmp/tmp7i9wweqr 813s # rspfile: False 813s # /tmp/tmp7i9wweqr/tmpdx7o6aey.template: 813s # /*** BEGIN file-header ***/ 813s # file-header 813s # filename: @filename@ 813s # basename: @basename@ 813s # /*** END file-header ***/ 813s # 813s # /*** BEGIN comment ***/ 813s # comment 813s # comment: @comment@ 813s # /*** END comment ***/ 813s # 813s # /*** BEGIN file-tail ***/ 813s # file-tail 813s # filename: @filename@ 813s # basename: @basename@ 813s # /*** END file-tail ***/ 813s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp7i9wweqr/tmpdx7o6aey.template'] 813s # Return code: 0 813s # Output: 813s # comment 813s # 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. 813s # 813s # 813s # file-header 813s # filename: @filename@ 813s # basename: @basename@ 813s # file-tail 813s # filename: @filename@ 813s # basename: @basename@ 813s # 813s # comment 813s # comment: Generated data ends here 813s # Error: 813s # WARNING: @filename@ used in file-header section. 813s # WARNING: @basename@ used in file-header section. 813s # WARNING: @filename@ used in file-tail section. 813s # WARNING: @basename@ used in file-tail section. 813s ok 11 __main__.TestMkenums.test_help 813s # glib-mkenums: /usr/bin/glib-mkenums 813s # tmpdir: /tmp/tmpm0cqw2gm 813s # rspfile: False 813s # Running: ['/usr/bin/glib-mkenums', '--help'] 813s # Return code: 0 813s # Output: 813s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 813s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 813s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 813s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 813s # [--comments COMMENT_TMPL] [--template TEMPLATE] 813s # [--output OUTPUT] [--version] 813s # [args ...] 813s # 813s # positional arguments: 813s # args One or more input files, or a single argument 813s # @rspfile_path pointing to a file that contains the 813s # actual arguments 813s # 813s # options: 813s # -h, --help show this help message and exit 813s # --identifier-prefix IDPREFIX 813s # Identifier prefix 813s # --symbol-prefix SYMPREFIX 813s # Symbol prefix 813s # --fhead FHEAD Output file header 813s # --ftail FTAIL Output file footer 813s # --fprod FPROD Put out TEXT every time a new input file is being 813s # processed. 813s # --eprod EPROD Per enum text, produced prior to value iterations 813s # --vhead VHEAD Value header, produced before iterating over enum 813s # values 813s # --vprod VPROD Value text, produced for each enum value. 813s # --vtail VTAIL Value tail, produced after iterating over enum values 813s # --comments COMMENT_TMPL 813s # Comment structure 813s # --template TEMPLATE Template file 813s # --output OUTPUT 813s # --version, -v Print version information 813s # 813s # Production text substitutions: 813s # @EnumName@ PrefixTheXEnum 813s # @enum_name@ prefix_the_xenum 813s # @ENUMNAME@ PREFIX_THE_XENUM 813s # @ENUMSHORT@ THE_XENUM 813s # @ENUMPREFIX@ PREFIX 813s # @enumsince@ the user-provided since value given 813s # @VALUENAME@ PREFIX_THE_XVALUE 813s # @valuenick@ the-xvalue 813s # @valuenum@ the integer value (limited support, Since: 2.26) 813s # @type@ either enum or flags 813s # @Type@ either Enum or Flags 813s # @TYPE@ either ENUM or FLAGS 813s # @filename@ name of current input file 813s # @basename@ base name of the current input file (Since: 2.22) 813s # Error: 813s ok 12 __main__.TestMkenums.test_no_args 813s # glib-mkenums: /usr/bin/glib-mkenums 813s # tmpdir: /tmp/tmp3hqhr66n 813s # rspfile: False 813s # Running: ['/usr/bin/glib-mkenums'] 813s # Return code: 0 813s # Output: 813s # /* 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. */ 813s # 813s # 813s # /* Generated data ends here */ 813s # Error: 813s ok 13 __main__.TestMkenums.test_no_headers 813s # glib-mkenums: /usr/bin/glib-mkenums 813s # tmpdir: /tmp/tmpzw5yn9if 813s # rspfile: False 813s # /tmp/tmpzw5yn9if/tmp2kugg7u_.template: 813s # /*** BEGIN file-header ***/ 813s # file-header 813s # /*** END file-header ***/ 813s # 813s # /*** BEGIN file-production ***/ 813s # file-production 813s # filename: @filename@ 813s # basename: @basename@ 813s # /*** END file-production ***/ 813s # 813s # /*** BEGIN enumeration-production ***/ 813s # enumeration-production 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END enumeration-production ***/ 813s # 813s # /*** BEGIN value-header ***/ 813s # value-header 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-header ***/ 813s # 813s # /*** BEGIN value-production ***/ 813s # value-production 813s # VALUENAME: @VALUENAME@ 813s # valuenick: @valuenick@ 813s # valuenum: @valuenum@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-production ***/ 813s # 813s # /*** BEGIN value-tail ***/ 813s # value-tail 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-tail ***/ 813s # 813s # /*** BEGIN comment ***/ 813s # comment 813s # comment: @comment@ 813s # /*** END comment ***/ 813s # 813s # /*** BEGIN file-tail ***/ 813s # file-tail 813s # /*** END file-tail ***/ 813s # 813s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpzw5yn9if/tmp2kugg7u_.template'] 813s # Return code: 0 813s # Output: 813s # comment 813s # 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. 813s # 813s # 813s # file-header 813s # file-tail 813s # 813s # comment 813s # comment: Generated data ends here 813s # Error: 813s ok 14 __main__.TestMkenums.test_no_nick 813s # glib-mkenums: /usr/bin/glib-mkenums 813s # tmpdir: /tmp/tmps15ah94i 813s # rspfile: False 813s # /tmp/tmps15ah94i/tmpfgkdbp8s.h: 813s # typedef enum { 813s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 813s # } GeglSamplerType; 813s # 813s # /tmp/tmps15ah94i/tmpvozh1_yr.template: 813s # /*** BEGIN file-header ***/ 813s # file-header 813s # /*** END file-header ***/ 813s # 813s # /*** BEGIN file-production ***/ 813s # file-production 813s # filename: @filename@ 813s # basename: @basename@ 813s # /*** END file-production ***/ 813s # 813s # /*** BEGIN enumeration-production ***/ 813s # enumeration-production 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END enumeration-production ***/ 813s # 813s # /*** BEGIN value-header ***/ 813s # value-header 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-header ***/ 813s # 813s # /*** BEGIN value-production ***/ 813s # value-production 813s # VALUENAME: @VALUENAME@ 813s # valuenick: @valuenick@ 813s # valuenum: @valuenum@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-production ***/ 813s # 813s # /*** BEGIN value-tail ***/ 813s # value-tail 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-tail ***/ 813s # 813s # /*** BEGIN comment ***/ 813s # comment 813s # comment: @comment@ 813s # /*** END comment ***/ 813s # 813s # /*** BEGIN file-tail ***/ 813s # file-tail 813s # /*** END file-tail ***/ 813s # 813s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmps15ah94i/tmpvozh1_yr.template', '/tmp/tmps15ah94i/tmpfgkdbp8s.h'] 813s # Return code: 0 813s # Output: 813s # comment 813s # 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. 813s # 813s # 813s # file-header 813s # file-production 813s # filename: /tmp/tmps15ah94i/tmpfgkdbp8s.h 813s # basename: tmpfgkdbp8s.h 813s # enumeration-production 813s # EnumName: GeglSamplerType 813s # enum_name: gegl_sampler_type 813s # ENUMNAME: GEGL_SAMPLER_TYPE 813s # ENUMSHORT: SAMPLER_TYPE 813s # ENUMPREFIX: GEGL 813s # enumsince: 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # value-header 813s # EnumName: GeglSamplerType 813s # enum_name: gegl_sampler_type 813s # ENUMNAME: GEGL_SAMPLER_TYPE 813s # ENUMSHORT: SAMPLER_TYPE 813s # ENUMPREFIX: GEGL 813s # enumsince: 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # value-production 813s # VALUENAME: GEGL_SAMPLER_NEAREST 813s # valuenick: nearest 813s # valuenum: 0 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # value-tail 813s # EnumName: GeglSamplerType 813s # enum_name: gegl_sampler_type 813s # ENUMNAME: GEGL_SAMPLER_TYPE 813s # ENUMSHORT: SAMPLER_TYPE 813s # ENUMPREFIX: GEGL 813s # enumsince: 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # file-tail 813s # 813s # comment 813s # comment: Generated data ends here 813s # Error: 813s ok 15 __main__.TestMkenums.test_non_utf8_encoding 813s # glib-mkenums: /usr/bin/glib-mkenums 813s # tmpdir: /tmp/tmp7_4cnn73 813s # rspfile: False 813s # /tmp/tmp7_4cnn73/tmp0rzej9q2.h: 813s # /* Copyright © La Peña */ 813s # typedef enum { 813s # ENUM_VALUE 813s # } SomeEnumIdentifier; 813s # 813s # /tmp/tmp7_4cnn73/tmpvu8wma6g.template: 813s # /*** BEGIN file-header ***/ 813s # file-header 813s # /*** END file-header ***/ 813s # 813s # /*** BEGIN file-production ***/ 813s # file-production 813s # filename: @filename@ 813s # basename: @basename@ 813s # /*** END file-production ***/ 813s # 813s # /*** BEGIN enumeration-production ***/ 813s # enumeration-production 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END enumeration-production ***/ 813s # 813s # /*** BEGIN value-header ***/ 813s # value-header 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-header ***/ 813s # 813s # /*** BEGIN value-production ***/ 813s # value-production 813s # VALUENAME: @VALUENAME@ 813s # valuenick: @valuenick@ 813s # valuenum: @valuenum@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-production ***/ 813s # 813s # /*** BEGIN value-tail ***/ 813s # value-tail 813s # EnumName: @EnumName@ 813s # enum_name: @enum_name@ 813s # ENUMNAME: @ENUMNAME@ 813s # ENUMSHORT: @ENUMSHORT@ 813s # ENUMPREFIX: @ENUMPREFIX@ 813s # enumsince: @enumsince@ 813s # type: @type@ 813s # Type: @Type@ 813s # TYPE: @TYPE@ 813s # /*** END value-tail ***/ 813s # 813s # /*** BEGIN comment ***/ 813s # comment 813s # comment: @comment@ 813s # /*** END comment ***/ 813s # 813s # /*** BEGIN file-tail ***/ 813s # file-tail 813s # /*** END file-tail ***/ 813s # 813s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp7_4cnn73/tmpvu8wma6g.template', '/tmp/tmp7_4cnn73/tmp0rzej9q2.h'] 813s # Return code: 0 813s # Output: 813s # comment 813s # 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. 813s # 813s # 813s # file-header 813s # file-production 813s # filename: /tmp/tmp7_4cnn73/tmp0rzej9q2.h 813s # basename: tmp0rzej9q2.h 813s # enumeration-production 813s # EnumName: SomeEnumIdentifier 813s # enum_name: some_enum_identifier 813s # ENUMNAME: SOME_ENUM_IDENTIFIER 813s # ENUMSHORT: ENUM_IDENTIFIER 813s # ENUMPREFIX: SOME 813s # enumsince: 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # value-header 813s # EnumName: SomeEnumIdentifier 813s # enum_name: some_enum_identifier 813s # ENUMNAME: SOME_ENUM_IDENTIFIER 813s # ENUMSHORT: ENUM_IDENTIFIER 813s # ENUMPREFIX: SOME 813s # enumsince: 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # value-production 813s # VALUENAME: ENUM_VALUE 813s # valuenick: value 813s # valuenum: 0 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # value-tail 813s # EnumName: SomeEnumIdentifier 813s # enum_name: some_enum_identifier 813s # ENUMNAME: SOME_ENUM_IDENTIFIER 813s # ENUMSHORT: ENUM_IDENTIFIER 813s # ENUMPREFIX: SOME 813s # enumsince: 813s # type: enum 813s # Type: Enum 813s # TYPE: ENUM 813s # file-tail 813s # 813s # comment 813s # comment: Generated data ends here 813s # Error: 813s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 813s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 814s ok 16 __main__.TestMkenums.test_reproducible 814s # glib-mkenums: /usr/bin/glib-mkenums 814s # tmpdir: /tmp/tmp8w1zrn9f 814s # rspfile: False 814s # /tmp/tmp8w1zrn9f/tmpzb4rg9l0.template: template 814s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8w1zrn9f/tmpzb4rg9l0.template', '/tmp/tmp8w1zrn9f/tmpuqdu3en21.h', '/tmp/tmp8w1zrn9f/tmpoy2i9j1l2.h'] 814s # Return code: 0 814s # Output: 814s # /* 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. */ 814s # 814s # 814s # /* Generated data ends here */ 814s # Error: 814s # 814s # /tmp/tmp8w1zrn9f/tmpe2ighqgm.template: template 814s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8w1zrn9f/tmpe2ighqgm.template', '/tmp/tmp8w1zrn9f/tmpoy2i9j1l2.h', '/tmp/tmp8w1zrn9f/tmpuqdu3en21.h'] 814s # Return code: 0 814s # Output: 814s # /* 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. */ 814s # 814s # 814s # /* Generated data ends here */ 814s # Error: 814s ok 17 __main__.TestMkenums.test_since 814s # glib-mkenums: /usr/bin/glib-mkenums 814s # tmpdir: /tmp/tmpb_jjbzui 814s # rspfile: False 814s # /tmp/tmpb_jjbzui/tmpfivtgpam.h: 814s # typedef enum { /*< since=1.0 >*/ 814s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 814s # } QmiWmsMessageProtocol; 814s # 814s # /tmp/tmpb_jjbzui/tmpw3py1pyu.template: 814s # /*** BEGIN file-header ***/ 814s # file-header 814s # /*** END file-header ***/ 814s # 814s # /*** BEGIN file-production ***/ 814s # file-production 814s # filename: @filename@ 814s # basename: @basename@ 814s # /*** END file-production ***/ 814s # 814s # /*** BEGIN enumeration-production ***/ 814s # enumeration-production 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END enumeration-production ***/ 814s # 814s # /*** BEGIN value-header ***/ 814s # value-header 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-header ***/ 814s # 814s # /*** BEGIN value-production ***/ 814s # value-production 814s # VALUENAME: @VALUENAME@ 814s # valuenick: @valuenick@ 814s # valuenum: @valuenum@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-production ***/ 814s # 814s # /*** BEGIN value-tail ***/ 814s # value-tail 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-tail ***/ 814s # 814s # /*** BEGIN comment ***/ 814s # comment 814s # comment: @comment@ 814s # /*** END comment ***/ 814s # 814s # /*** BEGIN file-tail ***/ 814s # file-tail 814s # /*** END file-tail ***/ 814s # 814s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpb_jjbzui/tmpw3py1pyu.template', '/tmp/tmpb_jjbzui/tmpfivtgpam.h'] 814s # Return code: 0 814s # Output: 814s # comment 814s # 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. 814s # 814s # 814s # file-header 814s # file-production 814s # filename: /tmp/tmpb_jjbzui/tmpfivtgpam.h 814s # basename: tmpfivtgpam.h 814s # enumeration-production 814s # EnumName: QmiWmsMessageProtocol 814s # enum_name: qmi_wms_message_protocol 814s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 814s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 814s # ENUMPREFIX: QMI 814s # enumsince: 1.0 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-header 814s # EnumName: QmiWmsMessageProtocol 814s # enum_name: qmi_wms_message_protocol 814s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 814s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 814s # ENUMPREFIX: QMI 814s # enumsince: 1.0 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-production 814s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 814s # valuenick: cdma 814s # valuenum: 0 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-tail 814s # EnumName: QmiWmsMessageProtocol 814s # enum_name: qmi_wms_message_protocol 814s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 814s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 814s # ENUMPREFIX: QMI 814s # enumsince: 1.0 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # file-tail 814s # 814s # comment 814s # comment: Generated data ends here 814s # Error: 814s ok 18 __main__.TestMkenums.test_with_double_quotes 814s # glib-mkenums: /usr/bin/glib-mkenums 814s # tmpdir: /tmp/tmpsbon88pf 814s # rspfile: False 814s # /tmp/tmpsbon88pf/tmpo4sg4fn6.h: 814s # typedef enum { 814s # FOO_VALUE /*< nick="eek, a comma" >*/ 814s # } Foo; 814s # 814s # /tmp/tmpsbon88pf/tmpzji5aa1o.template: 814s # /*** BEGIN file-header ***/ 814s # file-header 814s # /*** END file-header ***/ 814s # 814s # /*** BEGIN file-production ***/ 814s # file-production 814s # filename: @filename@ 814s # basename: @basename@ 814s # /*** END file-production ***/ 814s # 814s # /*** BEGIN enumeration-production ***/ 814s # enumeration-production 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END enumeration-production ***/ 814s # 814s # /*** BEGIN value-header ***/ 814s # value-header 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-header ***/ 814s # 814s # /*** BEGIN value-production ***/ 814s # value-production 814s # VALUENAME: @VALUENAME@ 814s # valuenick: @valuenick@ 814s # valuenum: @valuenum@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-production ***/ 814s # 814s # /*** BEGIN value-tail ***/ 814s # value-tail 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-tail ***/ 814s # 814s # /*** BEGIN comment ***/ 814s # comment 814s # comment: @comment@ 814s # /*** END comment ***/ 814s # 814s # /*** BEGIN file-tail ***/ 814s # file-tail 814s # /*** END file-tail ***/ 814s # 814s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpsbon88pf/tmpzji5aa1o.template', '/tmp/tmpsbon88pf/tmpo4sg4fn6.h'] 814s # Return code: 0 814s # Output: 814s # comment 814s # 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. 814s # 814s # 814s # file-header 814s # file-production 814s # filename: /tmp/tmpsbon88pf/tmpo4sg4fn6.h 814s # basename: tmpo4sg4fn6.h 814s # enumeration-production 814s # EnumName: Foo 814s # enum_name: foo_ 814s # ENUMNAME: FOO_ 814s # ENUMSHORT: 814s # ENUMPREFIX: FOO 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-header 814s # EnumName: Foo 814s # enum_name: foo_ 814s # ENUMNAME: FOO_ 814s # ENUMSHORT: 814s # ENUMPREFIX: FOO 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-production 814s # VALUENAME: FOO_VALUE 814s # valuenick: eek, a comma 814s # valuenum: 0 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-tail 814s # EnumName: Foo 814s # enum_name: foo_ 814s # ENUMNAME: FOO_ 814s # ENUMSHORT: 814s # ENUMPREFIX: FOO 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # file-tail 814s # 814s # comment 814s # comment: Generated data ends here 814s # Error: 814s ok 19 __main__.TestRspMkenums.test_available_in 814s # glib-mkenums: /usr/bin/glib-mkenums 814s # tmpdir: /tmp/tmpdcli8cj0 814s # rspfile: True 814s # /tmp/tmpdcli8cj0/tmpbjvhumd9.h: 814s # typedef enum { 814s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 814s # } GDBusServerFlags; 814s # 814s # /tmp/tmpdcli8cj0/tmpazl2ww_d.template: 814s # /*** BEGIN file-header ***/ 814s # file-header 814s # /*** END file-header ***/ 814s # 814s # /*** BEGIN file-production ***/ 814s # file-production 814s # filename: @filename@ 814s # basename: @basename@ 814s # /*** END file-production ***/ 814s # 814s # /*** BEGIN enumeration-production ***/ 814s # enumeration-production 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END enumeration-production ***/ 814s # 814s # /*** BEGIN value-header ***/ 814s # value-header 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-header ***/ 814s # 814s # /*** BEGIN value-production ***/ 814s # value-production 814s # VALUENAME: @VALUENAME@ 814s # valuenick: @valuenick@ 814s # valuenum: @valuenum@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-production ***/ 814s # 814s # /*** BEGIN value-tail ***/ 814s # value-tail 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-tail ***/ 814s # 814s # /*** BEGIN comment ***/ 814s # comment 814s # comment: @comment@ 814s # /*** END comment ***/ 814s # 814s # /*** BEGIN file-tail ***/ 814s # file-tail 814s # /*** END file-tail ***/ 814s # 814s # Response file contains: --template /tmp/tmpdcli8cj0/tmpazl2ww_d.template /tmp/tmpdcli8cj0/tmpbjvhumd9.h 814s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpdcli8cj0/tmp7lqyfr2o'] 814s # Return code: 0 814s # Output: 814s # comment 814s # 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. 814s # 814s # 814s # file-header 814s # file-production 814s # filename: /tmp/tmpdcli8cj0/tmpbjvhumd9.h 814s # basename: tmpbjvhumd9.h 814s # enumeration-production 814s # EnumName: GDBusServerFlags 814s # enum_name: g_dbus_server_flags 814s # ENUMNAME: G_DBUS_SERVER_FLAGS 814s # ENUMSHORT: DBUS_SERVER_FLAGS 814s # ENUMPREFIX: G 814s # enumsince: 814s # type: flags 814s # Type: Flags 814s # TYPE: FLAGS 814s # value-header 814s # EnumName: GDBusServerFlags 814s # enum_name: g_dbus_server_flags 814s # ENUMNAME: G_DBUS_SERVER_FLAGS 814s # ENUMSHORT: DBUS_SERVER_FLAGS 814s # ENUMPREFIX: G 814s # enumsince: 814s # type: flags 814s # Type: Flags 814s # TYPE: FLAGS 814s # value-production 814s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 814s # valuenick: user 814s # valuenum: 4 814s # type: flags 814s # Type: Flags 814s # TYPE: FLAGS 814s # value-tail 814s # EnumName: GDBusServerFlags 814s # enum_name: g_dbus_server_flags 814s # ENUMNAME: G_DBUS_SERVER_FLAGS 814s # ENUMSHORT: DBUS_SERVER_FLAGS 814s # ENUMPREFIX: G 814s # enumsince: 814s # type: flags 814s # Type: Flags 814s # TYPE: FLAGS 814s # file-tail 814s # 814s # comment 814s # comment: Generated data ends here 814s # Error: 814s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 814s # glib-mkenums: /usr/bin/glib-mkenums 814s # tmpdir: /tmp/tmpbtt4po01 814s # rspfile: True 814s # /tmp/tmpbtt4po01/tmp7n3z9u0w.h: 814s # typedef enum { 814s # ENUM_VALUE_WITH_COMMA = ',', 814s # } TestCommaEnum; 814s # 814s # /tmp/tmpbtt4po01/tmpu_gp9qa1.template: 814s # /*** BEGIN file-header ***/ 814s # file-header 814s # /*** END file-header ***/ 814s # 814s # /*** BEGIN file-production ***/ 814s # file-production 814s # filename: @filename@ 814s # basename: @basename@ 814s # /*** END file-production ***/ 814s # 814s # /*** BEGIN enumeration-production ***/ 814s # enumeration-production 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END enumeration-production ***/ 814s # 814s # /*** BEGIN value-header ***/ 814s # value-header 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-header ***/ 814s # 814s # /*** BEGIN value-production ***/ 814s # value-production 814s # VALUENAME: @VALUENAME@ 814s # valuenick: @valuenick@ 814s # valuenum: @valuenum@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-production ***/ 814s # 814s # /*** BEGIN value-tail ***/ 814s # value-tail 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-tail ***/ 814s # 814s # /*** BEGIN comment ***/ 814s # comment 814s # comment: @comment@ 814s # /*** END comment ***/ 814s # 814s # /*** BEGIN file-tail ***/ 814s # file-tail 814s # /*** END file-tail ***/ 814s # 814s # Response file contains: --template /tmp/tmpbtt4po01/tmpu_gp9qa1.template /tmp/tmpbtt4po01/tmp7n3z9u0w.h 814s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbtt4po01/tmpmnjukq8d'] 814s # Return code: 0 814s # Output: 814s # comment 814s # 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. 814s # 814s # 814s # file-header 814s # file-production 814s # filename: /tmp/tmpbtt4po01/tmp7n3z9u0w.h 814s # basename: tmp7n3z9u0w.h 814s # enumeration-production 814s # EnumName: TestCommaEnum 814s # enum_name: test_comma_enum 814s # ENUMNAME: TEST_COMMA_ENUM 814s # ENUMSHORT: COMMA_ENUM 814s # ENUMPREFIX: TEST 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-header 814s # EnumName: TestCommaEnum 814s # enum_name: test_comma_enum 814s # ENUMNAME: TEST_COMMA_ENUM 814s # ENUMSHORT: COMMA_ENUM 814s # ENUMPREFIX: TEST 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-production 814s # VALUENAME: ENUM_VALUE_WITH_COMMA 814s # valuenick: comma 814s # valuenum: 44 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-tail 814s # EnumName: TestCommaEnum 814s # enum_name: test_comma_enum 814s # ENUMNAME: TEST_COMMA_ENUM 814s # ENUMSHORT: COMMA_ENUM 814s # ENUMPREFIX: TEST 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # file-tail 814s # 814s # comment 814s # comment: Generated data ends here 814s # Error: 814s ok 21 __main__.TestRspMkenums.test_deprecated_in 814s # glib-mkenums: /usr/bin/glib-mkenums 814s # tmpdir: /tmp/tmpe9wsdhgw 814s # rspfile: True 814s # /tmp/tmpe9wsdhgw/tmp8t84_36n.h: 814s # typedef enum { 814s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 814s # } GDBusServerFlags; 814s # 814s # /tmp/tmpe9wsdhgw/tmp85img5i9.template: 814s # /*** BEGIN file-header ***/ 814s # file-header 814s # /*** END file-header ***/ 814s # 814s # /*** BEGIN file-production ***/ 814s # file-production 814s # filename: @filename@ 814s # basename: @basename@ 814s # /*** END file-production ***/ 814s # 814s # /*** BEGIN enumeration-production ***/ 814s # enumeration-production 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END enumeration-production ***/ 814s # 814s # /*** BEGIN value-header ***/ 814s # value-header 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-header ***/ 814s # 814s # /*** BEGIN value-production ***/ 814s # value-production 814s # VALUENAME: @VALUENAME@ 814s # valuenick: @valuenick@ 814s # valuenum: @valuenum@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-production ***/ 814s # 814s # /*** BEGIN value-tail ***/ 814s # value-tail 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-tail ***/ 814s # 814s # /*** BEGIN comment ***/ 814s # comment 814s # comment: @comment@ 814s # /*** END comment ***/ 814s # 814s # /*** BEGIN file-tail ***/ 814s # file-tail 814s # /*** END file-tail ***/ 814s # 814s # Response file contains: --template /tmp/tmpe9wsdhgw/tmp85img5i9.template /tmp/tmpe9wsdhgw/tmp8t84_36n.h 814s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpe9wsdhgw/tmpbq720ohg'] 814s # Return code: 0 814s # Output: 814s # comment 814s # 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. 814s # 814s # 814s # file-header 814s # file-production 814s # filename: /tmp/tmpe9wsdhgw/tmp8t84_36n.h 814s # basename: tmp8t84_36n.h 814s # enumeration-production 814s # EnumName: GDBusServerFlags 814s # enum_name: g_dbus_server_flags 814s # ENUMNAME: G_DBUS_SERVER_FLAGS 814s # ENUMSHORT: DBUS_SERVER_FLAGS 814s # ENUMPREFIX: G 814s # enumsince: 814s # type: flags 814s # Type: Flags 814s # TYPE: FLAGS 814s # value-header 814s # EnumName: GDBusServerFlags 814s # enum_name: g_dbus_server_flags 814s # ENUMNAME: G_DBUS_SERVER_FLAGS 814s # ENUMSHORT: DBUS_SERVER_FLAGS 814s # ENUMPREFIX: G 814s # enumsince: 814s # type: flags 814s # Type: Flags 814s # TYPE: FLAGS 814s # value-production 814s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 814s # valuenick: user 814s # valuenum: 4 814s # type: flags 814s # Type: Flags 814s # TYPE: FLAGS 814s # value-tail 814s # EnumName: GDBusServerFlags 814s # enum_name: g_dbus_server_flags 814s # ENUMNAME: G_DBUS_SERVER_FLAGS 814s # ENUMSHORT: DBUS_SERVER_FLAGS 814s # ENUMPREFIX: G 814s # enumsince: 814s # type: flags 814s # Type: Flags 814s # TYPE: FLAGS 814s # file-tail 814s # 814s # comment 814s # comment: Generated data ends here 814s # Error: 814s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 814s # glib-mkenums: /usr/bin/glib-mkenums 814s # tmpdir: /tmp/tmpt633fhvj 814s # rspfile: True 814s # /tmp/tmpt633fhvj/tmph1243e5t.h: 814s # typedef enum { 814s # 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) 814s # } GDBusServerFlags; 814s # 814s # /tmp/tmpt633fhvj/tmp3gci2e0_.template: 814s # /*** BEGIN file-header ***/ 814s # file-header 814s # /*** END file-header ***/ 814s # 814s # /*** BEGIN file-production ***/ 814s # file-production 814s # filename: @filename@ 814s # basename: @basename@ 814s # /*** END file-production ***/ 814s # 814s # /*** BEGIN enumeration-production ***/ 814s # enumeration-production 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END enumeration-production ***/ 814s # 814s # /*** BEGIN value-header ***/ 814s # value-header 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-header ***/ 814s # 814s # /*** BEGIN value-production ***/ 814s # value-production 814s # VALUENAME: @VALUENAME@ 814s # valuenick: @valuenick@ 814s # valuenum: @valuenum@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-production ***/ 814s # 814s # /*** BEGIN value-tail ***/ 814s # value-tail 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-tail ***/ 814s # 814s # /*** BEGIN comment ***/ 814s # comment 814s # comment: @comment@ 814s # /*** END comment ***/ 814s # 814s # /*** BEGIN file-tail ***/ 814s # file-tail 814s # /*** END file-tail ***/ 814s # 814s # Response file contains: --template /tmp/tmpt633fhvj/tmp3gci2e0_.template /tmp/tmpt633fhvj/tmph1243e5t.h 814s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpt633fhvj/tmpus8ahscf'] 814s # Return code: 0 814s # Output: 814s # comment 814s # 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. 814s # 814s # 814s # file-header 814s # file-production 814s # filename: /tmp/tmpt633fhvj/tmph1243e5t.h 814s # basename: tmph1243e5t.h 814s # enumeration-production 814s # EnumName: GDBusServerFlags 814s # enum_name: g_dbus_server_flags 814s # ENUMNAME: G_DBUS_SERVER_FLAGS 814s # ENUMSHORT: DBUS_SERVER_FLAGS 814s # ENUMPREFIX: G 814s # enumsince: 814s # type: flags 814s # Type: Flags 814s # TYPE: FLAGS 814s # value-header 814s # EnumName: GDBusServerFlags 814s # enum_name: g_dbus_server_flags 814s # ENUMNAME: G_DBUS_SERVER_FLAGS 814s # ENUMSHORT: DBUS_SERVER_FLAGS 814s # ENUMPREFIX: G 814s # enumsince: 814s # type: flags 814s # Type: Flags 814s # TYPE: FLAGS 814s # value-production 814s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 814s # valuenick: user 814s # valuenum: 4 814s # type: flags 814s # Type: Flags 814s # TYPE: FLAGS 814s # value-tail 814s # EnumName: GDBusServerFlags 814s # enum_name: g_dbus_server_flags 814s # ENUMNAME: G_DBUS_SERVER_FLAGS 814s # ENUMSHORT: DBUS_SERVER_FLAGS 814s # ENUMPREFIX: G 814s # enumsince: 814s # type: flags 814s # Type: Flags 814s # TYPE: FLAGS 814s # file-tail 814s # 814s # comment 814s # comment: Generated data ends here 814s # Error: 814s ok 23 __main__.TestRspMkenums.test_empty_header 814s # glib-mkenums: /usr/bin/glib-mkenums 814s # tmpdir: /tmp/tmpx1qvynwp 814s # rspfile: True 814s # /tmp/tmpx1qvynwp/tmpuuvow3dr.h: 814s # /tmp/tmpx1qvynwp/tmpncfjz981.template: 814s # /*** BEGIN file-header ***/ 814s # file-header 814s # /*** END file-header ***/ 814s # 814s # /*** BEGIN file-production ***/ 814s # file-production 814s # filename: @filename@ 814s # basename: @basename@ 814s # /*** END file-production ***/ 814s # 814s # /*** BEGIN enumeration-production ***/ 814s # enumeration-production 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END enumeration-production ***/ 814s # 814s # /*** BEGIN value-header ***/ 814s # value-header 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-header ***/ 814s # 814s # /*** BEGIN value-production ***/ 814s # value-production 814s # VALUENAME: @VALUENAME@ 814s # valuenick: @valuenick@ 814s # valuenum: @valuenum@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-production ***/ 814s # 814s # /*** BEGIN value-tail ***/ 814s # value-tail 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-tail ***/ 814s # 814s # /*** BEGIN comment ***/ 814s # comment 814s # comment: @comment@ 814s # /*** END comment ***/ 814s # 814s # /*** BEGIN file-tail ***/ 814s # file-tail 814s # /*** END file-tail ***/ 814s # 814s # Response file contains: --template /tmp/tmpx1qvynwp/tmpncfjz981.template /tmp/tmpx1qvynwp/tmpuuvow3dr.h 814s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpx1qvynwp/tmp9tyo0lfu'] 814s # Return code: 0 814s # Output: 814s # comment 814s # 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. 814s # 814s # 814s # file-header 814s # file-tail 814s # 814s # comment 814s # comment: Generated data ends here 814s # Error: 814s ok 24 __main__.TestRspMkenums.test_empty_template 814s # glib-mkenums: /usr/bin/glib-mkenums 814s # tmpdir: /tmp/tmpq_q89uek 814s # rspfile: True 814s # /tmp/tmpq_q89uek/tmpfsrytxwv.template: 814s # Response file contains: --template /tmp/tmpq_q89uek/tmpfsrytxwv.template 814s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpq_q89uek/tmpk474n3nv'] 814s # Return code: 0 814s # Output: 814s # /* 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. */ 814s # 814s # 814s # /* Generated data ends here */ 814s # Error: 814s ok 25 __main__.TestRspMkenums.test_enum_name 814s # glib-mkenums: /usr/bin/glib-mkenums 814s # tmpdir: /tmp/tmpz58yjzi_ 814s # rspfile: True 814s # /tmp/tmpz58yjzi_/tmphut7gat5.h: 814s # typedef enum _SomeEnumIdentifier { 814s # ENUM_VALUE 814s # } SomeEnumIdentifier; 814s # 814s # /tmp/tmpz58yjzi_/tmpjuf7z0b1.template: 814s # /*** BEGIN file-header ***/ 814s # file-header 814s # /*** END file-header ***/ 814s # 814s # /*** BEGIN file-production ***/ 814s # file-production 814s # filename: @filename@ 814s # basename: @basename@ 814s # /*** END file-production ***/ 814s # 814s # /*** BEGIN enumeration-production ***/ 814s # enumeration-production 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END enumeration-production ***/ 814s # 814s # /*** BEGIN value-header ***/ 814s # value-header 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-header ***/ 814s # 814s # /*** BEGIN value-production ***/ 814s # value-production 814s # VALUENAME: @VALUENAME@ 814s # valuenick: @valuenick@ 814s # valuenum: @valuenum@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-production ***/ 814s # 814s # /*** BEGIN value-tail ***/ 814s # value-tail 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-tail ***/ 814s # 814s # /*** BEGIN comment ***/ 814s # comment 814s # comment: @comment@ 814s # /*** END comment ***/ 814s # 814s # /*** BEGIN file-tail ***/ 814s # file-tail 814s # /*** END file-tail ***/ 814s # 814s # Response file contains: --template /tmp/tmpz58yjzi_/tmpjuf7z0b1.template /tmp/tmpz58yjzi_/tmphut7gat5.h 814s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpz58yjzi_/tmpgaj6m3_p'] 814s # Return code: 0 814s # Output: 814s # comment 814s # 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. 814s # 814s # 814s # file-header 814s # file-production 814s # filename: /tmp/tmpz58yjzi_/tmphut7gat5.h 814s # basename: tmphut7gat5.h 814s # enumeration-production 814s # EnumName: SomeEnumIdentifier 814s # enum_name: some_enum_identifier 814s # ENUMNAME: SOME_ENUM_IDENTIFIER 814s # ENUMSHORT: ENUM_IDENTIFIER 814s # ENUMPREFIX: SOME 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-header 814s # EnumName: SomeEnumIdentifier 814s # enum_name: some_enum_identifier 814s # ENUMNAME: SOME_ENUM_IDENTIFIER 814s # ENUMSHORT: ENUM_IDENTIFIER 814s # ENUMPREFIX: SOME 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-production 814s # VALUENAME: ENUM_VALUE 814s # valuenick: value 814s # valuenum: 0 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-tail 814s # EnumName: SomeEnumIdentifier 814s # enum_name: some_enum_identifier 814s # ENUMNAME: SOME_ENUM_IDENTIFIER 814s # ENUMSHORT: ENUM_IDENTIFIER 814s # ENUMPREFIX: SOME 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # file-tail 814s # 814s # comment 814s # comment: Generated data ends here 814s # Error: 814s ok 26 __main__.TestRspMkenums.test_enum_private_public 814s # glib-mkenums: /usr/bin/glib-mkenums 814s # tmpdir: /tmp/tmpthoi1bn_ 814s # rspfile: True 814s # /tmp/tmpthoi1bn_/tmparm0b8de.h: 814s # typedef enum { 814s # ENUM_VALUE_PUBLIC1, 814s # /*< private >*/ 814s # ENUM_VALUE_PRIVATE, 814s # } SomeEnumA 814s # 814s # /tmp/tmpthoi1bn_/tmpmzm86dpm.template: 814s # /*** BEGIN file-header ***/ 814s # file-header 814s # /*** END file-header ***/ 814s # 814s # /*** BEGIN file-production ***/ 814s # file-production 814s # filename: @filename@ 814s # basename: @basename@ 814s # /*** END file-production ***/ 814s # 814s # /*** BEGIN enumeration-production ***/ 814s # enumeration-production 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END enumeration-production ***/ 814s # 814s # /*** BEGIN value-header ***/ 814s # value-header 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-header ***/ 814s # 814s # /*** BEGIN value-production ***/ 814s # value-production 814s # VALUENAME: @VALUENAME@ 814s # valuenick: @valuenick@ 814s # valuenum: @valuenum@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-production ***/ 814s # 814s # /*** BEGIN value-tail ***/ 814s # value-tail 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-tail ***/ 814s # 814s # /*** BEGIN comment ***/ 814s # comment 814s # comment: @comment@ 814s # /*** END comment ***/ 814s # 814s # /*** BEGIN file-tail ***/ 814s # file-tail 814s # /*** END file-tail ***/ 814s # 814s # Response file contains: --template /tmp/tmpthoi1bn_/tmpmzm86dpm.template /tmp/tmpthoi1bn_/tmparm0b8de.h 814s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpthoi1bn_/tmpcz69i116'] 814s # Return code: 0 814s # Output: 814s # comment 814s # 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. 814s # 814s # 814s # file-header 814s # file-production 814s # filename: /tmp/tmpthoi1bn_/tmparm0b8de.h 814s # basename: tmparm0b8de.h 814s # enumeration-production 814s # EnumName: SomeEnumA 814s # enum_name: some_enum_a 814s # ENUMNAME: SOME_ENUM_A 814s # ENUMSHORT: ENUM_A 814s # ENUMPREFIX: SOME 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-header 814s # EnumName: SomeEnumA 814s # enum_name: some_enum_a 814s # ENUMNAME: SOME_ENUM_A 814s # ENUMSHORT: ENUM_A 814s # ENUMPREFIX: SOME 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-production 814s # VALUENAME: ENUM_VALUE_PUBLIC1 814s # valuenick: public1 814s # valuenum: 0 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-tail 814s # EnumName: SomeEnumA 814s # enum_name: some_enum_a 814s # ENUMNAME: SOME_ENUM_A 814s # ENUMSHORT: ENUM_A 814s # ENUMPREFIX: SOME 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # file-tail 814s # 814s # comment 814s # comment: Generated data ends here 814s # Error: 814s # 814s # /tmp/tmpthoi1bn_/tmp6whg46qm.h: 814s # typedef enum { 814s # /*< private >*/ 814s # ENUM_VALUE_PRIVATE, 814s # /*< public >*/ 814s # ENUM_VALUE_PUBLIC2, 814s # } SomeEnumB; 814s # 814s # /tmp/tmpthoi1bn_/tmp4m_4pvzo.template: 814s # /*** BEGIN file-header ***/ 814s # file-header 814s # /*** END file-header ***/ 814s # 814s # /*** BEGIN file-production ***/ 814s # file-production 814s # filename: @filename@ 814s # basename: @basename@ 814s # /*** END file-production ***/ 814s # 814s # /*** BEGIN enumeration-production ***/ 814s # enumeration-production 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END enumeration-production ***/ 814s # 814s # /*** BEGIN value-header ***/ 814s # value-header 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-header ***/ 814s # 814s # /*** BEGIN value-production ***/ 814s # value-production 814s # VALUENAME: @VALUENAME@ 814s # valuenick: @valuenick@ 814s # valuenum: @valuenum@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-production ***/ 814s # 814s # /*** BEGIN value-tail ***/ 814s # value-tail 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-tail ***/ 814s # 814s # /*** BEGIN comment ***/ 814s # comment 814s # comment: @comment@ 814s # /*** END comment ***/ 814s # 814s # /*** BEGIN file-tail ***/ 814s # file-tail 814s # /*** END file-tail ***/ 814s # 814s # Response file contains: --template /tmp/tmpthoi1bn_/tmp4m_4pvzo.template /tmp/tmpthoi1bn_/tmp6whg46qm.h 814s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpthoi1bn_/tmp5ab1y9hs'] 814s # Return code: 0 814s # Output: 814s # comment 814s # 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. 814s # 814s # 814s # file-header 814s # file-production 814s # filename: /tmp/tmpthoi1bn_/tmp6whg46qm.h 814s # basename: tmp6whg46qm.h 814s # enumeration-production 814s # EnumName: SomeEnumB 814s # enum_name: some_enum_b 814s # ENUMNAME: SOME_ENUM_B 814s # ENUMSHORT: ENUM_B 814s # ENUMPREFIX: SOME 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-header 814s # EnumName: SomeEnumB 814s # enum_name: some_enum_b 814s # ENUMNAME: SOME_ENUM_B 814s # ENUMSHORT: ENUM_B 814s # ENUMPREFIX: SOME 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-production 814s # VALUENAME: ENUM_VALUE_PUBLIC2 814s # valuenick: public2 814s # valuenum: 1 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-tail 814s # EnumName: SomeEnumB 814s # enum_name: some_enum_b 814s # ENUMNAME: SOME_ENUM_B 814s # ENUMSHORT: ENUM_B 814s # ENUMPREFIX: SOME 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # file-tail 814s # 814s # comment 814s # comment: Generated data ends here 814s # Error: 814s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 814s # glib-mkenums: /usr/bin/glib-mkenums 814s # tmpdir: /tmp/tmptzpfxvvh 814s # rspfile: True 814s # /tmp/tmptzpfxvvh/tmphiyvut_a.h: 814s # typedef enum { 814s # /*< private >*/ 814s # ENUM_VALUE_PRIVATE = 5, 814s # /*< public >*/ 814s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 814s # } TestSymbolicEnum; 814s # 814s # /tmp/tmptzpfxvvh/tmp7q8et4p4.template: 814s # /*** BEGIN file-header ***/ 814s # file-header 814s # /*** END file-header ***/ 814s # 814s # /*** BEGIN file-production ***/ 814s # file-production 814s # filename: @filename@ 814s # basename: @basename@ 814s # /*** END file-production ***/ 814s # 814s # /*** BEGIN enumeration-production ***/ 814s # enumeration-production 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END enumeration-production ***/ 814s # 814s # /*** BEGIN value-header ***/ 814s # value-header 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-header ***/ 814s # 814s # /*** BEGIN value-production ***/ 814s # value-production 814s # VALUENAME: @VALUENAME@ 814s # valuenick: @valuenick@ 814s # valuenum: @valuenum@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-production ***/ 814s # 814s # /*** BEGIN value-tail ***/ 814s # value-tail 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-tail ***/ 814s # 814s # /*** BEGIN comment ***/ 814s # comment 814s # comment: @comment@ 814s # /*** END comment ***/ 814s # 814s # /*** BEGIN file-tail ***/ 814s # file-tail 814s # /*** END file-tail ***/ 814s # 814s # Response file contains: --template /tmp/tmptzpfxvvh/tmp7q8et4p4.template /tmp/tmptzpfxvvh/tmphiyvut_a.h 814s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmptzpfxvvh/tmpdu36v1nv'] 814s # Return code: 0 814s # Output: 814s # comment 814s # 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. 814s # 814s # 814s # file-header 814s # file-production 814s # filename: /tmp/tmptzpfxvvh/tmphiyvut_a.h 814s # basename: tmphiyvut_a.h 814s # enumeration-production 814s # EnumName: TestSymbolicEnum 814s # enum_name: test_symbolic_enum 814s # ENUMNAME: TEST_SYMBOLIC_ENUM 814s # ENUMSHORT: SYMBOLIC_ENUM 814s # ENUMPREFIX: TEST 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-header 814s # EnumName: TestSymbolicEnum 814s # enum_name: test_symbolic_enum 814s # ENUMNAME: TEST_SYMBOLIC_ENUM 814s # ENUMSHORT: SYMBOLIC_ENUM 814s # ENUMPREFIX: TEST 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-production 814s # VALUENAME: ENUM_VALUE_PUBLIC 814s # valuenick: public 814s # valuenum: 7 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-tail 814s # EnumName: TestSymbolicEnum 814s # enum_name: test_symbolic_enum 814s # ENUMNAME: TEST_SYMBOLIC_ENUM 814s # ENUMSHORT: SYMBOLIC_ENUM 814s # ENUMPREFIX: TEST 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # file-tail 814s # 814s # comment 814s # comment: Generated data ends here 814s # Error: 814s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 814s # glib-mkenums: /usr/bin/glib-mkenums 814s # tmpdir: /tmp/tmpupi9jplg 814s # rspfile: True 814s # /tmp/tmpupi9jplg/tmp2l7xxz1h.template: 814s # /*** BEGIN file-header ***/ 814s # file-header 814s # filename: @filename@ 814s # basename: @basename@ 814s # /*** END file-header ***/ 814s # 814s # /*** BEGIN comment ***/ 814s # comment 814s # comment: @comment@ 814s # /*** END comment ***/ 814s # 814s # /*** BEGIN file-tail ***/ 814s # file-tail 814s # filename: @filename@ 814s # basename: @basename@ 814s # /*** END file-tail ***/ 814s # Response file contains: --template /tmp/tmpupi9jplg/tmp2l7xxz1h.template 814s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpupi9jplg/tmp81zfbp1x'] 814s # Return code: 0 814s # Output: 814s # comment 814s # 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. 814s # 814s # 814s # file-header 814s # filename: @filename@ 814s # basename: @basename@ 814s # file-tail 814s # filename: @filename@ 814s # basename: @basename@ 814s # 814s # comment 814s # comment: Generated data ends here 814s # Error: 814s # WARNING: @filename@ used in file-header section. 814s # WARNING: @basename@ used in file-header section. 814s # WARNING: @filename@ used in file-tail section. 814s # WARNING: @basename@ used in file-tail section. 814s # Executing: glib/mkenums.py.test 814s ok 29 __main__.TestRspMkenums.test_help 814s # glib-mkenums: /usr/bin/glib-mkenums 814s # tmpdir: /tmp/tmp4jfwdb2a 814s # rspfile: True 814s # Response file contains: --help 814s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4jfwdb2a/tmp6sqeqxkz'] 814s # Return code: 0 814s # Output: 814s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 814s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 814s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 814s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 814s # [--comments COMMENT_TMPL] [--template TEMPLATE] 814s # [--output OUTPUT] [--version] 814s # [args ...] 814s # 814s # positional arguments: 814s # args One or more input files, or a single argument 814s # @rspfile_path pointing to a file that contains the 814s # actual arguments 814s # 814s # options: 814s # -h, --help show this help message and exit 814s # --identifier-prefix IDPREFIX 814s # Identifier prefix 814s # --symbol-prefix SYMPREFIX 814s # Symbol prefix 814s # --fhead FHEAD Output file header 814s # --ftail FTAIL Output file footer 814s # --fprod FPROD Put out TEXT every time a new input file is being 814s # processed. 814s # --eprod EPROD Per enum text, produced prior to value iterations 814s # --vhead VHEAD Value header, produced before iterating over enum 814s # values 814s # --vprod VPROD Value text, produced for each enum value. 814s # --vtail VTAIL Value tail, produced after iterating over enum values 814s # --comments COMMENT_TMPL 814s # Comment structure 814s # --template TEMPLATE Template file 814s # --output OUTPUT 814s # --version, -v Print version information 814s # 814s # Production text substitutions: 814s # @EnumName@ PrefixTheXEnum 814s # @enum_name@ prefix_the_xenum 814s # @ENUMNAME@ PREFIX_THE_XENUM 814s # @ENUMSHORT@ THE_XENUM 814s # @ENUMPREFIX@ PREFIX 814s # @enumsince@ the user-provided since value given 814s # @VALUENAME@ PREFIX_THE_XVALUE 814s # @valuenick@ the-xvalue 814s # @valuenum@ the integer value (limited support, Since: 2.26) 814s # @type@ either enum or flags 814s # @Type@ either Enum or Flags 814s # @TYPE@ either ENUM or FLAGS 814s # @filename@ name of current input file 814s # @basename@ base name of the current input file (Since: 2.22) 814s # Error: 814s ok 30 __main__.TestRspMkenums.test_no_args 814s # glib-mkenums: /usr/bin/glib-mkenums 814s # tmpdir: /tmp/tmppe0gjhu7 814s # rspfile: True 814s # Response file contains: 814s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppe0gjhu7/tmphjwgyjiu'] 814s # Return code: 0 814s # Output: 814s # /* 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. */ 814s # 814s # 814s # /* Generated data ends here */ 814s # Error: 814s ok 31 __main__.TestRspMkenums.test_no_headers 814s # glib-mkenums: /usr/bin/glib-mkenums 814s # tmpdir: /tmp/tmpyi5_tel8 814s # rspfile: True 814s # /tmp/tmpyi5_tel8/tmpnqej6i_s.template: 814s # /*** BEGIN file-header ***/ 814s # file-header 814s # /*** END file-header ***/ 814s # 814s # /*** BEGIN file-production ***/ 814s # file-production 814s # filename: @filename@ 814s # basename: @basename@ 814s # /*** END file-production ***/ 814s # 814s # /*** BEGIN enumeration-production ***/ 814s # enumeration-production 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END enumeration-production ***/ 814s # 814s # /*** BEGIN value-header ***/ 814s # value-header 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-header ***/ 814s # 814s # /*** BEGIN value-production ***/ 814s # value-production 814s # VALUENAME: @VALUENAME@ 814s # valuenick: @valuenick@ 814s # valuenum: @valuenum@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-production ***/ 814s # 814s # /*** BEGIN value-tail ***/ 814s # value-tail 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-tail ***/ 814s # 814s # /*** BEGIN comment ***/ 814s # comment 814s # comment: @comment@ 814s # /*** END comment ***/ 814s # 814s # /*** BEGIN file-tail ***/ 814s # file-tail 814s # /*** END file-tail ***/ 814s # 814s # Response file contains: --template /tmp/tmpyi5_tel8/tmpnqej6i_s.template 814s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpyi5_tel8/tmpvuue8t8a'] 814s # Return code: 0 814s # Output: 814s # comment 814s # 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. 814s # 814s # 814s # file-header 814s # file-tail 814s # 814s # comment 814s # comment: Generated data ends here 814s # Error: 814s ok 32 __main__.TestRspMkenums.test_no_nick 814s # glib-mkenums: /usr/bin/glib-mkenums 814s # tmpdir: /tmp/tmpg58kqbq8 814s # rspfile: True 814s # /tmp/tmpg58kqbq8/tmp140fatk8.h: 814s # typedef enum { 814s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 814s # } GeglSamplerType; 814s # 814s # /tmp/tmpg58kqbq8/tmpuq070heh.template: 814s # /*** BEGIN file-header ***/ 814s # file-header 814s # /*** END file-header ***/ 814s # 814s # /*** BEGIN file-production ***/ 814s # file-production 814s # filename: @filename@ 814s # basename: @basename@ 814s # /*** END file-production ***/ 814s # 814s # /*** BEGIN enumeration-production ***/ 814s # enumeration-production 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END enumeration-production ***/ 814s # 814s # /*** BEGIN value-header ***/ 814s # value-header 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-header ***/ 814s # 814s # /*** BEGIN value-production ***/ 814s # value-production 814s # VALUENAME: @VALUENAME@ 814s # valuenick: @valuenick@ 814s # valuenum: @valuenum@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-production ***/ 814s # 814s # /*** BEGIN value-tail ***/ 814s # value-tail 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-tail ***/ 814s # 814s # /*** BEGIN comment ***/ 814s # comment 814s # comment: @comment@ 814s # /*** END comment ***/ 814s # 814s # /*** BEGIN file-tail ***/ 814s # file-tail 814s # /*** END file-tail ***/ 814s # 814s # Response file contains: --template /tmp/tmpg58kqbq8/tmpuq070heh.template /tmp/tmpg58kqbq8/tmp140fatk8.h 814s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpg58kqbq8/tmpcszfunj2'] 814s # Return code: 0 814s # Output: 814s # comment 814s # 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. 814s # 814s # 814s # file-header 814s # file-production 814s # filename: /tmp/tmpg58kqbq8/tmp140fatk8.h 814s # basename: tmp140fatk8.h 814s # enumeration-production 814s # EnumName: GeglSamplerType 814s # enum_name: gegl_sampler_type 814s # ENUMNAME: GEGL_SAMPLER_TYPE 814s # ENUMSHORT: SAMPLER_TYPE 814s # ENUMPREFIX: GEGL 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-header 814s # EnumName: GeglSamplerType 814s # enum_name: gegl_sampler_type 814s # ENUMNAME: GEGL_SAMPLER_TYPE 814s # ENUMSHORT: SAMPLER_TYPE 814s # ENUMPREFIX: GEGL 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-production 814s # VALUENAME: GEGL_SAMPLER_NEAREST 814s # valuenick: nearest 814s # valuenum: 0 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-tail 814s # EnumName: GeglSamplerType 814s # enum_name: gegl_sampler_type 814s # ENUMNAME: GEGL_SAMPLER_TYPE 814s # ENUMSHORT: SAMPLER_TYPE 814s # ENUMPREFIX: GEGL 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # file-tail 814s # 814s # comment 814s # comment: Generated data ends here 814s # Error: 814s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 814s # glib-mkenums: /usr/bin/glib-mkenums 814s # tmpdir: /tmp/tmpyjumxcv9 814s # rspfile: True 814s # /tmp/tmpyjumxcv9/tmpno_b_qsv.h: 814s # /* Copyright © La Peña */ 814s # typedef enum { 814s # ENUM_VALUE 814s # } SomeEnumIdentifier; 814s # 814s # /tmp/tmpyjumxcv9/tmpwrxj0_5a.template: 814s # /*** BEGIN file-header ***/ 814s # file-header 814s # /*** END file-header ***/ 814s # 814s # /*** BEGIN file-production ***/ 814s # file-production 814s # filename: @filename@ 814s # basename: @basename@ 814s # /*** END file-production ***/ 814s # 814s # /*** BEGIN enumeration-production ***/ 814s # enumeration-production 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END enumeration-production ***/ 814s # 814s # /*** BEGIN value-header ***/ 814s # value-header 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-header ***/ 814s # 814s # /*** BEGIN value-production ***/ 814s # value-production 814s # VALUENAME: @VALUENAME@ 814s # valuenick: @valuenick@ 814s # valuenum: @valuenum@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-production ***/ 814s # 814s # /*** BEGIN value-tail ***/ 814s # value-tail 814s # EnumName: @EnumName@ 814s # enum_name: @enum_name@ 814s # ENUMNAME: @ENUMNAME@ 814s # ENUMSHORT: @ENUMSHORT@ 814s # ENUMPREFIX: @ENUMPREFIX@ 814s # enumsince: @enumsince@ 814s # type: @type@ 814s # Type: @Type@ 814s # TYPE: @TYPE@ 814s # /*** END value-tail ***/ 814s # 814s # /*** BEGIN comment ***/ 814s # comment 814s # comment: @comment@ 814s # /*** END comment ***/ 814s # 814s # /*** BEGIN file-tail ***/ 814s # file-tail 814s # /*** END file-tail ***/ 814s # 814s # Response file contains: --template /tmp/tmpyjumxcv9/tmpwrxj0_5a.template /tmp/tmpyjumxcv9/tmpno_b_qsv.h 814s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpyjumxcv9/tmpkez0cd_h'] 814s # Return code: 0 814s # Output: 814s # comment 814s # 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. 814s # 814s # 814s # file-header 814s # file-production 814s # filename: /tmp/tmpyjumxcv9/tmpno_b_qsv.h 814s # basename: tmpno_b_qsv.h 814s # enumeration-production 814s # EnumName: SomeEnumIdentifier 814s # enum_name: some_enum_identifier 814s # ENUMNAME: SOME_ENUM_IDENTIFIER 814s # ENUMSHORT: ENUM_IDENTIFIER 814s # ENUMPREFIX: SOME 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-header 814s # EnumName: SomeEnumIdentifier 814s # enum_name: some_enum_identifier 814s # ENUMNAME: SOME_ENUM_IDENTIFIER 814s # ENUMSHORT: ENUM_IDENTIFIER 814s # ENUMPREFIX: SOME 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-production 814s # VALUENAME: ENUM_VALUE 814s # valuenick: value 814s # valuenum: 0 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # value-tail 814s # EnumName: SomeEnumIdentifier 814s # enum_name: some_enum_identifier 814s # ENUMNAME: SOME_ENUM_IDENTIFIER 814s # ENUMSHORT: ENUM_IDENTIFIER 814s # ENUMPREFIX: SOME 814s # enumsince: 814s # type: enum 814s # Type: Enum 814s # TYPE: ENUM 814s # file-tail 814s # 814s # comment 814s # comment: Generated data ends here 814s # Error: 814s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 814s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 815s ok 34 __main__.TestRspMkenums.test_reproducible 815s # glib-mkenums: /usr/bin/glib-mkenums 815s # tmpdir: /tmp/tmpv4lit_m_ 815s # rspfile: True 815s # /tmp/tmpv4lit_m_/tmpsyym4oh3.template: template 815s # Response file contains: --template /tmp/tmpv4lit_m_/tmpsyym4oh3.template /tmp/tmpv4lit_m_/tmp2nmr0bfz1.h /tmp/tmpv4lit_m_/tmp8xg8epq42.h 815s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpv4lit_m_/tmpizq1a50n'] 815s # Return code: 0 815s # Output: 815s # /* 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. */ 815s # 815s # 815s # /* Generated data ends here */ 815s # Error: 815s # 815s # /tmp/tmpv4lit_m_/tmpnu5zdsze.template: template 815s # Response file contains: --template /tmp/tmpv4lit_m_/tmpnu5zdsze.template /tmp/tmpv4lit_m_/tmp8xg8epq42.h /tmp/tmpv4lit_m_/tmp2nmr0bfz1.h 815s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpv4lit_m_/tmpm1qlxm_d'] 815s # Return code: 0 815s # Output: 815s # /* 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. */ 815s # 815s # 815s # /* Generated data ends here */ 815s # Error: 815s ok 35 __main__.TestRspMkenums.test_since 815s # glib-mkenums: /usr/bin/glib-mkenums 815s # tmpdir: /tmp/tmpa5zbp9cb 815s # rspfile: True 815s # /tmp/tmpa5zbp9cb/tmp2x48atau.h: 815s # typedef enum { /*< since=1.0 >*/ 815s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 815s # } QmiWmsMessageProtocol; 815s # 815s # /tmp/tmpa5zbp9cb/tmpnhiuxlu6.template: 815s # /*** BEGIN file-header ***/ 815s # file-header 815s # /*** END file-header ***/ 815s # 815s # /*** BEGIN file-production ***/ 815s # file-production 815s # filename: @filename@ 815s # basename: @basename@ 815s # /*** END file-production ***/ 815s # 815s # /*** BEGIN enumeration-production ***/ 815s # enumeration-production 815s # EnumName: @EnumName@ 815s # enum_name: @enum_name@ 815s # ENUMNAME: @ENUMNAME@ 815s # ENUMSHORT: @ENUMSHORT@ 815s # ENUMPREFIX: @ENUMPREFIX@ 815s # enumsince: @enumsince@ 815s # type: @type@ 815s # Type: @Type@ 815s # TYPE: @TYPE@ 815s # /*** END enumeration-production ***/ 815s # 815s # /*** BEGIN value-header ***/ 815s # value-header 815s # EnumName: @EnumName@ 815s # enum_name: @enum_name@ 815s # ENUMNAME: @ENUMNAME@ 815s # ENUMSHORT: @ENUMSHORT@ 815s # ENUMPREFIX: @ENUMPREFIX@ 815s # enumsince: @enumsince@ 815s # type: @type@ 815s # Type: @Type@ 815s # TYPE: @TYPE@ 815s # /*** END value-header ***/ 815s # 815s # /*** BEGIN value-production ***/ 815s # value-production 815s # VALUENAME: @VALUENAME@ 815s # valuenick: @valuenick@ 815s # valuenum: @valuenum@ 815s # type: @type@ 815s # Type: @Type@ 815s # TYPE: @TYPE@ 815s # /*** END value-production ***/ 815s # 815s # /*** BEGIN value-tail ***/ 815s # value-tail 815s # EnumName: @EnumName@ 815s # enum_name: @enum_name@ 815s # ENUMNAME: @ENUMNAME@ 815s # ENUMSHORT: @ENUMSHORT@ 815s # ENUMPREFIX: @ENUMPREFIX@ 815s # enumsince: @enumsince@ 815s # type: @type@ 815s # Type: @Type@ 815s # TYPE: @TYPE@ 815s # /*** END value-tail ***/ 815s # 815s # /*** BEGIN comment ***/ 815s # comment 815s # comment: @comment@ 815s # /*** END comment ***/ 815s # 815s # /*** BEGIN file-tail ***/ 815s # file-tail 815s # /*** END file-tail ***/ 815s # 815s # Response file contains: --template /tmp/tmpa5zbp9cb/tmpnhiuxlu6.template /tmp/tmpa5zbp9cb/tmp2x48atau.h 815s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpa5zbp9cb/tmpt5qtlpze'] 815s # Return code: 0 815s # Output: 815s # comment 815s # 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. 815s # 815s # 815s # file-header 815s # file-production 815s # filename: /tmp/tmpa5zbp9cb/tmp2x48atau.h 815s # basename: tmp2x48atau.h 815s # enumeration-production 815s # EnumName: QmiWmsMessageProtocol 815s # enum_name: qmi_wms_message_protocol 815s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 815s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 815s # ENUMPREFIX: QMI 815s # enumsince: 1.0 815s # type: enum 815s # Type: Enum 815s # TYPE: ENUM 815s # value-header 815s # EnumName: QmiWmsMessageProtocol 815s # enum_name: qmi_wms_message_protocol 815s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 815s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 815s # ENUMPREFIX: QMI 815s # enumsince: 1.0 815s # type: enum 815s # Type: Enum 815s # TYPE: ENUM 815s # value-production 815s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 815s # valuenick: cdma 815s # valuenum: 0 815s # type: enum 815s # Type: Enum 815s # TYPE: ENUM 815s # value-tail 815s # EnumName: QmiWmsMessageProtocol 815s # enum_name: qmi_wms_message_protocol 815s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 815s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 815s # ENUMPREFIX: QMI 815s # enumsince: 1.0 815s # type: enum 815s # Type: Enum 815s # TYPE: ENUM 815s # file-tail 815s # 815s # comment 815s # comment: Generated data ends here 815s # Error: 815s ok 36 __main__.TestRspMkenums.test_with_double_quotes 815s # glib-mkenums: /usr/bin/glib-mkenums 815s # tmpdir: /tmp/tmp3knste2k 815s # rspfile: True 815s # /tmp/tmp3knste2k/tmpxntu6ldy.h: 815s # typedef enum { 815s # FOO_VALUE /*< nick="eek, a comma" >*/ 815s # } Foo; 815s # 815s # /tmp/tmp3knste2k/tmp4zg58h2u.template: 815s # /*** BEGIN file-header ***/ 815s # file-header 815s # /*** END file-header ***/ 815s # 815s # /*** BEGIN file-production ***/ 815s # file-production 815s # filename: @filename@ 815s # basename: @basename@ 815s # /*** END file-production ***/ 815s # 815s # /*** BEGIN enumeration-production ***/ 815s # enumeration-production 815s # EnumName: @EnumName@ 815s # enum_name: @enum_name@ 815s # ENUMNAME: @ENUMNAME@ 815s # ENUMSHORT: @ENUMSHORT@ 815s # ENUMPREFIX: @ENUMPREFIX@ 815s # enumsince: @enumsince@ 815s # type: @type@ 815s # Type: @Type@ 815s # TYPE: @TYPE@ 815s # /*** END enumeration-production ***/ 815s # 815s # /*** BEGIN value-header ***/ 815s # value-header 815s # EnumName: @EnumName@ 815s # enum_name: @enum_name@ 815s # ENUMNAME: @ENUMNAME@ 815s # ENUMSHORT: @ENUMSHORT@ 815s # ENUMPREFIX: @ENUMPREFIX@ 815s # enumsince: @enumsince@ 815s # type: @type@ 815s # Type: @Type@ 815s # TYPE: @TYPE@ 815s # /*** END value-header ***/ 815s # 815s # /*** BEGIN value-production ***/ 815s # value-production 815s # VALUENAME: @VALUENAME@ 815s # valuenick: @valuenick@ 815s # valuenum: @valuenum@ 815s # type: @type@ 815s # Type: @Type@ 815s # TYPE: @TYPE@ 815s # /*** END value-production ***/ 815s # 815s # /*** BEGIN value-tail ***/ 815s # value-tail 815s # EnumName: @EnumName@ 815s # enum_name: @enum_name@ 815s # ENUMNAME: @ENUMNAME@ 815s # ENUMSHORT: @ENUMSHORT@ 815s # ENUMPREFIX: @ENUMPREFIX@ 815s # enumsince: @enumsince@ 815s # type: @type@ 815s # Type: @Type@ 815s # TYPE: @TYPE@ 815s # /*** END value-tail ***/ 815s # 815s # /*** BEGIN comment ***/ 815s # comment 815s # comment: @comment@ 815s # /*** END comment ***/ 815s # 815s # /*** BEGIN file-tail ***/ 815s # file-tail 815s # /*** END file-tail ***/ 815s # 815s # Response file contains: --template /tmp/tmp3knste2k/tmp4zg58h2u.template /tmp/tmp3knste2k/tmpxntu6ldy.h 815s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3knste2k/tmpw_zy7jvi'] 815s # Return code: 0 815s # Output: 815s # comment 815s # 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. 815s # 815s # 815s # file-header 815s # file-production 815s # filename: /tmp/tmp3knste2k/tmpxntu6ldy.h 815s # basename: tmpxntu6ldy.h 815s # enumeration-production 815s # EnumName: Foo 815s # enum_name: foo_ 815s # ENUMNAME: FOO_ 815s # ENUMSHORT: 815s # ENUMPREFIX: FOO 815s # enumsince: 815s # type: enum 815s # Type: Enum 815s # TYPE: ENUM 815s # value-header 815s # EnumName: Foo 815s # enum_name: foo_ 815s # ENUMNAME: FOO_ 815s # ENUMSHORT: 815s # ENUMPREFIX: FOO 815s # enumsince: 815s # type: enum 815s # Type: Enum 815s # TYPE: ENUM 815s # value-production 815s # VALUENAME: FOO_VALUE 815s # valuenick: eek, a comma 815s # valuenum: 0 815s # type: enum 815s # Type: Enum 815s # TYPE: ENUM 815s # value-tail 815s # EnumName: Foo 815s # enum_name: foo_ 815s # ENUMNAME: FOO_ 815s # ENUMSHORT: 815s # ENUMPREFIX: FOO 815s # enumsince: 815s # type: enum 815s # Type: Enum 815s # TYPE: ENUM 815s # file-tail 815s # 815s # comment 815s # comment: Generated data ends here 815s # Error: 815s 1..36 815s ok - glib/mkenums.py.test 815s # Running test: glib/converter.test 815s TAP version 14 815s # random seed: R02Sc7769ff221070070bccae73c0a47416b 815s 1..2 815s # Start of converter tests 815s ok 1 /converter/bytes 815s ok 2 /converter/extra-bytes-at-end 815s # End of converter tests 815s ok - glib/converter.test 815s # Running test: glib/signals-refcount1.test 815s TAP version 14 815s # random seed: R02S8bc1e70e18ece30a678a7e32c48a51d0 815s 1..1 815s # Start of gobject tests 815s # Start of refcount tests 815s # init 0x5de5dc348dd0 815s # 815s # init 0x5de5dc345310 815s # 819s # Executing: glib/signals-refcount1.test 820s # dispose 0x5de5dc348dd0! 820s # 820s # dispose 0x5de5dc345310! 820s # 820s ok 1 /gobject/refcount/signals 820s # slow test /gobject/refcount/signals executed in 5.00 secs 820s # End of refcount tests 820s # End of gobject tests 820s ok - glib/signals-refcount1.test 820s # Running test: glib/g-file-info-filesystem-readonly.test 820s TAP version 14 820s # random seed: R02S45cf44854346189764e0e64a43c466cd 820s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 820s 1..2 820s # Start of g-file-info-filesystem-readonly tests 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_K41652/g-file-info-filesystem-readonly/test-fs-ro/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_K41652/g-file-info-filesystem-readonly/test-fs-ro/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_K41652/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_K41652/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_K41652/g-file-info-filesystem-readonly/test-fs-ro/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_K41652/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_K41652/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_K41652/g-file-info-filesystem-readonly/test-fs-ro/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_K41652/g-file-info-filesystem-readonly/test-fs-ro/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_K41652/g-file-info-filesystem-readonly/test-fs-ro/.dirs/runtime 820s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_K41652/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_K41652/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_K41652/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_K41652/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_K41652/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_K41652/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_K41652/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_K41652/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_K41652/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_K41652/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/runtime 820s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 820s # End of g-file-info-filesystem-readonly tests 820s ok - glib/g-file-info-filesystem-readonly.test 820s # Running test: glib/utf8-validate.test 820s TAP version 14 820s # random seed: R02Seadbd2a859c7f5defb2334a7f466ac47 820s 1..238 820s # Start of utf8 tests 820s # Vector 0 820s # Vector 1 820s # Vector 2 820s # Vector 3 820s # Vector 4 820s # Vector 5 820s # Vector 6 820s # Vector 7 820s # Vector 8 820s # Vector 9 820s # Vector 10 820s # Vector 11 820s # Vector 12 820s # Vector 13 820s # Vector 14 820s ok - glib/utf8-validate.test 820s # Running test: glib/cxx-03.test 820s ok - glib/cxx-03.test 820s # Running test: glib/repository.test 820s # Vector 15 820s # Vector 16 820s # Vector 17 820s # Vector 18 820s # Vector 19 820s # Vector 20 820s # Vector 21 820s # Vector 22 820s # Vector 23 820s # Vector 24 820s # Vector 25 820s # Vector 26 820s # Vector 27 820s ok 1 /utf8/get-char-validated 820s # Start of validate tests 820s ok 2 /utf8/validate/0 820s ok 3 /utf8/validate/1 820s ok 4 /utf8/validate/2 820s ok 5 /utf8/validate/3 820s ok 6 /utf8/validate/4 820s ok 7 /utf8/validate/5 820s ok 8 /utf8/validate/6 820s ok 9 /utf8/validate/7 820s ok 10 /utf8/validate/8 820s ok 11 /utf8/validate/9 820s ok 12 /utf8/validate/10 820s ok 13 /utf8/validate/11 820s ok 14 /utf8/validate/12 820s ok 15 /utf8/validate/13 820s ok 16 /utf8/validate/14 820s ok 17 /utf8/validate/15 820s ok 18 /utf8/validate/16 820s ok 19 /utf8/validate/17 820s ok 20 /utf8/validate/18 820s ok 21 /utf8/validate/19 820s ok 22 /utf8/validate/20 820s ok 23 /utf8/validate/21 820s ok 24 /utf8/validate/22 820s ok 25 /utf8/validate/23 820s ok 26 /utf8/validate/24 820s ok 27 /utf8/validate/25 820s ok 28 /utf8/validate/26 820s ok 29 /utf8/validate/27 820s ok 30 /utf8/validate/28 820s ok 31 /utf8/validate/29 820s ok 32 /utf8/validate/30 820s ok 33 /utf8/validate/31 820s ok 34 /utf8/validate/32 820s ok 35 /utf8/validate/33 820s ok 36 /utf8/validate/34 820s ok 37 /utf8/validate/35 820s ok 38 /utf8/validate/36 820s ok 39 /utf8/validate/37 820s ok 40 /utf8/validate/38 820s ok 41 /utf8/validate/39 820s ok 42 /utf8/validate/40 820s ok 43 /utf8/validate/41 820s ok 44 /utf8/validate/42 820s ok 45 /utf8/validate/43 820s ok 46 /utf8/validate/44 820s ok 47 /utf8/validate/45 820s ok 48 /utf8/validate/46 820s ok 49 /utf8/validate/47 820s ok 50 /utf8/validate/48 820s ok 51 /utf8/validate/49 820s ok 52 /utf8/validate/50 820s ok 53 /utf8/validate/51 820s ok 54 /utf8/validate/52 820s ok 55 /utf8/validate/53 820s ok 56 /utf8/validate/54 820s ok 57 /utf8/validate/55 820s ok 58 /utf8/validate/56 820s ok 59 /utf8/validate/57 820s ok 60 /utf8/validate/58 820s ok 61 /utf8/validate/59 820s ok 62 /utf8/validate/60 820s ok 63 /utf8/validate/61 820s ok 64 /utf8/validate/62 820s ok 65 /utf8/validate/63 820s ok 66 /utf8/validate/64 820s ok 67 /utf8/validate/65 820s ok 68 /utf8/validate/66 820s ok 69 /utf8/validate/67 820s ok 70 /utf8/validate/68 820s ok 71 /utf8/validate/69 820s ok 72 /utf8/validate/70 820s ok 73 /utf8/validate/71 820s ok 74 /utf8/validate/72 820s ok 75 /utf8/validate/73 820s ok 76 /utf8/validate/74 820s ok 77 /utf8/validate/75 820s ok 78 /utf8/validate/76 820s ok 79 /utf8/validate/77 820s ok 80 /utf8/validate/78 820s ok 81 /utf8/validate/79 820s ok 82 /utf8/validate/80 820s ok 83 /utf8/validate/81 820s ok 84 /utf8/validate/82 820s ok 85 /utf8/validate/83 820s ok 86 /utf8/validate/84 820s ok 87 /utf8/validate/85 820s ok 88 /utf8/validate/86 820s ok 89 /utf8/validate/87 820s ok 90 /utf8/validate/88 820s ok 91 /utf8/validate/89 820s ok 92 /utf8/validate/90 820s ok 93 /utf8/validate/91 820s ok 94 /utf8/validate/92 820s ok 95 /utf8/validate/93 820s ok 96 /utf8/validate/94 820s ok 97 /utf8/validate/95 820s ok 98 /utf8/validate/96 820s ok 99 /utf8/validate/97 820s ok 100 /utf8/validate/98 820s ok 101 /utf8/validate/99 820s ok 102 /utf8/validate/100 820s ok 103 /utf8/validate/101 820s ok 104 /utf8/validate/102 820s ok 105 /utf8/validate/103 820s ok 106 /utf8/validate/104 820s ok 107 /utf8/validate/105 820s ok 108 /utf8/validate/106 820s ok 109 /utf8/validate/107 820s ok 110 /utf8/validate/108 820s ok 111 /utf8/validate/109 820s ok 112 /utf8/validate/110 820s ok 113 /utf8/validate/111 820s ok 114 /utf8/validate/112 820s ok 115 /utf8/validate/113 820s ok 116 /utf8/validate/114 820s ok 117 /utf8/validate/115 820s ok 118 /utf8/validate/116 820s ok 119 /utf8/validate/117 820s ok 120 /utf8/validate/118 820s ok 121 /utf8/validate/119 820s ok 122 /utf8/validate/120 820s ok 123 /utf8/validate/121 820s ok 124 /utf8/validate/122 820s ok 125 /utf8/validate/123 820s ok 126 /utf8/validate/124 820s ok 127 /utf8/validate/125 820s ok 128 /utf8/validate/126 820s ok 129 /utf8/validate/127 820s ok 130 /utf8/validate/128 820s ok 131 /utf8/validate/129 820s ok 132 /utf8/validate/130 820s ok 133 /utf8/validate/131 820s ok 134 /utf8/validate/132 820s ok 135 /utf8/validate/133 820s ok 136 /utf8/validate/134 820s ok 137 /utf8/validate/135 820s ok 138 /utf8/validate/136 820s ok 139 /utf8/validate/137 820s ok 140 /utf8/validate/138 820s ok 141 /utf8/validate/139 820s ok 142 /utf8/validate/140 820s ok 143 /utf8/validate/141 820s ok 144 /utf8/validate/142 820s ok 145 /utf8/validate/143 820s ok 146 /utf8/validate/144 820s ok 147 /utf8/validate/145 820s ok 148 /utf8/validate/146 820s ok 149 /utf8/validate/147 820s ok 150 /utf8/validate/148 820s ok 151 /utf8/validate/149 820s ok 152 /utf8/validate/150 820s ok 153 /utf8/validate/151 820s ok 154 /utf8/validate/152 820s ok 155 /utf8/validate/153 820s ok 156 /utf8/validate/154 820s ok 157 /utf8/validate/155 820s ok 158 /utf8/validate/156 820s ok 159 /utf8/validate/157 820s ok 160 /utf8/validate/158 820s ok 161 /utf8/validate/159 820s ok 162 /utf8/validate/160 820s ok 163 /utf8/validate/161 820s ok 164 /utf8/validate/162 820s ok 165 /utf8/validate/163 820s ok 166 /utf8/validate/164 820s ok 167 /utf8/validate/165 820s ok 168 /utf8/validate/166 820s ok 169 /utf8/validate/167 820s ok 170 /utf8/validate/168 820s ok 171 /utf8/validate/169 820s ok 172 /utf8/validate/170 820s ok 173 /utf8/validate/171 820s ok 174 /utf8/validate/172 820s ok 175 /utf8/validate/173 820s ok 176 /utf8/validate/174 820s ok 177 /utf8/validate/175 820s ok 178 /utf8/validate/176 820s ok 179 /utf8/validate/177 820s ok 180 /utf8/validate/178 820s ok 181 /utf8/validate/179 820s ok 182 /utf8/validate/180 820s ok 183 /utf8/validate/181 820s ok 184 /utf8/validate/182 820s ok 185 /utf8/validate/183 820s ok 186 /utf8/validate/184 820s ok 187 /utf8/validate/185 820s ok 188 /utf8/validate/186 820s ok 189 /utf8/validate/187 820s ok 190 /utf8/validate/188 820s ok 191 /utf8/validate/189 820s ok 192 /utf8/validate/190 820s ok 193 /utf8/validate/191 820s ok 194 /utf8/validate/192 820s ok 195 /utf8/validate/193 820s ok 196 /utf8/validate/194 820s ok 197 /utf8/validate/195 820s ok 198 /utf8/validate/196 820s ok 199 /utf8/validate/197 820s ok 200 /utf8/validate/198 820s ok 201 /utf8/validate/199 820s ok 202 /utf8/validate/200 820s ok 203 /utf8/validate/201 820s ok 204 /utf8/validate/202 820s ok 205 /utf8/validate/203 820s ok 206 /utf8/validate/204 820s ok 207 /utf8/validate/205 820s ok 208 /utf8/validate/206 820s ok 209 /utf8/validate/207 820s ok 210 /utf8/validate/208 820s ok 211 /utf8/validate/209 820s ok 212 /utf8/validate/210 820s ok 213 /utf8/validate/211 820s ok 214 /utf8/validate/212 820s ok 215 /utf8/validate/213 820s ok 216 /utf8/validate/214 820s ok 217 /utf8/validate/215 820s ok 218 /utf8/validate/216 820s ok 219 /utf8/validate/217 820s ok 220 /utf8/validate/218 820s ok 221 /utf8/validate/219 820s ok 222 /utf8/validate/220 820s ok 223 /utf8/validate/221 820s ok 224 /utf8/validate/222 820s ok 225 /utf8/validate/223 820s ok 226 /utf8/validate/224 820s ok 227 /utf8/validate/225 820s ok 228 /utf8/validate/226 820s ok 229 /utf8/validate/227 820s ok 230 /utf8/validate/228 820s ok 231 /utf8/validate/229 820s ok 232 /utf8/validate/230 820s ok 233 /utf8/validate/231 820s ok 234 /utf8/validate/232 820s ok 235 /utf8/validate/233 820s ok 236 /utf8/validate/234 820s ok 237 /utf8/validate/235 820s ok 238 /utf8/validate/236 820s # End of validate tests 820s # End of utf8 tests 820s TAP version 14 820s # random seed: R02S4bb66f8b25153b4792de94054a96b2b1 820s 1..2 820s # Start of gtask tests 820s # 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. 820s ok 1 /gtask/name 820s # Start of name tests 820s # 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. 820s ok 2 /gtask/name/macro-wrapper 820s # End of name tests 820s # End of gtask tests 820s TAP version 14 820s # random seed: R02S0ec02798b42ab216f5f86700553fbab9 820s 1..23 820s # Start of repository tests 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/basic/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/basic/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/basic/.dirs/system-config1:/tmp/test_repository_OSY652/repository/basic/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/basic/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/basic/.dirs/system-data1:/tmp/test_repository_OSY652/repository/basic/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/basic/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/basic/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/basic/.dirs/runtime 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 820s ok 1 /repository/basic 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/info/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/info/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/info/.dirs/system-config1:/tmp/test_repository_OSY652/repository/info/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/info/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/info/.dirs/system-data1:/tmp/test_repository_OSY652/repository/info/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/info/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/info/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/info/.dirs/runtime 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/info summary: Test retrieving some basic info blobs from a typelib 820s ok 2 /repository/info 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/dependencies/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/dependencies/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/dependencies/.dirs/system-config1:/tmp/test_repository_OSY652/repository/dependencies/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/dependencies/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/dependencies/.dirs/system-data1:/tmp/test_repository_OSY652/repository/dependencies/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/dependencies/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/dependencies/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/dependencies/.dirs/runtime 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 820s ok 3 /repository/dependencies 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/arg-info/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/arg-info/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/arg-info/.dirs/system-config1:/tmp/test_repository_OSY652/repository/arg-info/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/arg-info/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/arg-info/.dirs/system-data1:/tmp/test_repository_OSY652/repository/arg-info/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/arg-info/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/arg-info/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/arg-info/.dirs/runtime 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 820s ok 4 /repository/arg-info 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/callable-info/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/callable-info/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/callable-info/.dirs/system-config1:/tmp/test_repository_OSY652/repository/callable-info/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/callable-info/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/callable-info/.dirs/system-data1:/tmp/test_repository_OSY652/repository/callable-info/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/callable-info/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/callable-info/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/callable-info/.dirs/runtime 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 820s ok 5 /repository/callable-info 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/callback-info/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/callback-info/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/callback-info/.dirs/system-config1:/tmp/test_repository_OSY652/repository/callback-info/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/callback-info/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/callback-info/.dirs/system-data1:/tmp/test_repository_OSY652/repository/callback-info/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/callback-info/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/callback-info/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/callback-info/.dirs/runtime 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 820s ok 6 /repository/callback-info 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/char-types/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/char-types/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/char-types/.dirs/system-config1:/tmp/test_repository_OSY652/repository/char-types/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/char-types/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/char-types/.dirs/system-data1:/tmp/test_repository_OSY652/repository/char-types/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/char-types/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/char-types/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/char-types/.dirs/runtime 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 820s ok 7 /repository/char-types 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/constructor-return-type/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/constructor-return-type/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_OSY652/repository/constructor-return-type/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/constructor-return-type/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_OSY652/repository/constructor-return-type/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/constructor-return-type/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/constructor-return-type/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/constructor-return-type/.dirs/runtime 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 820s ok 8 /repository/constructor-return-type 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/enum-info-c-identifier/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/enum-info-c-identifier/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_OSY652/repository/enum-info-c-identifier/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/enum-info-c-identifier/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_OSY652/repository/enum-info-c-identifier/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/enum-info-c-identifier/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/enum-info-c-identifier/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/enum-info-c-identifier/.dirs/runtime 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 820s ok 9 /repository/enum-info-c-identifier 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/enum-info-static-methods/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/enum-info-static-methods/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_OSY652/repository/enum-info-static-methods/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/enum-info-static-methods/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_OSY652/repository/enum-info-static-methods/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/enum-info-static-methods/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/enum-info-static-methods/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/enum-info-static-methods/.dirs/runtime 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/enum-info-static-methods summary: Test an enum with methods 820s ok 10 /repository/enum-info-static-methods 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/error-quark/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/error-quark/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/error-quark/.dirs/system-config1:/tmp/test_repository_OSY652/repository/error-quark/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/error-quark/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/error-quark/.dirs/system-data1:/tmp/test_repository_OSY652/repository/error-quark/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/error-quark/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/error-quark/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/error-quark/.dirs/runtime 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/error-quark summary: Test finding an error quark by error domain 820s ok 11 /repository/error-quark 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/flags-info-c-identifier/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/flags-info-c-identifier/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_OSY652/repository/flags-info-c-identifier/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/flags-info-c-identifier/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_OSY652/repository/flags-info-c-identifier/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/flags-info-c-identifier/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/flags-info-c-identifier/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/flags-info-c-identifier/.dirs/runtime 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 820s ok 12 /repository/flags-info-c-identifier 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/fundamental-ref-func/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/fundamental-ref-func/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_OSY652/repository/fundamental-ref-func/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/fundamental-ref-func/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_OSY652/repository/fundamental-ref-func/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/fundamental-ref-func/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/fundamental-ref-func/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/fundamental-ref-func/.dirs/runtime 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 820s ok 13 /repository/fundamental-ref-func 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/instance-method-ownership-transfer/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/instance-method-ownership-transfer/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_OSY652/repository/instance-method-ownership-transfer/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/instance-method-ownership-transfer/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_OSY652/repository/instance-method-ownership-transfer/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/instance-method-ownership-transfer/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/instance-method-ownership-transfer/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/instance-method-ownership-transfer/.dirs/runtime 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 820s ok 14 /repository/instance-method-ownership-transfer 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/object-gtype-interfaces/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/object-gtype-interfaces/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_OSY652/repository/object-gtype-interfaces/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/object-gtype-interfaces/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_OSY652/repository/object-gtype-interfaces/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/object-gtype-interfaces/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/object-gtype-interfaces/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/object-gtype-interfaces/.dirs/runtime 820s ok - glib/repository.test 820s # Running test: glib/closure.test 820s ok - glib/closure.test 820s # Running test: glib/test-printf.test 820s ok - glib/test-printf.test 820s # Running test: glib/gdbus-connection-slow.test 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 820s ok 15 /repository/object-gtype-interfaces 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/signal-info-with-array-length-arg/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/signal-info-with-array-length-arg/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_OSY652/repository/signal-info-with-array-length-arg/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/signal-info-with-array-length-arg/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_OSY652/repository/signal-info-with-array-length-arg/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/signal-info-with-array-length-arg/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/signal-info-with-array-length-arg/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/signal-info-with-array-length-arg/.dirs/runtime 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 820s ok 16 /repository/signal-info-with-array-length-arg 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/type-info-name/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/type-info-name/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_OSY652/repository/type-info-name/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/type-info-name/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_OSY652/repository/type-info-name/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/type-info-name/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/type-info-name/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/type-info-name/.dirs/runtime 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 820s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 820s ok 17 /repository/type-info-name 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/vfunc-info-with-no-invoker/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/vfunc-info-with-no-invoker/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_OSY652/repository/vfunc-info-with-no-invoker/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/vfunc-info-with-no-invoker/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_OSY652/repository/vfunc-info-with-no-invoker/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/vfunc-info-with-no-invoker/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/vfunc-info-with-no-invoker/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/vfunc-info-with-no-invoker/.dirs/runtime 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 820s ok 18 /repository/vfunc-info-with-no-invoker 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/vfunc-info-with-invoker-on-interface/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_OSY652/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/vfunc-info-with-invoker-on-interface/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_OSY652/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/vfunc-info-with-invoker-on-interface/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/vfunc-info-with-invoker-on-interface/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 820s ok 19 /repository/vfunc-info-with-invoker-on-interface 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/vfunc-info-with-invoker-on-object/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/vfunc-info-with-invoker-on-object/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_OSY652/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/vfunc-info-with-invoker-on-object/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_OSY652/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/vfunc-info-with-invoker-on-object/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/vfunc-info-with-invoker-on-object/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 820s ok 20 /repository/vfunc-info-with-invoker-on-object 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/find-by-gtype/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/find-by-gtype/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_OSY652/repository/find-by-gtype/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/find-by-gtype/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_OSY652/repository/find-by-gtype/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/find-by-gtype/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/find-by-gtype/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/find-by-gtype/.dirs/runtime 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/find-by-gtype summary: Test finding a GType 820s ok 21 /repository/find-by-gtype 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/loaded-namespaces/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/loaded-namespaces/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_OSY652/repository/loaded-namespaces/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/loaded-namespaces/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_OSY652/repository/loaded-namespaces/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/loaded-namespaces/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/loaded-namespaces/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/loaded-namespaces/.dirs/runtime 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/loaded-namespaces summary: Test listing loaded namespaces 820s ok 22 /repository/loaded-namespaces 820s # Start of base-info tests 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_OSY652/repository/base-info/clear/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_OSY652/repository/base-info/clear/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_OSY652/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_OSY652/repository/base-info/clear/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_OSY652/repository/base-info/clear/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_OSY652/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_OSY652/repository/base-info/clear/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_OSY652/repository/base-info/clear/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_OSY652/repository/base-info/clear/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_OSY652/repository/base-info/clear/.dirs/runtime 820s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 820s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 820s ok 23 /repository/base-info/clear 820s # End of base-info tests 820s # End of repository tests 820s TAP version 14 820s # random seed: R02S6e2f8377ac13207ed188897ce29bf1a8 820s 1..6 820s # Start of closure tests 820s ok 1 /closure/idle 820s ok 2 /closure/timeout 820s ok 3 /closure/iochannel 820s ok 4 /closure/child 820s ok 5 /closure/fd 820s ok 6 /closure/signal 820s # End of closure tests 820s TAP version 14 820s # random seed: R02Se98a8cc3d4bfdd4fb557294359b75798 820s 1..22 820s # Start of snprintf tests 820s ok 1 /snprintf/retval-and-trunc 820s ok 2 /snprintf/%d 820s ok 3 /snprintf/%d-invalid 820s ok 4 /snprintf/%o 820s ok 5 /snprintf/%u 820s ok 6 /snprintf/%x 820s ok 7 /snprintf/%X 820s ok 8 /snprintf/%f 820s ok 9 /snprintf/%e 820s ok 10 /snprintf/%c 820s ok 11 /snprintf/%s 820s ok 12 /snprintf/%n 820s ok 13 /snprintf/test-percent 820s ok 14 /snprintf/test-positional-params 820s ok 15 /snprintf/test-64bit 820s # End of snprintf tests 820s # Start of printf tests 820s ok 16 /printf/test-percent 820s ok 17 /printf/test-positional-params 820s ok 18 /printf/test-64bit 820s # Start of test-64bit tests 820s # Start of subprocess tests 820s # End of subprocess tests 820s # End of test-64bit tests 820s # End of printf tests 820s # Start of sprintf tests 820s ok 19 /sprintf/test-positional-params 820s ok 20 /sprintf/upper-bound 820s # End of sprintf tests 820s # Start of vasprintf tests 820s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 820s ok 21 /vasprintf/invalid-format-placeholder 820s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 820s ok 22 /vasprintf/invalid-wide-string 820s # End of vasprintf tests 820s TAP version 14 820s # random seed: R02S6749249bbdf25bd62b4a876c7a6c10bb 820s 1..2 820s # Start of gdbus tests 820s # Start of connection tests 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_XPW252/gdbus/connection/flush/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_XPW252/gdbus/connection/flush/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_XPW252/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_XPW252/gdbus/connection/flush/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_XPW252/gdbus/connection/flush/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_XPW252/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_XPW252/gdbus/connection/flush/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_XPW252/gdbus/connection/flush/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_XPW252/gdbus/connection/flush/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_XPW252/gdbus/connection/flush/.dirs/runtime 820s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 820s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 820s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 820s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 820s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 820s ok 1 /gdbus/connection/flush 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_XPW252/gdbus/connection/large_message/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_XPW252/gdbus/connection/large_message/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_XPW252/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_XPW252/gdbus/connection/large_message/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_XPW252/gdbus/connection/large_message/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_XPW252/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_XPW252/gdbus/connection/large_message/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_XPW252/gdbus/connection/large_message/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_XPW252/gdbus/connection/large_message/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_XPW252/gdbus/connection/large_message/.dirs/runtime 820s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 820s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 820s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 820s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 820s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 820s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 820s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 820s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 820s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 820s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 820s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 820s ok 2 /gdbus/connection/large_message 820s # End of connection tests 820s # End of gdbus tests 820s ok - glib/gdbus-connection-slow.test 820s # Running test: glib/utils-isolated.test 820s TAP version 14 820s # random seed: R02S45a3ab8f74cccb0da78251da9d146c23 820s 1..11 820s # Start of utils-isolated tests 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/tmp-dir/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/tmp-dir/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_FOE052/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_FOE052/utils-isolated/tmp-dir/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/tmp-dir/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_FOE052/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_FOE052/utils-isolated/tmp-dir/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/tmp-dir/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/tmp-dir/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_FOE052/utils-isolated/tmp-dir/.dirs/runtime 820s ok 1 /utils-isolated/tmp-dir 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/home-dir/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/home-dir/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_FOE052/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_FOE052/utils-isolated/home-dir/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/home-dir/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_FOE052/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_FOE052/utils-isolated/home-dir/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/home-dir/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/home-dir/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_FOE052/utils-isolated/home-dir/.dirs/runtime 820s ok 2 /utils-isolated/home-dir 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-cache-dir/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-cache-dir/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_FOE052/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_FOE052/utils-isolated/user-cache-dir/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-cache-dir/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_FOE052/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_FOE052/utils-isolated/user-cache-dir/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-cache-dir/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-cache-dir/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_FOE052/utils-isolated/user-cache-dir/.dirs/runtime 820s ok 3 /utils-isolated/user-cache-dir 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/system-config-dirs/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/system-config-dirs/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_FOE052/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_FOE052/utils-isolated/system-config-dirs/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/system-config-dirs/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_FOE052/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_FOE052/utils-isolated/system-config-dirs/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/system-config-dirs/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/system-config-dirs/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_FOE052/utils-isolated/system-config-dirs/.dirs/runtime 820s ok 4 /utils-isolated/system-config-dirs 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-config-dir/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-config-dir/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_FOE052/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_FOE052/utils-isolated/user-config-dir/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-config-dir/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_FOE052/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_FOE052/utils-isolated/user-config-dir/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-config-dir/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-config-dir/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_FOE052/utils-isolated/user-config-dir/.dirs/runtime 820s ok 5 /utils-isolated/user-config-dir 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/system-data-dirs/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/system-data-dirs/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_FOE052/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_FOE052/utils-isolated/system-data-dirs/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/system-data-dirs/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_FOE052/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_FOE052/utils-isolated/system-data-dirs/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/system-data-dirs/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/system-data-dirs/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_FOE052/utils-isolated/system-data-dirs/.dirs/runtime 820s ok 6 /utils-isolated/system-data-dirs 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-data-dir/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-data-dir/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_FOE052/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_FOE052/utils-isolated/user-data-dir/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-data-dir/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_FOE052/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_FOE052/utils-isolated/user-data-dir/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-data-dir/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-data-dir/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_FOE052/utils-isolated/user-data-dir/.dirs/runtime 820s ok 7 /utils-isolated/user-data-dir 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-state-dir/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-state-dir/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_FOE052/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_FOE052/utils-isolated/user-state-dir/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-state-dir/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_FOE052/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_FOE052/utils-isolated/user-state-dir/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-state-dir/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-state-dir/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_FOE052/utils-isolated/user-state-dir/.dirs/runtime 820s ok 8 /utils-isolated/user-state-dir 820s ok - glib/utils-isolated.test 820s # Running test: glib/portal-support-flatpak-full.test 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-runtime-dir/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-runtime-dir/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_FOE052/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_FOE052/utils-isolated/user-runtime-dir/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-runtime-dir/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_FOE052/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_FOE052/utils-isolated/user-runtime-dir/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-runtime-dir/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/user-runtime-dir/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_FOE052/utils-isolated/user-runtime-dir/.dirs/runtime 820s ok 9 /utils-isolated/user-runtime-dir 820s # Start of cleanup tests 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/handles-errors/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/handles-errors/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/handles-errors/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/handles-errors/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/handles-errors/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/handles-errors/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/handles-errors/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/handles-errors/.dirs/runtime 820s Unable to clean up temporary directory /tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 820s Unable to clean up temporary directory /tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 820s Unable to clean up temporary directory /tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/handles-errors: Directory not empty 820s ok 10 /utils-isolated/cleanup/handles-errors 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 820s Unable to clean up temporary directory /tmp/test_utils-isolated_FOE052/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 820s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 820s # End of cleanup tests 820s # End of utils-isolated tests 820s TAP version 14 820s # random seed: R02Sf6b17139fb76318efd13e0080cdc11a0 820s 1..1 820s # Start of portal-support tests 820s ok - glib/portal-support-flatpak-full.test 820s # Running test: glib/unix-streams.test 820s # Start of flatpak tests 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_WRQ152/portal-support/flatpak/full/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_WRQ152/portal-support/flatpak/full/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_WRQ152/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_WRQ152/portal-support/flatpak/full/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_WRQ152/portal-support/flatpak/full/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_WRQ152/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_WRQ152/portal-support/flatpak/full/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_WRQ152/portal-support/flatpak/full/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_WRQ152/portal-support/flatpak/full/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_WRQ152/portal-support/flatpak/full/.dirs/runtime 820s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_WRQ152/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 820s ok 1 /portal-support/flatpak/full 820s # End of flatpak tests 820s # End of portal-support tests 820s TAP version 14 820s # random seed: R02S70ffe9a313635901de0091661cf296cf 820s 1..9 820s # Start of unix-streams tests 820s ok 1 /unix-streams/basic 821s ok 2 /unix-streams/pipe-io-test 821s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 821s ok 3 /unix-streams/nonblocking-io-test 821s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 821s ok 4 /unix-streams/read_write 821s ok 5 /unix-streams/read_writev 821s ok 6 /unix-streams/write-wouldblock 821s ok 7 /unix-streams/writev-wouldblock 821s ok 8 /unix-streams/write-async-wouldblock 821s ok 9 /unix-streams/writev-async-wouldblock 821s # End of unix-streams tests 821s ok - glib/unix-streams.test 821s # Running test: glib/io-channel.test 821s TAP version 14 821s # random seed: R02S3a3938cf381a9e711acf8030cca2e2b6 821s 1..2 821s # Start of io-channel tests 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_IP2052/io-channel/read-write/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_IP2052/io-channel/read-write/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_IP2052/io-channel/read-write/.dirs/system-config1:/tmp/test_io-channel_IP2052/io-channel/read-write/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_IP2052/io-channel/read-write/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_IP2052/io-channel/read-write/.dirs/system-data1:/tmp/test_io-channel_IP2052/io-channel/read-write/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_IP2052/io-channel/read-write/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_IP2052/io-channel/read-write/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_IP2052/io-channel/read-write/.dirs/runtime 821s # Line one 821s # 821s # Line two 821s # 821s # Line three 821s # 821s # /* Hello */ 821s # 821s # \x1234\x567890\x6666 821s # 821s # read 62 bytes, wrote 62 bytes 821s ok 1 /io-channel/read-write 821s # Start of read-line tests 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_IP2052/io-channel/read-line/embedded-nuls/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_IP2052/io-channel/read-line/embedded-nuls/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_IP2052/io-channel/read-line/embedded-nuls/.dirs/system-config1:/tmp/test_io-channel_IP2052/io-channel/read-line/embedded-nuls/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_IP2052/io-channel/read-line/embedded-nuls/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_IP2052/io-channel/read-line/embedded-nuls/.dirs/system-data1:/tmp/test_io-channel_IP2052/io-channel/read-line/embedded-nuls/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_IP2052/io-channel/read-line/embedded-nuls/.dirs/data 821s ok - glib/io-channel.test 821s # Running test: glib/gdbus-peer-object-manager.test 821s ok - glib/gdbus-peer-object-manager.test 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_IP2052/io-channel/read-line/embedded-nuls/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_IP2052/io-channel/read-line/embedded-nuls/.dirs/runtime 821s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 821s ok 2 /io-channel/read-line/embedded-nuls 821s # End of read-line tests 821s # End of io-channel tests 821s TAP version 14 821s # random seed: R02S9e851672946a5a8a6ce91c617ac2e8d6 821s 1..2 821s # Start of gdbus tests 821s # Start of peer-object-manager tests 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_5J9052/gdbus/peer-object-manager/normal/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_5J9052/gdbus/peer-object-manager/normal/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_5J9052/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_5J9052/gdbus/peer-object-manager/normal/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_5J9052/gdbus/peer-object-manager/normal/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_5J9052/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_5J9052/gdbus/peer-object-manager/normal/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_5J9052/gdbus/peer-object-manager/normal/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_5J9052/gdbus/peer-object-manager/normal/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_5J9052/gdbus/peer-object-manager/normal/.dirs/runtime 821s ok 1 /gdbus/peer-object-manager/normal 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_5J9052/gdbus/peer-object-manager/root/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_5J9052/gdbus/peer-object-manager/root/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_5J9052/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_5J9052/gdbus/peer-object-manager/root/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_5J9052/gdbus/peer-object-manager/root/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_5J9052/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_5J9052/gdbus/peer-object-manager/root/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_5J9052/gdbus/peer-object-manager/root/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_5J9052/gdbus/peer-object-manager/root/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_5J9052/gdbus/peer-object-manager/root/.dirs/runtime 821s ok 2 /gdbus/peer-object-manager/root 821s # End of peer-object-manager tests 821s # End of gdbus tests 821s # Running test: glib/completion.test 821s ok - glib/completion.test 821s # Running test: glib/node.test 821s ok - glib/node.test 821s # Running test: glib/srvtarget.test 821s TAP version 14 821s # random seed: R02S3e95e03d1615042ff811dfe9fadd9628 821s 1..1 821s # Start of completion tests 821s ok 1 /completion/test-completion 821s # End of completion tests 821s TAP version 14 821s # random seed: R02S667f6aa83bbdc4431db8276d871599d5 821s 1..6 821s # Start of node tests 821s ok 1 /node/allocation 821s ok 2 /node/construction 821s ok 3 /node/traversal 821s ok 4 /node/misc 821s ok 5 /node/unlink 821s ok 6 /node/copy 821s # End of node tests 821s TAP version 14 821s # random seed: R02S937d50241635af06f2cab93e631179b9 821s 1..1 821s # Start of srvtarget tests 822s ok 1 /srvtarget/srv-target-ordering 822s # End of srvtarget tests 822s ok - glib/srvtarget.test 822s # Running test: glib/gi-compile-repository.py.test 822s TAP version 13 822s ok 1 __main__.TestGICompileRepository.test_open_failure 822s # gir path set to [PosixPath('/usr/lib/x86_64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 822s # gi-compile-repository: /usr/bin/gi-compile-repository 822s # tmpdir: /tmp/tmpgdqid1g2 822s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmpgdqid1g2/invalid.typelib'] 822s # Return code: 1 822s # Output: 822s # 822s # Error: 822s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.girâ€: No such file or directory 822s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile 822s # gir path set to [PosixPath('/usr/lib/x86_64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 822s # gi-compile-repository: /usr/bin/gi-compile-repository 822s # tmpdir: /tmp/tmpy3j2dx8_ 822s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmpy3j2dx8_/GLib-2.typelib'] 822s # Return code: 0 822s # Output: 822s # 822s # Error: 822s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure 822s # gi-compile-repository: /usr/bin/gi-compile-repository 822s # tmpdir: /tmp/tmpwjcqarwm 822s # 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'] 822s # Return code: 1 822s # Output: 822s # 822s # Error: 822s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 822s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile 822s # gir path set to [PosixPath('/usr/lib/x86_64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 822s # gi-compile-repository: /usr/bin/gi-compile-repository 822s # tmpdir: /tmp/tmpf48iv0lb 822s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmpf48iv0lb/GObject-2.typelib', '--includedir', '/usr/lib/x86_64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 822s # Return code: 0 822s # Output: 822s # 822s # Error: 822s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure 822s # gi-compile-repository: /usr/bin/gi-compile-repository 822s # tmpdir: /tmp/tmpb8wz4xl_ 822s # 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'] 822s # Return code: 1 822s # Output: 822s # 822s # Error: 822s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 823s ok 6 __main__.TestGICompileRepositoryForGio.test_compile 823s # gir path set to [PosixPath('/usr/lib/x86_64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 823s # gi-compile-repository: /usr/bin/gi-compile-repository 823s # tmpdir: /tmp/tmpnp_p0wxl 823s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmpnp_p0wxl/Gio-2.typelib', '--includedir', '/usr/lib/x86_64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 823s # Return code: 0 823s # Output: 823s # 823s # Error: 823s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure 823s # gi-compile-repository: /usr/bin/gi-compile-repository 823s # tmpdir: /tmp/tmp3_ga0zzd 823s # 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'] 823s # Return code: 1 823s # Output: 823s # 823s # Error: 823s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 823s 1..7 823s ok - glib/gi-compile-repository.py.test 823s # Running test: glib/portal-support-flatpak-gsettings-only.test 823s TAP version 14 823s # random seed: R02S4560fa625c91564bde8997120508eb1d 823s 1..1 823s # Start of portal-support tests 823s # Start of flatpak tests 823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_N5JZ52/portal-support/flatpak/gsettings/.dirs/home 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_N5JZ52/portal-support/flatpak/gsettings/.dirs/cache 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_N5JZ52/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_N5JZ52/portal-support/flatpak/gsettings/.dirs/system-config2 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_N5JZ52/portal-support/flatpak/gsettings/.dirs/config 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_N5JZ52/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_N5JZ52/portal-support/flatpak/gsettings/.dirs/system-data2 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_N5JZ52/portal-support/flatpak/gsettings/.dirs/data 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_N5JZ52/portal-support/flatpak/gsettings/.dirs/state 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_N5JZ52/portal-support/flatpak/gsettings/.dirs/runtime 823s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_N5JZ52/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 823s ok 1 /portal-support/flatpak/gsettings 823s # End of flatpak tests 823s # End of portal-support tests 823s ok - glib/portal-support-flatpak-gsettings-only.test 823s # Running test: glib/spawn-test.test 823s TAP version 14 823s # random seed: R02Sf2d9512ef0a97058a89dd7c4e1818278 823s 1..2 823s # Start of spawn tests 823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_1I2Y52/spawn/basics/.dirs/home 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_1I2Y52/spawn/basics/.dirs/cache 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_1I2Y52/spawn/basics/.dirs/system-config1:/tmp/test_spawn-test_1I2Y52/spawn/basics/.dirs/system-config2 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_1I2Y52/spawn/basics/.dirs/config 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_1I2Y52/spawn/basics/.dirs/system-data1:/tmp/test_spawn-test_1I2Y52/spawn/basics/.dirs/system-data2 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_1I2Y52/spawn/basics/.dirs/data 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_1I2Y52/spawn/basics/.dirs/state 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_1I2Y52/spawn/basics/.dirs/runtime 823s ok 1 /spawn/basics 823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_1I2Y52/spawn/stdio-overwrite/.dirs/home 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_1I2Y52/spawn/stdio-overwrite/.dirs/cache 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_1I2Y52/spawn/stdio-overwrite/.dirs/system-config1:/tmp/test_spawn-test_1I2Y52/spawn/stdio-overwrite/.dirs/system-config2 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_1I2Y52/spawn/stdio-overwrite/.dirs/config 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_1I2Y52/spawn/stdio-overwrite/.dirs/system-data1:/tmp/test_spawn-test_1I2Y52/spawn/stdio-overwrite/.dirs/system-data2 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_1I2Y52/spawn/stdio-overwrite/.dirs/data 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_1I2Y52/spawn/stdio-overwrite/.dirs/state 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_1I2Y52/spawn/stdio-overwrite/.dirs/runtime 823s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 823s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 823s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 823s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 823s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 823s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 823s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 823s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 823s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 823s # Fetching GSpawn result output with stdin open, stdout open, stderr open 823s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 823s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 823s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 823s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 823s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 823s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 823s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 823s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 823s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 823s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 823s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 823s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 823s ok - glib/spawn-test.test 823s # Running test: glib/memory-monitor.test 823s ok - glib/memory-monitor.test 823s # Running test: glib/fileattributematcher.test 823s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 823s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 823s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 823s # Fetching GSpawn result with stdin open, stdout open, stderr open 823s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 823s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 823s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 823s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 823s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 823s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 823s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 823s ok 2 /spawn/stdio-overwrite 823s # End of spawn tests 823s TAP version 14 823s # random seed: R02S902297e30902f542c8ee4f855f79b533 823s 1..1 823s # Start of memory-monitor tests 823s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 823s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 823s ok 1 /memory-monitor/default 823s # End of memory-monitor tests 823s TAP version 14 823s # random seed: R02Sb07b8c1ffb3d6e1bf12efaf588f9701a 823s 1..3 823s # Start of fileattributematcher tests 823s ok 1 /fileattributematcher/exact 823s ok 2 /fileattributematcher/equality 823s ok 3 /fileattributematcher/subtract 823s # End of fileattributematcher tests 823s ok - glib/fileattributematcher.test 823s # Running test: glib/g-file-info.test 823s TAP version 14 823s # random seed: R02S2d853be8ab09ab4c3cfbc1811a6a144e 823s ok - glib/g-file-info.test 823s 1..6 823s # Start of g-file-info tests 823s ok 1 /g-file-info/test_g_file_info 823s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 823s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 823s ok 2 /g-file-info/xattrs 823s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 823s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 823s ok 3 /g-file-info/set-modified-date-time-precision 823s # Start of test_g_file_info tests 823s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 823s ok 4 /g-file-info/test_g_file_info/modification-time 823s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 823s ok 5 /g-file-info/test_g_file_info/access-time 823s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 823s ok 6 /g-file-info/test_g_file_info/creation-time 823s # End of test_g_file_info tests 823s # End of g-file-info tests 823s # Running test: glib/registered-type-info.test 823s TAP version 14 823s # random seed: R02S76a5f0c1d20e0a6aa99913509a73a0d4 823s 1..1 823s # Start of registered-type-info tests 823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_API052/registered-type-info/boxed/.dirs/home 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_API052/registered-type-info/boxed/.dirs/cache 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_API052/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_API052/registered-type-info/boxed/.dirs/system-config2 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_API052/registered-type-info/boxed/.dirs/config 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_API052/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_API052/registered-type-info/boxed/.dirs/system-data2 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_API052/registered-type-info/boxed/.dirs/data 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_API052/registered-type-info/boxed/.dirs/state 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_API052/registered-type-info/boxed/.dirs/runtime 823s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 823s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 823s # Expecting CClosure to not be boxed 823s # Expecting TypeCValue to not be boxed 823s # Expecting InitiallyUnownedClass to not be boxed 823s # Expecting BookmarkFile to be boxed 823s # Expecting Closure to be boxed 823s # Expecting Object to not be boxed 823s ok 1 /registered-type-info/boxed 823s # End of registered-type-info tests 823s ok - glib/registered-type-info.test 823s # Running test: glib/gdbus-threading.test 823s TAP version 14 823s # random seed: R02Sdb7fd51dcee073a6e0c46750c87a3abd 823s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 823s ok - glib/gdbus-threading.test 823s # Running test: glib/properties-refcount3.test 823s TAP version 14 823s # random seed: R02Sc66f7894f60f87d7f499062ea0ddd3c6 823s 1..1 823s # Start of gobject tests 823s # Start of refcount tests 824s # Executing: glib/properties-refcount3.test 829s # Executing: glib/properties-refcount3.test 834s # Executing: glib/properties-refcount3.test 839s # Executing: glib/properties-refcount3.test 844s # Executing: glib/properties-refcount3.test 849s # Executing: glib/properties-refcount3.test 853s # 853s # stopping 853s # 853s # stopped 853s # 853s # 29543159 272308 853s # 853s ok 1 /gobject/refcount/properties-3 853s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 853s # End of refcount tests 853s # End of gobject tests 853s ok - glib/properties-refcount3.test 853s # Running test: glib/gdbus-serialization.test 853s TAP version 14 853s # random seed: R02Se2ebb0922b42ee7693a3214aadcc8cb9 853s 1..18 853s # Start of gdbus tests 853s # Start of message-serialize tests 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/basic/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/basic/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/basic/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/basic/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/basic/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/basic/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/basic/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/basic/.dirs/runtime 853s ok 1 /gdbus/message-serialize/basic 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/complex/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/complex/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/complex/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/complex/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/complex/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/complex/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/complex/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/complex/.dirs/runtime 853s ok 2 /gdbus/message-serialize/complex 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/invalid/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/invalid/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/invalid/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/invalid/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/invalid/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/invalid/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/invalid/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/invalid/.dirs/runtime 853s ok 3 /gdbus/message-serialize/invalid 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/header-checks/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/header-checks/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/header-checks/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/header-checks/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/header-checks/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/header-checks/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/header-checks/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/header-checks/.dirs/runtime 853s ok 4 /gdbus/message-serialize/header-checks 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/double-array/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/double-array/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/double-array/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/double-array/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/double-array/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/double-array/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/double-array/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/double-array/.dirs/runtime 853s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 853s ok 5 /gdbus/message-serialize/double-array 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/empty-structure/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/empty-structure/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/empty-structure/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/empty-structure/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/empty-structure/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/empty-structure/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/empty-structure/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/empty-structure/.dirs/runtime 853s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 853s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 853s ok 6 /gdbus/message-serialize/empty-structure 853s # Start of header-checks tests 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/header-checks/valid/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/header-checks/valid/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/header-checks/valid/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/header-checks/valid/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/header-checks/valid/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-serialize/header-checks/valid/.dirs/runtime 853s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 853s ok 7 /gdbus/message-serialize/header-checks/valid 853s # End of header-checks tests 853s # End of message-serialize tests 853s # Start of message-parse tests 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 853s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 853s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/non-signature-header/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/non-signature-header/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/non-signature-header/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/non-signature-header/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/non-signature-header/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/non-signature-header/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/non-signature-header/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/non-signature-header/.dirs/runtime 853s ok 9 /gdbus/message-parse/non-signature-header 853s ok - glib/gdbus-serialization.test 853s # Running test: glib/gthash.test 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-signature-header/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-signature-header/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-signature-header/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-signature-header/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-signature-header/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-signature-header/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-signature-header/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-signature-header/.dirs/runtime 853s ok 10 /gdbus/message-parse/empty-signature-header 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/multiple-signature-header/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/multiple-signature-header/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/multiple-signature-header/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/multiple-signature-header/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/multiple-signature-header/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/multiple-signature-header/.dirs/runtime 853s ok 11 /gdbus/message-parse/multiple-signature-header 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/over-long-signature-header/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/over-long-signature-header/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/over-long-signature-header/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/over-long-signature-header/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/over-long-signature-header/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/over-long-signature-header/.dirs/runtime 853s ok 12 /gdbus/message-parse/over-long-signature-header 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/deep-header-nesting/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/deep-header-nesting/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/deep-header-nesting/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/deep-header-nesting/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/deep-header-nesting/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/deep-header-nesting/.dirs/runtime 853s ok 13 /gdbus/message-parse/deep-header-nesting 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/deep-body-nesting/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/deep-body-nesting/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/deep-body-nesting/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/deep-body-nesting/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/deep-body-nesting/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/deep-body-nesting/.dirs/runtime 853s ok 14 /gdbus/message-parse/deep-body-nesting 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/truncated/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/truncated/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/truncated/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/truncated/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/truncated/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/truncated/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/truncated/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/truncated/.dirs/runtime 853s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 853s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 853s ok 15 /gdbus/message-parse/truncated 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-structure/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-structure/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-structure/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-structure/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-structure/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-structure/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-structure/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/empty-structure/.dirs/runtime 853s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 853s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 853s ok 16 /gdbus/message-parse/empty-structure 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/missing-header/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/missing-header/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/missing-header/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/missing-header/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/missing-header/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/missing-header/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/missing-header/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/missing-header/.dirs/runtime 853s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 853s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 853s ok 17 /gdbus/message-parse/missing-header 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/invalid-header-type/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/invalid-header-type/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/invalid-header-type/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/invalid-header-type/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/invalid-header-type/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/invalid-header-type/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/invalid-header-type/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZWG152/gdbus/message-parse/invalid-header-type/.dirs/runtime 853s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 853s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 853s ok 18 /gdbus/message-parse/invalid-header-type 853s # End of message-parse tests 853s # End of gdbus tests 853s TAP version 14 854s ok - glib/gthash.test 854s # Running test: glib/gdbus-bz627724.test 854s ok - glib/gdbus-bz627724.test 854s # Running test: glib/tls-database.test 854s ok - glib/tls-database.test 854s # Running test: glib/gdbus-introspection.test 854s ok - glib/gdbus-introspection.test 854s # Running test: glib/pathbuf.test 854s ok - glib/pathbuf.test 854s # Running test: glib/refstring.test 854s # random seed: R02Sab3dbd79e86a1b84a113835b4b7d68c6 854s 1..1 854s # Start of gthash tests 854s ok 1 /gthash/build-retrieve 854s # End of gthash tests 854s TAP version 14 854s # random seed: R02S75fe732a3fe41c40de395a9987eca6f1 854s 1..1 854s # Start of gdbus tests 854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_HD3052/gdbus/bz627724/.dirs/home 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_HD3052/gdbus/bz627724/.dirs/cache 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_HD3052/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_HD3052/gdbus/bz627724/.dirs/system-config2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_HD3052/gdbus/bz627724/.dirs/config 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_HD3052/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_HD3052/gdbus/bz627724/.dirs/system-data2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_HD3052/gdbus/bz627724/.dirs/data 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_HD3052/gdbus/bz627724/.dirs/state 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_HD3052/gdbus/bz627724/.dirs/runtime 854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 854s ok 1 /gdbus/bz627724 854s # End of gdbus tests 854s TAP version 14 854s # random seed: R02S3c0e44282e56b323f7ae02ae05c27d1c 854s 1..1 854s # Start of tls-backend tests 854s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 854s ok 1 /tls-backend/set-default-database 854s # End of tls-backend tests 854s TAP version 14 854s # random seed: R02S4f3f999820ec647460335c65f750e561 854s 1..4 854s # Start of gdbus tests 854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-parser/.dirs/home 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-parser/.dirs/cache 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-parser/.dirs/system-config2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-parser/.dirs/config 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-parser/.dirs/system-data2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-parser/.dirs/data 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-parser/.dirs/state 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-parser/.dirs/runtime 854s ok 1 /gdbus/introspection-parser 854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-generate/.dirs/home 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-generate/.dirs/cache 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-generate/.dirs/system-config2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-generate/.dirs/config 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-generate/.dirs/system-data2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-generate/.dirs/data 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-generate/.dirs/state 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-generate/.dirs/runtime 854s ok 2 /gdbus/introspection-generate 854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-default-direction/.dirs/home 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-default-direction/.dirs/cache 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-default-direction/.dirs/system-config2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-default-direction/.dirs/config 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-default-direction/.dirs/system-data2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-default-direction/.dirs/data 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-default-direction/.dirs/state 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-default-direction/.dirs/runtime 854s ok 3 /gdbus/introspection-default-direction 854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-extra-data/.dirs/home 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-extra-data/.dirs/cache 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-extra-data/.dirs/system-config2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-extra-data/.dirs/config 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-extra-data/.dirs/system-data2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-extra-data/.dirs/data 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-extra-data/.dirs/state 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_MOUW52/gdbus/introspection-extra-data/.dirs/runtime 854s ok 4 /gdbus/introspection-extra-data 854s # End of gdbus tests 854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 854s TAP version 14 854s # random seed: R02Sf7b52803aa0aae8158fdf3a41d7caa4d 854s 1..3 854s # Start of pathbuf tests 854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_4QEW52/pathbuf/init/.dirs/home 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_4QEW52/pathbuf/init/.dirs/cache 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_4QEW52/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_4QEW52/pathbuf/init/.dirs/system-config2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_4QEW52/pathbuf/init/.dirs/config 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_4QEW52/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_4QEW52/pathbuf/init/.dirs/system-data2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_4QEW52/pathbuf/init/.dirs/data 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_4QEW52/pathbuf/init/.dirs/state 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_4QEW52/pathbuf/init/.dirs/runtime 854s # Initializing empty path buf 854s # Initializing with empty path 854s # Initializing with full path 854s # Initializing with no path 854s # Allocating GPathBuf on the heap 854s ok 1 /pathbuf/init 854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_4QEW52/pathbuf/push-pop/.dirs/home 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_4QEW52/pathbuf/push-pop/.dirs/cache 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_4QEW52/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_4QEW52/pathbuf/push-pop/.dirs/system-config2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_4QEW52/pathbuf/push-pop/.dirs/config 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_4QEW52/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_4QEW52/pathbuf/push-pop/.dirs/system-data2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_4QEW52/pathbuf/push-pop/.dirs/data 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_4QEW52/pathbuf/push-pop/.dirs/state 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_4QEW52/pathbuf/push-pop/.dirs/runtime 854s # Pushing relative path component 854s # Pushing absolute path component 854s # Popping a path component 854s # Can't pop the last element of a path buffer 854s ok 2 /pathbuf/push-pop 854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_4QEW52/pathbuf/filename-extension/.dirs/home 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_4QEW52/pathbuf/filename-extension/.dirs/cache 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_4QEW52/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_4QEW52/pathbuf/filename-extension/.dirs/system-config2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_4QEW52/pathbuf/filename-extension/.dirs/config 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_4QEW52/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_4QEW52/pathbuf/filename-extension/.dirs/system-data2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_4QEW52/pathbuf/filename-extension/.dirs/data 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_4QEW52/pathbuf/filename-extension/.dirs/state 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_4QEW52/pathbuf/filename-extension/.dirs/runtime 854s ok 3 /pathbuf/filename-extension 854s # End of pathbuf tests 854s TAP version 14 854s # random seed: R02S19fc993dd716cd58f8931e24a674cd87 854s 1..8 854s # Start of refstring tests 854s # s = 'hello, world' (0x56e19dee83d0) 854s ok 1 /refstring/base 854s ok 2 /refstring/length 854s ok 3 /refstring/length-auto 854s ok 4 /refstring/length-nuls 854s # s = 'hello, world' (0x56e19dee8270) 854s # p = s = 'hello, world' (0x56e19dee8270) 854s # releasing p[0x56e19dee8270] ('hello, world') 854s # p = 'goodbye, world' (0x56e19dee83d0) 854s # releasing p[0x56e19dee83d0] ('goodbye, world') 854s # releasing s[0x56e19dee8270] ('hello, world') 854s ok 5 /refstring/intern 854s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 854s ok 6 /refstring/hash_equal 854s # /refstring/equal summary: Test g_ref_string_equal() standalone 854s ok 7 /refstring/equal 854s ok 8 /refstring/intern-thread-safety 854s # End of refstring tests 854s ok - glib/refstring.test 854s # Running test: glib/power-profile-monitor.test 854s TAP version 14 854s # random seed: R02Sf9c8fdffb326390a99865bd8fed88790 854s 1..1 854s # Start of power-profile-monitor tests 854s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 854s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 854s ok 1 /power-profile-monitor/default 854s # End of power-profile-monitor tests 854s ok - glib/power-profile-monitor.test 854s # Running test: glib/performance.test 854s # Executing: glib/performance.test 859s # Executing: glib/performance.test 859s simple-construction: Millions of constructed objects per second: 22.928 862s simple-construction1: Millions of constructed objects per second: 62.089 864s # Executing: glib/performance.test 865s complex-construction: Millions of constructed objects per second: 8.035 868s complex-construction1: Millions of constructed objects per second: 13.005 869s # Executing: glib/performance.test 873s complex-construction2: Millions of constructed objects per second: 16.696 874s # Executing: glib/performance.test 875s finalization: Millions of finalized objects per second: 6.467 876s type-check: Million type checks per second: 157.13 877s emit-unhandled: Emissions per second: 8271921 879s emit-unhandled-empty: Emissions per second: 61845262 879s # Executing: glib/performance.test 880s emit-unhandled-generic: Emissions per second: 12526612 881s emit-unhandled-generic-empty: Emissions per second: 62111585 882s emit-unhandled-args: Emissions per second: 6702419 883s emit-handled: Emissions per second: 5240909 884s # Executing: glib/performance.test 885s emit-handled-empty: Emissions per second: 5398329 886s emit-handled-generic: Emissions per second: 5380063 887s emit-handled-generic-empty: Emissions per second: 10620035 888s emit-handled-args: Emissions per second: 4574906 889s # Executing: glib/performance.test 889s notify-unhandled: Notify (unhandled) per second: 53538114 891s notify-by-pspec-unhandled: Notify (unhandled) per second: 131114891 892s notify-handled: Notify per second: 3253978 893s notify-by-pspec-handled: Notify per second: 3410647 894s # Executing: glib/performance.test 894s property-set: Property set per second: 26827716 896s property-set-signaled: Property set per second: 5135241 897s property-get: Property get per second: 23155507 898s refcount: Million refs+unref per second: 84.39 899s refcount-1: Million refs+unref per second: 243.74 899s # Executing: glib/performance.test 900s refcount-toggle: Million refs+unref per second: 116.17 900s ok - glib/performance.test 900s # Running test: glib/protocol.test 900s TAP version 14 900s # random seed: R02Se93ad195b80afd700d1c8c644dcab814 900s 1..9 900s # Start of glib tests 900s # Start of testing tests 900s # Start of protocol tests 900s ok 1 /glib/testing/protocol/debug 900s ok 2 /glib/testing/protocol/info 900s ok 3 /glib/testing/protocol/message 900s ok 4 /glib/testing/protocol/warning 900s ok 5 /glib/testing/protocol/critical 900s ok 6 /glib/testing/protocol/error 900s ok 7 /glib/testing/protocol/gtest-message 900s ok - glib/protocol.test 900s # Running test: glib/giomodule.test 900s ok - glib/giomodule.test 900s # Running test: glib/utf8-misc.test 900s ok - glib/utf8-misc.test 900s # Running test: glib/bitlock.test 900s ok - glib/bitlock.test 900s # Running test: glib/macros.test 900s ok 8 /glib/testing/protocol/test-message 900s ok 9 /glib/testing/protocol/test-error 900s # End of protocol tests 900s # End of testing tests 900s # End of glib tests 900s TAP version 14 900s # random seed: R02S6ccc261f5dd4d2979962215a9e61f378 900s 1..3 900s # Start of giomodule tests 900s ok 1 /giomodule/extension-point 900s ok 2 /giomodule/module-scan-all 900s ok 3 /giomodule/module-scan-all-with-scope 900s # End of giomodule tests 900s TAP version 14 900s # random seed: R02S43599b4b8b9f1115e638cefd0c58a072 900s 1..7 900s # Start of utf8 tests 900s ok 1 /utf8/strlen 900s ok 2 /utf8/strncpy 900s ok 3 /utf8/strrchr 900s ok 4 /utf8/reverse 900s ok 5 /utf8/substring 900s ok 6 /utf8/make-valid 900s ok 7 /utf8/truncate-middle 900s # End of utf8 tests 900s TAP version 14 900s # random seed: R02Sf38e8a9a1d337f83c8c4bf15e3a2ef1d 900s 1..1 900s # Start of bitlock tests 900s # Start of performance tests 900s # max perf: iterations per second 900s ok 1 /bitlock/performance/uncontended 900s # End of performance tests 900s # End of bitlock tests 900s TAP version 14 900s # random seed: R02S03418ef2a5172fc27953902ce185c867 900s 1..3 900s ok - glib/macros.test 900s # Running test: glib/gobject-query.py.test 900s # Start of alignof tests 900s ok 1 /alignof/fallback 900s # End of alignof tests 900s # Start of assert tests 900s ok 2 /assert/static 900s # End of assert tests 900s # Start of struct tests 900s ok 3 /struct/sizeof_member 900s # End of struct tests 900s TAP version 13 900s ok 1 __main__.TestGobjectQuery.test_froots 900s # gobject-query: /usr/bin/gobject-query 900s # tmpdir: /tmp/tmpgy3zu9ep 900s # Running: ['/usr/bin/gobject-query', 'froots'] 900s # Return code: 0 900s # Output: 900s # ├void 900s # ├GInterface 900s # │ â””GTypePlugin 900s # ├gchar 900s # ├guchar 900s # ├gboolean 900s # ├gint 900s # ├guint 900s # ├glong 900s # ├gulong 900s # ├gint64 900s # ├guint64 900s # ├GEnum 900s # ├GFlags 900s # ├gfloat 900s # ├gdouble 900s # ├gchararray 900s # ├gpointer 900s # │ â””GType 900s # ├GBoxed 900s # │ â””GValueArray 900s # ├GParam 900s # │ ├GParamChar 900s # │ ├GParamUChar 900s # │ ├GParamBoolean 900s # │ ├GParamInt 900s # │ ├GParamUInt 900s # │ ├GParamLong 900s # │ ├GParamULong 900s # │ ├GParamInt64 900s # │ ├GParamUInt64 900s # │ ├GParamUnichar 900s # │ ├GParamEnum 900s # │ ├GParamFlags 900s # │ ├GParamFloat 900s # │ ├GParamDouble 900s # │ ├GParamString 900s # │ ├GParamParam 900s # │ ├GParamBoxed 900s # │ ├GParamPointer 900s # │ ├GParamValueArray 900s # │ ├GParamObject 900s # │ ├GParamOverride 900s # │ ├GParamGType 900s # │ â””GParamVariant 900s # ├GObject 900s # â””GVariant 900s # Error: 900s ok 2 __main__.TestGobjectQuery.test_help 900s # gobject-query: /usr/bin/gobject-query 900s # tmpdir: /tmp/tmp40vdmzzg 900s # Running: ['/usr/bin/gobject-query', '--help'] 900s # Return code: 0 900s # Output: 900s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 900s # -r specify root type 900s # -n don't descend type tree 900s # -h show help 900s # -b specify indent string 900s # -i specify incremental indent string 900s # -s specify line spacing 900s # qualifiers: 900s # froots iterate over fundamental roots 900s # tree print type tree 900s # Error: 900s ok 3 __main__.TestGobjectQuery.test_tree 900s # gobject-query: /usr/bin/gobject-query 900s # tmpdir: /tmp/tmpxdp59v8h 900s # Running: ['/usr/bin/gobject-query', 'tree'] 900s # Return code: 0 900s # Output: 900s # GObject 900s # Error: 900s ok 4 __main__.TestGobjectQuery.test_version 900s # gobject-query: /usr/bin/gobject-query 900s # tmpdir: /tmp/tmpd9j7la8b 900s # Running: ['/usr/bin/gobject-query', '--version'] 900s # Return code: 0 900s # Output: 900s # 2.84.1 900s # Error: 900s 1..4 900s ok - glib/gobject-query.py.test 900s # Running test: glib/scannerapi.test 900s TAP version 14 900s # random seed: R02S81e982d6664a6e5b8c63ffdef65526f8 900s 1..4 900s # Start of scanner tests 900s ok 1 /scanner/warn 900s ok 2 /scanner/error 900s ok 3 /scanner/symbols 900s ok 4 /scanner/tokens 900s # End of scanner tests 900s ok - glib/scannerapi.test 900s # Running test: glib/memchunk.test 900s TAP version 14 900s # random seed: R02S9ff6b08fb14c81c2b4507db13a03e6f2 900s 1..1 900s # Start of memchunk tests 900s ok 1 /memchunk/basic 900s ok - glib/memchunk.test 900s # Running test: glib/mimeapps.test 900s # End of memchunk tests 900s TAP version 14 900s # random seed: R02S679cc74ab8b4035170b26014e9b3d404 900s 1..7 900s # Start of appinfo tests 900s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BW3S52/appinfo/all/.dirs/home 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BW3S52/appinfo/all/.dirs/cache 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BW3S52/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_BW3S52/appinfo/all/.dirs/system-config2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BW3S52/appinfo/all/.dirs/config 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BW3S52/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_BW3S52/appinfo/all/.dirs/system-data2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BW3S52/appinfo/all/.dirs/data 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BW3S52/appinfo/all/.dirs/state 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BW3S52/appinfo/all/.dirs/runtime 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/all/.dirs/system-data1/applications' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/all/.dirs/data/applications' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/all/.dirs/data/applications/myapp.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/all/.dirs/data/applications/myapp2.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/all/.dirs/data/applications/myapp3.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/all/.dirs/data/applications/myapp4.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/all/.dirs/data/applications/myapp5.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 900s # removing '/tmp/test_mimeapps_BW3S52/appinfo/all/.dirs/data/applications/mimeapps.list' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/all/.dirs/data/applications/mimeinfo.cache' 900s ok 1 /appinfo/all 900s # Start of mime tests 900s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/home 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/cache 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/system-config2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/config 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/system-data2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/data 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/state 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/runtime 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/system-data1/applications' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/data/applications' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 900s # removing '/tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 900s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/config 900s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BW3S52/appinfo/all/.dirs/config to /tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/config 900s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/config 900s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/config 900s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/config 900s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/config 900s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/config 900s ok 2 /appinfo/mime/api 900s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/home 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/cache 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/system-config2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/config 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/system-data2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/data 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/state 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/runtime 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/system-data1/applications' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/data/applications' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 900s # removing '/tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 900s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/config 900s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BW3S52/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/config 900s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/config 900s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/config 900s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/config 900s ok 3 /appinfo/mime/default 900s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/home 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/cache 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/system-config2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/config 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/system-data2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/data 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/state 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/runtime 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/system-data1/applications' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/data/applications' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 900s # removing '/tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 900s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/config 900s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BW3S52/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/config 900s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/config 900s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/config 900s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/config 900s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/config 900s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/config 900s ok 4 /appinfo/mime/file 900s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/home 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/cache 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/system-config2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/config 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/system-data2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/data 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/state 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/runtime 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/data/applications' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 900s # removing '/tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 900s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BW3S52/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/config 900s ok 5 /appinfo/mime/scheme-handler 900s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/home 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/cache 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/system-config2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/config 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/system-data2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/data 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/state 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/runtime 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/system-data1/applications' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/data/applications' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 900s # removing '/tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 900s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/config 900s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BW3S52/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/config 900s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/config 900s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/config 900s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/config 900s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/config 900s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/config 900s ok 6 /appinfo/mime/default-last-used 900s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/ignore-nonexisting/.dirs/home 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/ignore-nonexisting/.dirs/cache 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BW3S52/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_BW3S52/appinfo/mime/ignore-nonexisting/.dirs/system-config2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/ignore-nonexisting/.dirs/config 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BW3S52/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_BW3S52/appinfo/mime/ignore-nonexisting/.dirs/system-data2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/ignore-nonexisting/.dirs/data 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BW3S52/appinfo/mime/ignore-nonexisting/.dirs/state 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BW3S52/appinfo/mime/ignore-nonexisting/.dirs/runtime 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 900s # removing '/tmp/test_mimeapps_BW3S52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 900s # creating '/tmp/test_mimeapps_BW3S52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 900s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BW3S52/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_BW3S52/appinfo/mime/ignore-nonexisting/.dirs/config 900s ok 7 /appinfo/mime/ignore-nonexisting 900s # End of mime tests 900s # End of appinfo tests 900s ok - glib/mimeapps.test 900s # Running test: glib/io-channel-basic.test 900s TAP version 14 900s # random seed: R02S054cce2bdec07e0536d54e739e45d430 900s 1..1 900s # Start of gio tests 900s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 900s # random seed: R02S6a3ff9c66e79da71ad4614c25535c51e 901s # GLib-DEBUG: io-channel-basic: child writing 8+3294 bytes to 6 901s # GLib-DEBUG: io-channel-basic: ...from 5: IN 901s # GLib-DEBUG: io-channel-basic: ...from 5: 3294 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 5: OK 901s # GLib-DEBUG: io-channel-basic: child writing 8+2108 bytes to 6 901s # GLib-DEBUG: io-channel-basic: ...from 5: IN 901s # GLib-DEBUG: io-channel-basic: ...from 5: 2108 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 5: OK 901s # GLib-DEBUG: io-channel-basic: child writing 8+1893 bytes to 6 901s # GLib-DEBUG: io-channel-basic: ...from 5: IN 901s # GLib-DEBUG: io-channel-basic: ...from 5: 1893 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 5: OK 901s # GLib-DEBUG: io-channel-basic: child writing 8+2447 bytes to 6 901s # GLib-DEBUG: io-channel-basic: ...from 5: IN 901s # GLib-DEBUG: io-channel-basic: ...from 5: 2447 bytes 901s # GLib-DEBUG: io-channel-basic: ...from 5: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+4902 bytes to 6 902s # GLib-DEBUG: io-channel-basic: ...from 5: IN 902s # GLib-DEBUG: io-channel-basic: ...from 5: 4902 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 5: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+707 bytes to 6 902s # GLib-DEBUG: io-channel-basic: ...from 5: IN 902s # GLib-DEBUG: io-channel-basic: ...from 5: 707 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 5: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+3545 bytes to 6 902s # GLib-DEBUG: io-channel-basic: ...from 5: IN 902s # GLib-DEBUG: io-channel-basic: ...from 5: 3545 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 5: OK 902s # GLib-DEBUG: io-channel-basic: child writing 8+4070 bytes to 6 902s # GLib-DEBUG: io-channel-basic: ...from 5: IN 902s # GLib-DEBUG: io-channel-basic: ...from 5: 4070 bytes 902s # GLib-DEBUG: io-channel-basic: ...from 5: OK 903s # GLib-DEBUG: io-channel-basic: child writing 8+3166 bytes to 6 903s # GLib-DEBUG: io-channel-basic: ...from 5: IN 903s # GLib-DEBUG: io-channel-basic: ...from 5: 3166 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 5: OK 903s # GLib-DEBUG: io-channel-basic: child writing 8+3026 bytes to 6 903s # GLib-DEBUG: io-channel-basic: ...from 5: IN 903s # GLib-DEBUG: io-channel-basic: ...from 5: 3026 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 5: OK 903s # GLib-DEBUG: io-channel-basic: child writing 8+1981 bytes to 6 903s # GLib-DEBUG: io-channel-basic: ...from 5: IN 903s # GLib-DEBUG: io-channel-basic: ...from 5: 1981 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 5: OK 903s # GLib-DEBUG: io-channel-basic: child writing 8+2091 bytes to 6 903s # GLib-DEBUG: io-channel-basic: ...from 5: IN 903s # GLib-DEBUG: io-channel-basic: ...from 5: 2091 bytes 903s # GLib-DEBUG: io-channel-basic: ...from 5: OK 904s # GLib-DEBUG: io-channel-basic: child writing 8+637 bytes to 6 904s # GLib-DEBUG: io-channel-basic: ...from 5: IN 904s # GLib-DEBUG: io-channel-basic: ...from 5: 637 bytes 904s # GLib-DEBUG: io-channel-basic: ...from 5: OK 904s # GLib-DEBUG: io-channel-basic: child writing 8+3588 bytes to 6 904s # GLib-DEBUG: io-channel-basic: ...from 5: IN 904s # GLib-DEBUG: io-channel-basic: ...from 5: 3588 bytes 904s # GLib-DEBUG: io-channel-basic: ...from 5: OK 904s # Executing: glib/io-channel-basic.test 904s # GLib-DEBUG: io-channel-basic: child writing 8+4002 bytes to 6 904s # GLib-DEBUG: io-channel-basic: ...from 5: IN 904s # GLib-DEBUG: io-channel-basic: ...from 5: 4002 bytes 904s # GLib-DEBUG: io-channel-basic: ...from 5: OK 905s # GLib-DEBUG: io-channel-basic: child writing 8+844 bytes to 6 905s # GLib-DEBUG: io-channel-basic: ...from 5: IN 905s # GLib-DEBUG: io-channel-basic: ...from 5: 844 bytes 905s # GLib-DEBUG: io-channel-basic: ...from 5: OK 905s # GLib-DEBUG: io-channel-basic: child writing 8+3968 bytes to 6 905s # GLib-DEBUG: io-channel-basic: ...from 5: IN 905s # GLib-DEBUG: io-channel-basic: ...from 5: 3968 bytes 905s # GLib-DEBUG: io-channel-basic: ...from 5: OK 905s # GLib-DEBUG: io-channel-basic: child writing 8+3837 bytes to 6 905s # GLib-DEBUG: io-channel-basic: ...from 5: IN 905s # GLib-DEBUG: io-channel-basic: ...from 5: 3837 bytes 905s # GLib-DEBUG: io-channel-basic: ...from 5: OK 905s # GLib-DEBUG: io-channel-basic: child writing 8+3076 bytes to 6 905s # GLib-DEBUG: io-channel-basic: ...from 5: IN 905s # GLib-DEBUG: io-channel-basic: ...from 5: 3076 bytes 905s # GLib-DEBUG: io-channel-basic: ...from 5: OK 906s # GLib-DEBUG: io-channel-basic: child writing 8+4879 bytes to 6 906s # GLib-DEBUG: io-channel-basic: ...from 5: IN 906s # GLib-DEBUG: io-channel-basic: ...from 5: 4879 bytes 906s # GLib-DEBUG: io-channel-basic: ...from 5: OK 906s # GLib-DEBUG: io-channel-basic: child writing 8+3171 bytes to 6 906s # GLib-DEBUG: io-channel-basic: ...from 5: IN 906s # GLib-DEBUG: io-channel-basic: ...from 5: 3171 bytes 906s # GLib-DEBUG: io-channel-basic: ...from 5: OK 906s # GLib-DEBUG: io-channel-basic: child writing 8+4599 bytes to 6 906s # GLib-DEBUG: io-channel-basic: ...from 5: IN 906s # GLib-DEBUG: io-channel-basic: ...from 5: 4599 bytes 906s # GLib-DEBUG: io-channel-basic: ...from 5: OK 906s # GLib-DEBUG: io-channel-basic: child writing 8+1709 bytes to 6 906s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 906s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 906s # GLib-DEBUG: io-channel-basic: ...from 5: 1709 bytes 906s # GLib-DEBUG: io-channel-basic: ...from 5: OK 906s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 906s # random seed: R02S71f5b485f2ef7e3e95e0730d4e2fc9f0 906s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 906s # random seed: R02Sc36345ea5a4a5726ec6ac1f34467465b 906s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 906s # random seed: R02S853c9c7d496fdbb1d1ff6f6cb77b4846 906s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 906s # random seed: R02S2540026dbd74ca8b6710df7394953db5 906s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 906s # random seed: R02S900cdb364ee07daf645eb814484cfb9d 907s # GLib-DEBUG: io-channel-basic: child writing 8+1351 bytes to 9 907s # GLib-DEBUG: io-channel-basic: ...from 8: IN 907s # GLib-DEBUG: io-channel-basic: ...from 8: 1351 bytes 907s # GLib-DEBUG: io-channel-basic: ...from 8: OK 907s # GLib-DEBUG: io-channel-basic: child writing 8+3408 bytes to 13 907s # GLib-DEBUG: io-channel-basic: ...from 12: IN 907s # GLib-DEBUG: io-channel-basic: ...from 12: 3408 bytes 907s # GLib-DEBUG: io-channel-basic: ...from 12: OK 907s # GLib-DEBUG: io-channel-basic: child writing 8+4321 bytes to 11 907s # GLib-DEBUG: io-channel-basic: ...from 10: IN 907s # GLib-DEBUG: io-channel-basic: ...from 10: 4321 bytes 907s # GLib-DEBUG: io-channel-basic: ...from 10: OK 907s # GLib-DEBUG: io-channel-basic: child writing 8+4194 bytes to 17 907s # GLib-DEBUG: io-channel-basic: ...from 16: IN 907s # GLib-DEBUG: io-channel-basic: ...from 16: 4194 bytes 907s # GLib-DEBUG: io-channel-basic: ...from 16: OK 907s # GLib-DEBUG: io-channel-basic: child writing 8+4826 bytes to 15 907s # GLib-DEBUG: io-channel-basic: ...from 14: IN 907s # GLib-DEBUG: io-channel-basic: ...from 14: 4826 bytes 907s # GLib-DEBUG: io-channel-basic: ...from 14: OK 907s # GLib-DEBUG: io-channel-basic: child writing 8+4269 bytes to 13 907s # GLib-DEBUG: io-channel-basic: ...from 12: IN 907s # GLib-DEBUG: io-channel-basic: ...from 12: 4269 bytes 907s # GLib-DEBUG: io-channel-basic: ...from 12: OK 907s # GLib-DEBUG: io-channel-basic: child writing 8+1984 bytes to 9 907s # GLib-DEBUG: io-channel-basic: ...from 8: IN 907s # GLib-DEBUG: io-channel-basic: ...from 8: 1984 bytes 907s # GLib-DEBUG: io-channel-basic: ...from 8: OK 907s # GLib-DEBUG: io-channel-basic: child writing 8+2706 bytes to 11 907s # GLib-DEBUG: io-channel-basic: ...from 10: IN 907s # GLib-DEBUG: io-channel-basic: ...from 10: 2706 bytes 907s # GLib-DEBUG: io-channel-basic: ...from 10: OK 907s # GLib-DEBUG: io-channel-basic: child writing 8+3893 bytes to 17 907s # GLib-DEBUG: io-channel-basic: ...from 16: IN 907s # GLib-DEBUG: io-channel-basic: ...from 16: 3893 bytes 907s # GLib-DEBUG: io-channel-basic: ...from 16: OK 907s # GLib-DEBUG: io-channel-basic: child writing 8+1378 bytes to 15 907s # GLib-DEBUG: io-channel-basic: ...from 14: IN 907s # GLib-DEBUG: io-channel-basic: ...from 14: 1378 bytes 907s # GLib-DEBUG: io-channel-basic: ...from 14: OK 907s # GLib-DEBUG: io-channel-basic: child writing 8+362 bytes to 13 907s # GLib-DEBUG: io-channel-basic: ...from 12: IN 907s # GLib-DEBUG: io-channel-basic: ...from 12: 362 bytes 907s # GLib-DEBUG: io-channel-basic: ...from 12: OK 907s # GLib-DEBUG: io-channel-basic: child writing 8+541 bytes to 9 907s # GLib-DEBUG: io-channel-basic: ...from 8: IN 907s # GLib-DEBUG: io-channel-basic: ...from 8: 541 bytes 907s # GLib-DEBUG: io-channel-basic: ...from 8: OK 907s # GLib-DEBUG: io-channel-basic: child writing 8+3804 bytes to 17 907s # GLib-DEBUG: io-channel-basic: ...from 16: IN 907s # GLib-DEBUG: io-channel-basic: ...from 16: 3804 bytes 907s # GLib-DEBUG: io-channel-basic: ...from 16: OK 907s # GLib-DEBUG: io-channel-basic: child writing 8+625 bytes to 11 907s # GLib-DEBUG: io-channel-basic: ...from 10: IN 907s # GLib-DEBUG: io-channel-basic: ...from 10: 625 bytes 907s # GLib-DEBUG: io-channel-basic: ...from 10: OK 907s # GLib-DEBUG: io-channel-basic: child writing 8+3756 bytes to 15 907s # GLib-DEBUG: io-channel-basic: ...from 14: IN 907s # GLib-DEBUG: io-channel-basic: ...from 14: 3756 bytes 907s # GLib-DEBUG: io-channel-basic: ...from 14: OK 907s # GLib-DEBUG: io-channel-basic: child writing 8+4011 bytes to 9 907s # GLib-DEBUG: io-channel-basic: ...from 8: IN 907s # GLib-DEBUG: io-channel-basic: ...from 8: 4011 bytes 907s # GLib-DEBUG: io-channel-basic: ...from 8: OK 907s # GLib-DEBUG: io-channel-basic: child writing 8+1364 bytes to 13 907s # GLib-DEBUG: io-channel-basic: ...from 12: IN 907s # GLib-DEBUG: io-channel-basic: ...from 12: 1364 bytes 907s # GLib-DEBUG: io-channel-basic: ...from 12: OK 907s # GLib-DEBUG: io-channel-basic: child writing 8+1755 bytes to 11 907s # GLib-DEBUG: io-channel-basic: ...from 10: IN 907s # GLib-DEBUG: io-channel-basic: ...from 10: 1755 bytes 907s # GLib-DEBUG: io-channel-basic: ...from 10: OK 907s # GLib-DEBUG: io-channel-basic: child writing 8+2714 bytes to 17 907s # GLib-DEBUG: io-channel-basic: ...from 16: IN 907s # GLib-DEBUG: io-channel-basic: ...from 16: 2714 bytes 907s # GLib-DEBUG: io-channel-basic: ...from 16: OK 907s # GLib-DEBUG: io-channel-basic: child writing 8+3763 bytes to 15 907s # GLib-DEBUG: io-channel-basic: ...from 14: IN 907s # GLib-DEBUG: io-channel-basic: ...from 14: 3763 bytes 907s # GLib-DEBUG: io-channel-basic: ...from 14: OK 908s # GLib-DEBUG: io-channel-basic: child writing 8+331 bytes to 9 908s # GLib-DEBUG: io-channel-basic: ...from 8: IN 908s # GLib-DEBUG: io-channel-basic: ...from 8: 331 bytes 908s # GLib-DEBUG: io-channel-basic: ...from 8: OK 908s # GLib-DEBUG: io-channel-basic: child writing 8+4356 bytes to 11 908s # GLib-DEBUG: io-channel-basic: ...from 10: IN 908s # GLib-DEBUG: io-channel-basic: ...from 10: 4356 bytes 908s # GLib-DEBUG: io-channel-basic: ...from 10: OK 908s # GLib-DEBUG: io-channel-basic: child writing 8+2774 bytes to 13 908s # GLib-DEBUG: io-channel-basic: ...from 12: IN 908s # GLib-DEBUG: io-channel-basic: ...from 12: 2774 bytes 908s # GLib-DEBUG: io-channel-basic: ...from 12: OK 908s # GLib-DEBUG: io-channel-basic: child writing 8+81 bytes to 17 908s # GLib-DEBUG: io-channel-basic: ...from 16: IN 908s # GLib-DEBUG: io-channel-basic: ...from 16: 81 bytes 908s # GLib-DEBUG: io-channel-basic: ...from 16: OK 908s # GLib-DEBUG: io-channel-basic: child writing 8+2619 bytes to 15 908s # GLib-DEBUG: io-channel-basic: ...from 14: IN 908s # GLib-DEBUG: io-channel-basic: ...from 14: 2619 bytes 908s # GLib-DEBUG: io-channel-basic: ...from 14: OK 908s # GLib-DEBUG: io-channel-basic: child writing 8+3218 bytes to 9 908s # GLib-DEBUG: io-channel-basic: ...from 8: IN 908s # GLib-DEBUG: io-channel-basic: ...from 8: 3218 bytes 908s # GLib-DEBUG: io-channel-basic: ...from 8: OK 908s # GLib-DEBUG: io-channel-basic: child writing 8+2534 bytes to 11 908s # GLib-DEBUG: io-channel-basic: ...from 10: IN 908s # GLib-DEBUG: io-channel-basic: ...from 10: 2534 bytes 908s # GLib-DEBUG: io-channel-basic: ...from 10: OK 908s # GLib-DEBUG: io-channel-basic: child writing 8+272 bytes to 13 908s # GLib-DEBUG: io-channel-basic: ...from 12: IN 908s # GLib-DEBUG: io-channel-basic: ...from 12: 272 bytes 908s # GLib-DEBUG: io-channel-basic: ...from 12: OK 908s # GLib-DEBUG: io-channel-basic: child writing 8+3519 bytes to 17 908s # GLib-DEBUG: io-channel-basic: ...from 16: IN 908s # GLib-DEBUG: io-channel-basic: ...from 16: 3519 bytes 908s # GLib-DEBUG: io-channel-basic: ...from 16: OK 908s # GLib-DEBUG: io-channel-basic: child writing 8+2563 bytes to 15 908s # GLib-DEBUG: io-channel-basic: ...from 14: IN 908s # GLib-DEBUG: io-channel-basic: ...from 14: 2563 bytes 908s # GLib-DEBUG: io-channel-basic: ...from 14: OK 908s # GLib-DEBUG: io-channel-basic: child writing 8+874 bytes to 9 908s # GLib-DEBUG: io-channel-basic: ...from 8: IN 908s # GLib-DEBUG: io-channel-basic: ...from 8: 874 bytes 908s # GLib-DEBUG: io-channel-basic: ...from 8: OK 908s # GLib-DEBUG: io-channel-basic: child writing 8+2188 bytes to 11 908s # GLib-DEBUG: io-channel-basic: ...from 10: IN 908s # GLib-DEBUG: io-channel-basic: ...from 10: 2188 bytes 908s # GLib-DEBUG: io-channel-basic: ...from 10: OK 908s # GLib-DEBUG: io-channel-basic: child writing 8+1446 bytes to 17 908s # GLib-DEBUG: io-channel-basic: ...from 16: IN 908s # GLib-DEBUG: io-channel-basic: ...from 16: 1446 bytes 908s # GLib-DEBUG: io-channel-basic: ...from 16: OK 908s # GLib-DEBUG: io-channel-basic: child writing 8+2369 bytes to 13 908s # GLib-DEBUG: io-channel-basic: ...from 12: IN 908s # GLib-DEBUG: io-channel-basic: ...from 12: 2369 bytes 908s # GLib-DEBUG: io-channel-basic: ...from 12: OK 908s # GLib-DEBUG: io-channel-basic: child writing 8+3882 bytes to 15 908s # GLib-DEBUG: io-channel-basic: ...from 14: IN 908s # GLib-DEBUG: io-channel-basic: ...from 14: 3882 bytes 908s # GLib-DEBUG: io-channel-basic: ...from 14: OK 908s # GLib-DEBUG: io-channel-basic: child writing 8+3406 bytes to 11 908s # GLib-DEBUG: io-channel-basic: ...from 10: IN 908s # GLib-DEBUG: io-channel-basic: ...from 10: 3406 bytes 908s # GLib-DEBUG: io-channel-basic: ...from 10: OK 908s # GLib-DEBUG: io-channel-basic: child writing 8+3994 bytes to 9 908s # GLib-DEBUG: io-channel-basic: ...from 8: IN 908s # GLib-DEBUG: io-channel-basic: ...from 8: 3994 bytes 908s # GLib-DEBUG: io-channel-basic: ...from 8: OK 908s # GLib-DEBUG: io-channel-basic: child writing 8+4459 bytes to 13 908s # GLib-DEBUG: io-channel-basic: ...from 12: IN 908s # GLib-DEBUG: io-channel-basic: ...from 12: 4459 bytes 908s # GLib-DEBUG: io-channel-basic: ...from 12: OK 908s # GLib-DEBUG: io-channel-basic: child writing 8+2012 bytes to 17 908s # GLib-DEBUG: io-channel-basic: ...from 16: IN 908s # GLib-DEBUG: io-channel-basic: ...from 16: 2012 bytes 908s # GLib-DEBUG: io-channel-basic: ...from 16: OK 909s # GLib-DEBUG: io-channel-basic: child writing 8+354 bytes to 15 909s # GLib-DEBUG: io-channel-basic: ...from 14: IN 909s # GLib-DEBUG: io-channel-basic: ...from 14: 354 bytes 909s # GLib-DEBUG: io-channel-basic: ...from 14: OK 909s # GLib-DEBUG: io-channel-basic: child writing 8+3595 bytes to 9 909s # GLib-DEBUG: io-channel-basic: ...from 8: IN 909s # GLib-DEBUG: io-channel-basic: ...from 8: 3595 bytes 909s # GLib-DEBUG: io-channel-basic: ...from 8: OK 909s # GLib-DEBUG: io-channel-basic: child writing 8+2292 bytes to 11 909s # GLib-DEBUG: io-channel-basic: ...from 10: IN 909s # GLib-DEBUG: io-channel-basic: ...from 10: 2292 bytes 909s # GLib-DEBUG: io-channel-basic: ...from 10: OK 909s # GLib-DEBUG: io-channel-basic: child writing 8+226 bytes to 17 909s # GLib-DEBUG: io-channel-basic: ...from 16: IN 909s # GLib-DEBUG: io-channel-basic: ...from 16: 226 bytes 909s # GLib-DEBUG: io-channel-basic: ...from 16: OK 909s # GLib-DEBUG: io-channel-basic: child writing 8+457 bytes to 13 909s # GLib-DEBUG: io-channel-basic: ...from 12: IN 909s # GLib-DEBUG: io-channel-basic: ...from 12: 457 bytes 909s # GLib-DEBUG: io-channel-basic: ...from 12: OK 909s # GLib-DEBUG: io-channel-basic: child writing 8+3599 bytes to 15 909s # GLib-DEBUG: io-channel-basic: ...from 14: IN 909s # GLib-DEBUG: io-channel-basic: ...from 14: 3599 bytes 909s # GLib-DEBUG: io-channel-basic: ...from 14: OK 909s # GLib-DEBUG: io-channel-basic: child writing 8+293 bytes to 11 909s # GLib-DEBUG: io-channel-basic: ...from 10: IN 909s # GLib-DEBUG: io-channel-basic: ...from 10: 293 bytes 909s # GLib-DEBUG: io-channel-basic: ...from 10: OK 909s # GLib-DEBUG: io-channel-basic: child writing 8+1852 bytes to 9 909s # GLib-DEBUG: io-channel-basic: ...from 8: IN 909s # GLib-DEBUG: io-channel-basic: ...from 8: 1852 bytes 909s # GLib-DEBUG: io-channel-basic: ...from 8: OK 909s # GLib-DEBUG: io-channel-basic: child writing 8+4579 bytes to 17 909s # GLib-DEBUG: io-channel-basic: ...from 16: IN 909s # GLib-DEBUG: io-channel-basic: ...from 16: 4579 bytes 909s # GLib-DEBUG: io-channel-basic: ...from 16: OK 909s # GLib-DEBUG: io-channel-basic: child writing 8+990 bytes to 13 909s # GLib-DEBUG: io-channel-basic: ...from 12: IN 909s # GLib-DEBUG: io-channel-basic: ...from 12: 990 bytes 909s # GLib-DEBUG: io-channel-basic: ...from 12: OK 909s # GLib-DEBUG: io-channel-basic: child writing 8+617 bytes to 15 909s # GLib-DEBUG: io-channel-basic: ...from 14: IN 909s # GLib-DEBUG: io-channel-basic: ...from 14: 617 bytes 909s # GLib-DEBUG: io-channel-basic: ...from 14: OK 909s # Executing: glib/io-channel-basic.test 909s # GLib-DEBUG: io-channel-basic: child writing 8+4755 bytes to 9 909s # GLib-DEBUG: io-channel-basic: ...from 8: IN 909s # GLib-DEBUG: io-channel-basic: ...from 8: 4755 bytes 909s # GLib-DEBUG: io-channel-basic: ...from 8: OK 909s # GLib-DEBUG: io-channel-basic: child writing 8+1231 bytes to 11 909s # GLib-DEBUG: io-channel-basic: ...from 10: IN 909s # GLib-DEBUG: io-channel-basic: ...from 10: 1231 bytes 909s # GLib-DEBUG: io-channel-basic: ...from 10: OK 909s # GLib-DEBUG: io-channel-basic: child writing 8+1996 bytes to 17 909s # GLib-DEBUG: io-channel-basic: ...from 16: IN 909s # GLib-DEBUG: io-channel-basic: ...from 16: 1996 bytes 909s # GLib-DEBUG: io-channel-basic: ...from 16: OK 909s # GLib-DEBUG: io-channel-basic: child writing 8+2035 bytes to 13 909s # GLib-DEBUG: io-channel-basic: ...from 12: IN 909s # GLib-DEBUG: io-channel-basic: ...from 12: 2035 bytes 909s # GLib-DEBUG: io-channel-basic: ...from 12: OK 909s # GLib-DEBUG: io-channel-basic: child writing 8+2718 bytes to 15 909s # GLib-DEBUG: io-channel-basic: ...from 14: IN 909s # GLib-DEBUG: io-channel-basic: ...from 14: 2718 bytes 909s # GLib-DEBUG: io-channel-basic: ...from 14: OK 910s # GLib-DEBUG: io-channel-basic: child writing 8+2244 bytes to 9 910s # GLib-DEBUG: io-channel-basic: ...from 8: IN 910s # GLib-DEBUG: io-channel-basic: ...from 8: 2244 bytes 910s # GLib-DEBUG: io-channel-basic: ...from 8: OK 910s # GLib-DEBUG: io-channel-basic: child writing 8+1342 bytes to 11 910s # GLib-DEBUG: io-channel-basic: ...from 10: IN 910s # GLib-DEBUG: io-channel-basic: ...from 10: 1342 bytes 910s # GLib-DEBUG: io-channel-basic: ...from 10: OK 910s # GLib-DEBUG: io-channel-basic: child writing 8+1075 bytes to 17 910s # GLib-DEBUG: io-channel-basic: ...from 16: IN 910s # GLib-DEBUG: io-channel-basic: ...from 16: 1075 bytes 910s # GLib-DEBUG: io-channel-basic: ...from 16: OK 910s # GLib-DEBUG: io-channel-basic: child writing 8+3003 bytes to 13 910s # GLib-DEBUG: io-channel-basic: ...from 12: IN 910s # GLib-DEBUG: io-channel-basic: ...from 12: 3003 bytes 910s # GLib-DEBUG: io-channel-basic: ...from 12: OK 910s # GLib-DEBUG: io-channel-basic: child writing 8+3218 bytes to 15 910s # GLib-DEBUG: io-channel-basic: ...from 14: IN 910s # GLib-DEBUG: io-channel-basic: ...from 14: 3218 bytes 910s # GLib-DEBUG: io-channel-basic: ...from 14: OK 910s # GLib-DEBUG: io-channel-basic: child writing 8+1379 bytes to 17 910s # GLib-DEBUG: io-channel-basic: ...from 16: IN 910s # GLib-DEBUG: io-channel-basic: ...from 16: 1379 bytes 910s # GLib-DEBUG: io-channel-basic: ...from 16: OK 910s # GLib-DEBUG: io-channel-basic: child writing 8+3168 bytes to 9 910s # GLib-DEBUG: io-channel-basic: ...from 8: IN 910s # GLib-DEBUG: io-channel-basic: ...from 8: 3168 bytes 910s # GLib-DEBUG: io-channel-basic: ...from 8: OK 910s # GLib-DEBUG: io-channel-basic: child writing 8+2368 bytes to 11 910s # GLib-DEBUG: io-channel-basic: ...from 10: IN 910s # GLib-DEBUG: io-channel-basic: ...from 10: 2368 bytes 910s # GLib-DEBUG: io-channel-basic: ...from 10: OK 910s # GLib-DEBUG: io-channel-basic: child writing 8+1886 bytes to 13 910s # GLib-DEBUG: io-channel-basic: ...from 12: IN 910s # GLib-DEBUG: io-channel-basic: ...from 12: 1886 bytes 910s # GLib-DEBUG: io-channel-basic: ...from 12: OK 910s # GLib-DEBUG: io-channel-basic: child writing 8+2395 bytes to 15 910s # GLib-DEBUG: io-channel-basic: ...from 14: IN 910s # GLib-DEBUG: io-channel-basic: ...from 14: 2395 bytes 910s # GLib-DEBUG: io-channel-basic: ...from 14: OK 910s # GLib-DEBUG: io-channel-basic: child writing 8+3301 bytes to 9 910s # GLib-DEBUG: io-channel-basic: ...from 8: IN 910s # GLib-DEBUG: io-channel-basic: ...from 8: 3301 bytes 910s # GLib-DEBUG: io-channel-basic: ...from 8: OK 910s # GLib-DEBUG: io-channel-basic: child writing 8+2848 bytes to 17 910s # GLib-DEBUG: io-channel-basic: ...from 16: IN 910s # GLib-DEBUG: io-channel-basic: ...from 16: 2848 bytes 910s # GLib-DEBUG: io-channel-basic: ...from 16: OK 910s # GLib-DEBUG: io-channel-basic: child writing 8+1102 bytes to 11 910s # GLib-DEBUG: io-channel-basic: ...from 10: IN 910s # GLib-DEBUG: io-channel-basic: ...from 10: 1102 bytes 910s # GLib-DEBUG: io-channel-basic: ...from 10: OK 910s # GLib-DEBUG: io-channel-basic: child writing 8+4189 bytes to 15 910s # GLib-DEBUG: io-channel-basic: ...from 14: IN 910s # GLib-DEBUG: io-channel-basic: ...from 14: 4189 bytes 910s # GLib-DEBUG: io-channel-basic: ...from 14: OK 910s # GLib-DEBUG: io-channel-basic: child writing 8+1728 bytes to 13 910s # GLib-DEBUG: io-channel-basic: ...from 12: IN 910s # GLib-DEBUG: io-channel-basic: ...from 12: 1728 bytes 910s # GLib-DEBUG: io-channel-basic: ...from 12: OK 910s # GLib-DEBUG: io-channel-basic: child writing 8+3371 bytes to 17 910s # GLib-DEBUG: io-channel-basic: ...from 16: IN 910s # GLib-DEBUG: io-channel-basic: ...from 16: 3371 bytes 910s # GLib-DEBUG: io-channel-basic: ...from 16: OK 910s # GLib-DEBUG: io-channel-basic: child writing 8+4220 bytes to 9 910s # GLib-DEBUG: io-channel-basic: ...from 8: IN 910s # GLib-DEBUG: io-channel-basic: ...from 8: 4220 bytes 910s # GLib-DEBUG: io-channel-basic: ...from 8: OK 910s # GLib-DEBUG: io-channel-basic: child writing 8+282 bytes to 11 910s # GLib-DEBUG: io-channel-basic: ...from 10: IN 910s # GLib-DEBUG: io-channel-basic: ...from 10: 282 bytes 910s # GLib-DEBUG: io-channel-basic: ...from 10: OK 910s # GLib-DEBUG: io-channel-basic: child writing 8+2418 bytes to 15 910s # GLib-DEBUG: io-channel-basic: ...from 14: IN 910s # GLib-DEBUG: io-channel-basic: ...from 14: 2418 bytes 910s # GLib-DEBUG: io-channel-basic: ...from 14: OK 910s # GLib-DEBUG: io-channel-basic: child writing 8+3046 bytes to 13 910s # GLib-DEBUG: io-channel-basic: ...from 12: IN 910s # GLib-DEBUG: io-channel-basic: ...from 12: 3046 bytes 910s # GLib-DEBUG: io-channel-basic: ...from 12: OK 911s # GLib-DEBUG: io-channel-basic: child writing 8+4729 bytes to 17 911s # GLib-DEBUG: io-channel-basic: ...from 16: IN 911s # GLib-DEBUG: io-channel-basic: ...from 16: 4729 bytes 911s # GLib-DEBUG: io-channel-basic: ...from 16: OK 911s # GLib-DEBUG: io-channel-basic: child writing 8+3671 bytes to 9 911s # GLib-DEBUG: io-channel-basic: ...from 8: IN 911s # GLib-DEBUG: io-channel-basic: ...from 8: 3671 bytes 911s # GLib-DEBUG: io-channel-basic: ...from 8: OK 911s # GLib-DEBUG: io-channel-basic: child writing 8+3716 bytes to 11 911s # GLib-DEBUG: io-channel-basic: ...from 10: IN 911s # GLib-DEBUG: io-channel-basic: ...from 10: 3716 bytes 911s # GLib-DEBUG: io-channel-basic: ...from 10: OK 911s # GLib-DEBUG: io-channel-basic: child writing 8+623 bytes to 15 911s # GLib-DEBUG: io-channel-basic: ...from 14: IN 911s # GLib-DEBUG: io-channel-basic: ...from 14: 623 bytes 911s # GLib-DEBUG: io-channel-basic: ...from 14: OK 911s # GLib-DEBUG: io-channel-basic: child writing 8+3536 bytes to 13 911s # GLib-DEBUG: io-channel-basic: ...from 12: IN 911s # GLib-DEBUG: io-channel-basic: ...from 12: 3536 bytes 911s # GLib-DEBUG: io-channel-basic: ...from 12: OK 911s # GLib-DEBUG: io-channel-basic: child writing 8+362 bytes to 17 911s # GLib-DEBUG: io-channel-basic: ...from 16: IN 911s # GLib-DEBUG: io-channel-basic: ...from 16: 362 bytes 911s # GLib-DEBUG: io-channel-basic: ...from 16: OK 911s # GLib-DEBUG: io-channel-basic: child writing 8+3356 bytes to 9 911s # GLib-DEBUG: io-channel-basic: ...from 8: IN 911s # GLib-DEBUG: io-channel-basic: ...from 8: 3356 bytes 911s # GLib-DEBUG: io-channel-basic: ...from 8: OK 911s # GLib-DEBUG: io-channel-basic: child writing 8+4403 bytes to 11 911s # GLib-DEBUG: io-channel-basic: ...from 10: IN 911s # GLib-DEBUG: io-channel-basic: ...from 10: 4403 bytes 911s # GLib-DEBUG: io-channel-basic: ...from 10: OK 911s # GLib-DEBUG: io-channel-basic: child writing 8+3059 bytes to 15 911s # GLib-DEBUG: io-channel-basic: ...from 14: IN 911s # GLib-DEBUG: io-channel-basic: ...from 14: 3059 bytes 911s # GLib-DEBUG: io-channel-basic: ...from 14: OK 911s # GLib-DEBUG: io-channel-basic: child writing 8+183 bytes to 13 911s # GLib-DEBUG: io-channel-basic: ...from 12: IN 911s # GLib-DEBUG: io-channel-basic: ...from 12: 183 bytes 911s # GLib-DEBUG: io-channel-basic: ...from 12: OK 911s # GLib-DEBUG: io-channel-basic: child writing 8+336 bytes to 9 911s # GLib-DEBUG: io-channel-basic: ...from 8: IN 911s # GLib-DEBUG: io-channel-basic: ...from 8: 336 bytes 911s # GLib-DEBUG: io-channel-basic: ...from 8: OK 911s # GLib-DEBUG: io-channel-basic: child writing 8+3246 bytes to 17 911s # GLib-DEBUG: io-channel-basic: ...from 16: IN 911s # GLib-DEBUG: io-channel-basic: ...from 16: 3246 bytes 911s # GLib-DEBUG: io-channel-basic: ...from 16: OK 911s # GLib-DEBUG: io-channel-basic: child writing 8+4973 bytes to 11 911s # GLib-DEBUG: io-channel-basic: ...from 10: IN 911s # GLib-DEBUG: io-channel-basic: ...from 10: 4973 bytes 911s # GLib-DEBUG: io-channel-basic: ...from 10: OK 911s # GLib-DEBUG: io-channel-basic: child writing 8+888 bytes to 15 911s # GLib-DEBUG: io-channel-basic: ...from 14: IN 911s # GLib-DEBUG: io-channel-basic: ...from 14: 888 bytes 911s # GLib-DEBUG: io-channel-basic: ...from 14: OK 911s # GLib-DEBUG: io-channel-basic: child writing 8+293 bytes to 13 911s # GLib-DEBUG: io-channel-basic: ...from 12: IN 911s # GLib-DEBUG: io-channel-basic: ...from 12: 293 bytes 911s # GLib-DEBUG: io-channel-basic: ...from 12: OK 911s # GLib-DEBUG: io-channel-basic: child writing 8+4590 bytes to 9 911s # GLib-DEBUG: io-channel-basic: ...from 8: IN 911s # GLib-DEBUG: io-channel-basic: ...from 8: 4590 bytes 911s # GLib-DEBUG: io-channel-basic: child writing 8+519 bytes to 17 911s # GLib-DEBUG: io-channel-basic: ...from 8: OK 911s # GLib-DEBUG: io-channel-basic: ...from 16: IN 911s # GLib-DEBUG: io-channel-basic: ...from 16: 519 bytes 911s # GLib-DEBUG: io-channel-basic: ...from 16: OK 911s # GLib-DEBUG: io-channel-basic: child writing 8+2062 bytes to 11 911s # GLib-DEBUG: io-channel-basic: ...from 10: IN 911s # GLib-DEBUG: io-channel-basic: ...from 10: 2062 bytes 911s # GLib-DEBUG: io-channel-basic: ...from 10: OK 911s # GLib-DEBUG: io-channel-basic: child writing 8+2186 bytes to 15 911s # GLib-DEBUG: io-channel-basic: ...from 14: IN 911s # GLib-DEBUG: io-channel-basic: ...from 14: 2186 bytes 911s # GLib-DEBUG: io-channel-basic: ...from 14: OK 911s # GLib-DEBUG: io-channel-basic: child writing 8+4343 bytes to 13 911s # GLib-DEBUG: io-channel-basic: ...from 12: IN 911s # GLib-DEBUG: io-channel-basic: ...from 12: 4343 bytes 911s # GLib-DEBUG: io-channel-basic: ...from 12: OK 912s # GLib-DEBUG: io-channel-basic: child writing 8+4772 bytes to 11 912s # GLib-DEBUG: io-channel-basic: ...from 10: IN 912s # GLib-DEBUG: io-channel-basic: ...from 10: 4772 bytes 912s # GLib-DEBUG: io-channel-basic: ...from 10: OK 912s # GLib-DEBUG: io-channel-basic: child writing 8+4508 bytes to 9 912s # GLib-DEBUG: io-channel-basic: ...from 8: IN 912s # GLib-DEBUG: io-channel-basic: ...from 8: 4508 bytes 912s # GLib-DEBUG: io-channel-basic: ...from 8: OK 912s # GLib-DEBUG: io-channel-basic: child writing 8+1352 bytes to 17 912s # GLib-DEBUG: io-channel-basic: ...from 16: IN 912s # GLib-DEBUG: io-channel-basic: ...from 16: 1352 bytes 912s # GLib-DEBUG: io-channel-basic: ...from 16: OK 912s # GLib-DEBUG: io-channel-basic: child writing 8+2325 bytes to 15 912s # GLib-DEBUG: io-channel-basic: ...from 14: IN 912s # GLib-DEBUG: io-channel-basic: ...from 14: 2325 bytes 912s # GLib-DEBUG: io-channel-basic: ...from 14: OK 912s # GLib-DEBUG: io-channel-basic: child writing 8+132 bytes to 13 912s # GLib-DEBUG: io-channel-basic: ...from 12: IN 912s # GLib-DEBUG: io-channel-basic: ...from 12: 132 bytes 912s # GLib-DEBUG: io-channel-basic: ...from 12: OK 912s # GLib-DEBUG: io-channel-basic: child writing 8+1348 bytes to 9 912s # GLib-DEBUG: io-channel-basic: ...from 8: IN 912s # GLib-DEBUG: io-channel-basic: ...from 8: 1348 bytes 912s # GLib-DEBUG: io-channel-basic: ...from 8: OK 912s # GLib-DEBUG: io-channel-basic: child writing 8+3878 bytes to 17 912s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 912s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 912s # GLib-DEBUG: io-channel-basic: ...from 16: 3878 bytes 912s # GLib-DEBUG: io-channel-basic: ...from 16: OK 912s # GLib-DEBUG: io-channel-basic: child writing 8+1042 bytes to 11 912s # GLib-DEBUG: io-channel-basic: ...from 10: IN 912s # GLib-DEBUG: io-channel-basic: ...from 10: 1042 bytes 912s # GLib-DEBUG: io-channel-basic: ...from 10: OK 912s # GLib-DEBUG: io-channel-basic: child writing 8+1387 bytes to 15 912s # GLib-DEBUG: io-channel-basic: ...from 14: IN 912s # GLib-DEBUG: io-channel-basic: ...from 14: 1387 bytes 912s # GLib-DEBUG: io-channel-basic: ...from 14: OK 912s # GLib-DEBUG: io-channel-basic: child writing 8+4935 bytes to 13 912s # GLib-DEBUG: io-channel-basic: ...from 12: IN 912s # GLib-DEBUG: io-channel-basic: ...from 12: 4935 bytes 912s # GLib-DEBUG: io-channel-basic: ...from 12: OK 912s # GLib-DEBUG: io-channel-basic: child writing 8+4185 bytes to 9 912s # GLib-DEBUG: io-channel-basic: ...from 8: IN 912s # GLib-DEBUG: io-channel-basic: ...from 8: 4185 bytes 912s # GLib-DEBUG: io-channel-basic: ...from 8: OK 912s # GLib-DEBUG: io-channel-basic: child writing 8+4329 bytes to 11 912s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 912s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 912s # GLib-DEBUG: io-channel-basic: ...from 10: 4329 bytes 912s # GLib-DEBUG: io-channel-basic: ...from 10: OK 912s # GLib-DEBUG: io-channel-basic: child writing 8+4454 bytes to 15 912s # GLib-DEBUG: io-channel-basic: ...from 14: IN 912s # GLib-DEBUG: io-channel-basic: ...from 14: 4454 bytes 912s # GLib-DEBUG: io-channel-basic: ...from 14: OK 912s # GLib-DEBUG: io-channel-basic: child writing 8+3214 bytes to 13 912s # GLib-DEBUG: io-channel-basic: ...from 12: IN 912s # GLib-DEBUG: io-channel-basic: ...from 12: 3214 bytes 912s # GLib-DEBUG: io-channel-basic: ...from 12: OK 912s # GLib-DEBUG: io-channel-basic: child writing 8+3056 bytes to 9 912s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 912s # GLib-DEBUG: io-channel-basic: ...from 8: IN 912s # GLib-DEBUG: io-channel-basic: ...from 8: 3056 bytes 912s # GLib-DEBUG: io-channel-basic: ...from 8: OK 912s # GLib-DEBUG: io-channel-basic: ...from 8: HUP 912s # GLib-DEBUG: io-channel-basic: child writing 8+3939 bytes to 15 912s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 912s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 912s # GLib-DEBUG: io-channel-basic: ...from 14: 3939 bytes 912s # GLib-DEBUG: io-channel-basic: ...from 14: OK 912s # GLib-DEBUG: io-channel-basic: child writing 8+4181 bytes to 13 912s # GLib-DEBUG: io-channel-basic: ...from 12: IN 912s # GLib-DEBUG: io-channel-basic: ...from 12: 4181 bytes 912s # GLib-DEBUG: io-channel-basic: ...from 12: OK 913s # GLib-DEBUG: io-channel-basic: child writing 8+4282 bytes to 13 913s # GLib-DEBUG: io-channel-basic: ...from 12: IN 913s # GLib-DEBUG: io-channel-basic: ...from 12: 4282 bytes 913s # GLib-DEBUG: io-channel-basic: ...from 12: OK 913s # GLib-DEBUG: io-channel-basic: child writing 8+580 bytes to 13 913s # GLib-DEBUG: io-channel-basic: ...from 12: IN 913s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 913s # GLib-DEBUG: io-channel-basic: ...from 12: 580 bytes 913s # GLib-DEBUG: io-channel-basic: ...from 12: OK 913s # GLib-DEBUG: io-channel-basic: ...from 12: HUP 913s ok 1 /gio/io-basics 913s # slow test /gio/io-basics executed in 12.59 secs 913s # End of gio tests 913s ok - glib/io-channel-basic.test 913s # Running test: glib/gdbus-proxy-well-known-name.test 913s TAP version 14 913s # random seed: R02S0f7c167b95fe008dc77d99c7f462f52f 913s 1..1 913s # Start of gdbus tests 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_UBS852/gdbus/proxy-well-known-name/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_UBS852/gdbus/proxy-well-known-name/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_UBS852/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_UBS852/gdbus/proxy-well-known-name/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_UBS852/gdbus/proxy-well-known-name/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_UBS852/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_UBS852/gdbus/proxy-well-known-name/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_UBS852/gdbus/proxy-well-known-name/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_UBS852/gdbus/proxy-well-known-name/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_UBS852/gdbus/proxy-well-known-name/.dirs/runtime 913s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 913s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 913s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 913s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 913s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 913s ok 1 /gdbus/proxy-well-known-name 913s # End of gdbus tests 913s ok - glib/gdbus-proxy-well-known-name.test 913s # SUMMARY: total=323; passed=322; skipped=1; failed=0; user=159.0s; system=116.5s; maxrss=154676 913s autopkgtest [18:51:18]: test installed-tests: -----------------------] 914s installed-tests PASS 914s autopkgtest [18:51:19]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 915s autopkgtest [18:51:20]: test closure-refcount: preparing testbed 915s Reading package lists... 915s Building dependency tree... 915s Reading state information... 916s Starting pkgProblemResolver with broken count: 0 916s Starting 2 pkgProblemResolver with broken count: 0 916s Done 916s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 917s autopkgtest [18:51:22]: test closure-refcount: [----------------------- 917s Running test: glib/closure-refcount.test 917s TAP version 14 917s # random seed: R02S559da6b81f7f92a9904cfba3d0230ef4 917s 1..1 917s # Start of closure tests 917s # Init 0x59caa7d48d40 917s # Yielding from main thread 917s # Yielding from thread2 917s # Yielding from main thread 917s # Yielding from main thread 917s # Yielding from thread1 917s # Yielding from thread2 917s # Yielding from main thread 917s # Yielding from main thread 917s # Yielding from main thread 917s # Yielding from main thread 917s # Yielding from main thread 918s # Yielding from thread2 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from thread1 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from thread1 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from thread1 918s # Yielding from thread2 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from thread2 918s # Yielding from thread1 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from thread2 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from thread2 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from thread1 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from thread2 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from thread1 918s # Yielding from thread2 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from thread1 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from thread2 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from thread1 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 918s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from thread2 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from thread1 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from thread2 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from thread1 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from thread1 919s # Yielding from main thread 919s # Yielding from thread2 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from thread1 919s # Yielding from thread2 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from main thread 919s # Yielding from thread1 919s # Stopping 919s # Stopped 919s ok 1 /closure/refcount 919s # slow test /closure/refcount executed in 1.92 secs 919s # End of closure tests 919s PASS: glib/closure-refcount.test 919s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=3.8s; system=0.0s; maxrss=3948 919s autopkgtest [18:51:24]: test closure-refcount: -----------------------] 920s closure-refcount PASS 920s autopkgtest [18:51:25]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 920s autopkgtest [18:51:25]: test debugcontroller: preparing testbed 920s Reading package lists... 921s Building dependency tree... 921s Reading state information... 921s Starting pkgProblemResolver with broken count: 0 921s Starting 2 pkgProblemResolver with broken count: 0 921s Done 921s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 922s autopkgtest [18:51:27]: test debugcontroller: [----------------------- 922s Running test: glib/debugcontroller.test 922s TAP version 14 922s # random seed: R02S8dc0b60b6aae430bb48adaec1003e1a7 922s 1..3 922s # Start of debug-controller tests 922s # Start of dbus tests 922s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 922s # GLib-GIO-DEBUG: Debug output enabled 922s # GLib-GIO-DEBUG: Debug output disabled 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s ok 1 /debug-controller/dbus/basic 922s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s ok 2 /debug-controller/dbus/duplicate 922s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Debug output enabled 922s # GLib-GIO-DEBUG: Debug output disabled 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s ok 3 /debug-controller/dbus/properties 922s # End of dbus tests 922s # End of debug-controller tests 922s PASS: glib/debugcontroller.test 922s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6520 923s autopkgtest [18:51:28]: test debugcontroller: -----------------------] 923s autopkgtest [18:51:28]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 923s debugcontroller PASS 924s autopkgtest [18:51:29]: test gdbus-server-auth: preparing testbed 924s Reading package lists... 924s Building dependency tree... 924s Reading state information... 924s Starting pkgProblemResolver with broken count: 0 924s Starting 2 pkgProblemResolver with broken count: 0 924s Done 925s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 926s autopkgtest [18:51:31]: test gdbus-server-auth: [----------------------- 926s Running test: glib/gdbus-server-auth.test 926s TAP version 14 926s # random seed: R02S9c915ccaacbb4face19f5ab36849ead3 926s 1..9 926s # Start of gdbus tests 926s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/.dirs/home 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/.dirs/cache 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/.dirs/system-config2 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/.dirs/config 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/.dirs/system-data2 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/.dirs/data 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/.dirs/state 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/.dirs/runtime 926s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ERCC62/gdbus-server-auth-YXDC62 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 926s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ERCC62/gdbus-server-auth-YXDC62/dbus-q7O3bM8i 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16249 926s ok 1 /gdbus/server-auth 926s # Start of server-auth tests 926s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/abstract/.dirs/home 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/abstract/.dirs/cache 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/abstract/.dirs/system-config2 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/abstract/.dirs/config 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/abstract/.dirs/system-data2 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/abstract/.dirs/data 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/abstract/.dirs/state 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/abstract/.dirs/runtime 926s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_ERCC62/gdbus-server-auth-6KU752 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 926s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ERCC62/gdbus-server-auth-6KU752/dbus-0HsouLX2 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16249 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 926s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16249 926s ok 2 /gdbus/server-auth/abstract 926s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/tcp/.dirs/home 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/tcp/.dirs/cache 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/tcp/.dirs/system-config2 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/tcp/.dirs/config 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/tcp/.dirs/system-data2 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/tcp/.dirs/data 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/tcp/.dirs/state 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/tcp/.dirs/runtime 926s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 926s # Connectable address: tcp:host=127.0.0.1,port=40417 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 926s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 926s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 926s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 926s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 926s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 927s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 927s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 927s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 927s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 927s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 927s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 927s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 927s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 927s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 927s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 927s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 927s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 927s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 927s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 927s ok 3 /gdbus/server-auth/tcp 927s # slow test /gdbus/server-auth/tcp executed in 0.87 secs 927s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/anonymous/.dirs/home 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/anonymous/.dirs/cache 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/anonymous/.dirs/system-config2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/anonymous/.dirs/config 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/anonymous/.dirs/system-data2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/anonymous/.dirs/data 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/anonymous/.dirs/state 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/anonymous/.dirs/runtime 927s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ERCC62/gdbus-server-auth-ETCA62 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 927s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ERCC62/gdbus-server-auth-ETCA62/dbus-N0sG2TXG 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16249 927s ok 4 /gdbus/server-auth/anonymous 927s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/external/.dirs/home 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/external/.dirs/cache 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/external/.dirs/system-config2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/external/.dirs/config 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/external/.dirs/system-data2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/external/.dirs/data 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/external/.dirs/state 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/external/.dirs/runtime 927s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ERCC62/gdbus-server-auth-5UDA62 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 927s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ERCC62/gdbus-server-auth-5UDA62/dbus-in5ISbMQ 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 927s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16249 927s ok 5 /gdbus/server-auth/external 927s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/sha1/.dirs/home 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/sha1/.dirs/cache 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/sha1/.dirs/system-config2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/sha1/.dirs/config 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/sha1/.dirs/system-data2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/sha1/.dirs/data 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/sha1/.dirs/state 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/sha1/.dirs/runtime 927s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ERCC62/gdbus-server-auth-1GAB62 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 927s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ERCC62/gdbus-server-auth-1GAB62/dbus-En1NB1PX 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16249 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 927s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16249 927s ok 6 /gdbus/server-auth/sha1 927s # Start of anonymous tests 927s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/anonymous/tcp/.dirs/home 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/anonymous/tcp/.dirs/cache 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/anonymous/tcp/.dirs/config 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/anonymous/tcp/.dirs/data 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/anonymous/tcp/.dirs/state 927s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/anonymous/tcp/.dirs/runtime 927s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 927s # Connectable address: tcp:host=127.0.0.1,port=33867 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 927s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 927s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 927s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 927s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 928s ok 7 /gdbus/server-auth/anonymous/tcp 928s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.83 secs 928s # End of anonymous tests 928s # Start of external tests 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/external/require-same-user/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/external/require-same-user/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/external/require-same-user/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/external/require-same-user/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/external/require-same-user/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/external/require-same-user/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/external/require-same-user/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/external/require-same-user/.dirs/runtime 928s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ERCC62/gdbus-server-auth-TAX252 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 928s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ERCC62/gdbus-server-auth-TAX252/dbus-BM3xhxW1 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16249 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16249 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16249 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16249 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16249 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16249 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16249 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16249 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16249 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16249 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16249 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16249 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16249 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16249 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16249 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16249 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16249 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16249 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16249 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16249 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16249,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16249 928s ok 8 /gdbus/server-auth/external/require-same-user 928s # End of external tests 928s # Start of sha1 tests 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/sha1/tcp/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/sha1/tcp/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/sha1/tcp/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/sha1/tcp/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/sha1/tcp/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/sha1/tcp/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/sha1/tcp/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ERCC62/gdbus/server-auth/sha1/tcp/.dirs/runtime 928s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 928s # Connectable address: tcp:host=127.0.0.1,port=41725 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 929s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 929s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 929s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 929s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 929s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 929s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 929s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 929s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 929s ok 9 /gdbus/server-auth/sha1/tcp 929s # slow test /gdbus/server-auth/sha1/tcp executed in 0.85 secs 929s # End of sha1 tests 929s # End of server-auth tests 929s # End of gdbus tests 929s PASS: glib/gdbus-server-auth.test 929s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8440 929s autopkgtest [18:51:34]: test gdbus-server-auth: -----------------------] 929s autopkgtest [18:51:34]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 929s gdbus-server-auth PASS 930s autopkgtest [18:51:35]: test gdbus-threading: preparing testbed 930s Reading package lists... 930s Building dependency tree... 930s Reading state information... 930s Starting pkgProblemResolver with broken count: 0 931s Starting 2 pkgProblemResolver with broken count: 0 931s Done 931s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 932s autopkgtest [18:51:37]: test gdbus-threading: [----------------------- 932s Running test: glib/gdbus-threading.test 932s TAP version 14 932s # random seed: R02Sa8a0da29869ba70e0b72eb471eded6fe 932s 1..3 932s # Start of gdbus tests 932s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_KDX752/gdbus/delivery-in-thread/.dirs/home 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_KDX752/gdbus/delivery-in-thread/.dirs/cache 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_KDX752/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_KDX752/gdbus/delivery-in-thread/.dirs/system-config2 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_KDX752/gdbus/delivery-in-thread/.dirs/config 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_KDX752/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_KDX752/gdbus/delivery-in-thread/.dirs/system-data2 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_KDX752/gdbus/delivery-in-thread/.dirs/data 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_KDX752/gdbus/delivery-in-thread/.dirs/state 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_KDX752/gdbus/delivery-in-thread/.dirs/runtime 932s ok 1 /gdbus/delivery-in-thread 932s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_KDX752/gdbus/method-calls-in-thread/.dirs/home 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_KDX752/gdbus/method-calls-in-thread/.dirs/cache 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_KDX752/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_KDX752/gdbus/method-calls-in-thread/.dirs/system-config2 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_KDX752/gdbus/method-calls-in-thread/.dirs/config 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_KDX752/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_KDX752/gdbus/method-calls-in-thread/.dirs/system-data2 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_KDX752/gdbus/method-calls-in-thread/.dirs/data 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_KDX752/gdbus/method-calls-in-thread/.dirs/state 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_KDX752/gdbus/method-calls-in-thread/.dirs/runtime 933s ok 2 /gdbus/method-calls-in-thread 933s # slow test /gdbus/method-calls-in-thread executed in 0.83 secs 933s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_KDX752/gdbus/threaded-singleton/.dirs/home 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_KDX752/gdbus/threaded-singleton/.dirs/cache 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_KDX752/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_KDX752/gdbus/threaded-singleton/.dirs/system-config2 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_KDX752/gdbus/threaded-singleton/.dirs/config 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_KDX752/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_KDX752/gdbus/threaded-singleton/.dirs/system-data2 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_KDX752/gdbus/threaded-singleton/.dirs/data 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_KDX752/gdbus/threaded-singleton/.dirs/state 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_KDX752/gdbus/threaded-singleton/.dirs/runtime 933s # GLib-GIO-DEBUG: refcount of 0x772e08007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 933s # GLib-GIO-DEBUG: refcount of 0x772e08007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 934s ok 3 /gdbus/threaded-singleton 934s # slow test /gdbus/threaded-singleton executed in 0.73 secs 934s # End of gdbus tests 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s PASS: glib/gdbus-threading.test 934s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.3s; maxrss=6408 934s autopkgtest [18:51:39]: test gdbus-threading: -----------------------] 934s gdbus-threading PASS 934s autopkgtest [18:51:39]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 935s autopkgtest [18:51:40]: test gmenumodel: preparing testbed 935s Reading package lists... 935s Building dependency tree... 935s Reading state information... 935s Starting pkgProblemResolver with broken count: 0 935s Starting 2 pkgProblemResolver with broken count: 0 935s Done 936s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 937s autopkgtest [18:51:42]: test gmenumodel: [----------------------- 937s Running test: glib/gmenumodel.test 937s TAP version 14 937s # random seed: R02Se8b0df6c1dadfd8970e30aba2c26571a 937s 1..15 937s # Start of gmenu tests 937s ok 1 /gmenu/equality 938s ok 2 /gmenu/random 938s ok 3 /gmenu/attributes 938s ok 4 /gmenu/links 938s ok 5 /gmenu/mutable 938s ok 6 /gmenu/convenience 938s ok 7 /gmenu/menuitem 938s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 938s ok 8 /gmenu/input-validation 938s # Start of dbus tests 939s ok 9 /gmenu/dbus/roundtrip 939s # slow test /gmenu/dbus/roundtrip executed in 1.02 secs 939s ok 10 /gmenu/dbus/subscriptions 940s ok 11 /gmenu/dbus/threaded 940s # slow test /gmenu/dbus/threaded executed in 0.69 secs 940s # Start of peer tests 941s ok 12 /gmenu/dbus/peer/roundtrip 941s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 941s ok 13 /gmenu/dbus/peer/subscriptions 941s # End of peer tests 941s # Start of export tests 941s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 941s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 941s ok 14 /gmenu/dbus/export/error-handling 941s # End of export tests 941s # End of dbus tests 941s # Start of attributes tests 941s ok 15 /gmenu/attributes/iterate 941s # End of attributes tests 941s # End of gmenu tests 941s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 941s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 941s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 941s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 941s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 941s PASS: glib/gmenumodel.test 941s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.0s; system=0.2s; maxrss=32028 942s autopkgtest [18:51:47]: test gmenumodel: -----------------------] 942s gmenumodel PASS 942s autopkgtest [18:51:47]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 943s autopkgtest [18:51:48]: test mainloop: preparing testbed 943s Reading package lists... 943s Building dependency tree... 943s Reading state information... 943s Starting pkgProblemResolver with broken count: 0 943s Starting 2 pkgProblemResolver with broken count: 0 943s Done 944s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 945s autopkgtest [18:51:50]: test mainloop: [----------------------- 945s Running test: glib/mainloop.test 945s TAP version 14 945s # random seed: R02S183eadf8d3b18c0a6de9b76f37a5aaa1 945s 1..45 945s # Start of maincontext tests 945s ok 1 /maincontext/basic 945s # Add same-priority sources: 16 945s # Find each source: 1 945s # Remove in random order: 23 945s ok 2 /maincontext/nsources_same_priority 945s # Add different-priority sources: 13 945s # Find each source: 0 945s # Remove in random order: 26 945s ok 3 /maincontext/nsources_different_priority 945s # Add sources from threads: 280 945s # Remove sources from threads: 208 945s ok 4 /maincontext/nsources_threadpool 945s ok 5 /maincontext/source_finalization 945s # /maincontext/idle-once summary: Test g_idle_add_once() works 945s ok 6 /maincontext/idle-once 945s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 945s ok 7 /maincontext/timeout-once 945s # Start of source_finalization_from_source tests 945s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 945s ok 8 /maincontext/source_finalization_from_source/0 945s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 945s ok 9 /maincontext/source_finalization_from_source/1 945s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 945s ok 10 /maincontext/source_finalization_from_source/2 945s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 945s ok 11 /maincontext/source_finalization_from_source/3 945s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 945s ok 12 /maincontext/source_finalization_from_source/4 945s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 945s ok 13 /maincontext/source_finalization_from_source/5 945s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 945s ok 14 /maincontext/source_finalization_from_source/6 945s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 945s ok 15 /maincontext/source_finalization_from_source/7 945s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 945s ok 16 /maincontext/source_finalization_from_source/8 945s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 945s ok 17 /maincontext/source_finalization_from_source/9 945s # End of source_finalization_from_source tests 945s # Start of source_finalization_from_dispatch tests 945s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 945s ok 18 /maincontext/source_finalization_from_dispatch/0 945s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 945s ok 19 /maincontext/source_finalization_from_dispatch/1 945s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 945s ok 20 /maincontext/source_finalization_from_dispatch/2 945s # End of source_finalization_from_dispatch tests 945s # End of maincontext tests 945s # Start of mainloop tests 945s ok 21 /mainloop/basic 945s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 945s ok 23 /mainloop/priorities 946s ok 24 /mainloop/invoke 946s # slow test /mainloop/invoke executed in 0.50 secs 947s ok 25 /mainloop/child_sources 947s # slow test /mainloop/child_sources executed in 1.20 secs 949s ok 26 /mainloop/recursive_child_sources 949s # slow test /mainloop/recursive_child_sources executed in 2.19 secs 949s ok 27 /mainloop/recursive_loop_child_sources 949s ok 28 /mainloop/swapping_child_sources 949s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 949s ok 29 /mainloop/blocked_child_sources 950s Executing: glib/mainloop.test 950s ok 30 /mainloop/source_time 950s # slow test /mainloop/source_time executed in 1.00 secs 950s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 950s ok 31 /mainloop/overflow 951s ok 32 /mainloop/ready-time 951s # slow test /mainloop/ready-time executed in 0.50 secs 951s ok 33 /mainloop/wakeup 951s ok 34 /mainloop/remove-invalid 951s ok 35 /mainloop/unref-while-pending 952s ok 36 /mainloop/unix-fd 952s # slow test /mainloop/unix-fd executed in 1.06 secs 952s ok 37 /mainloop/unix-fd-source 952s ok 38 /mainloop/source-unix-fd-api 952s ok 39 /mainloop/wait 952s ok 40 /mainloop/unix-file-poll 952s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 952s ok 41 /mainloop/unix-fd-priority 952s ok 42 /mainloop/nfds 952s ok 43 /mainloop/steal-fd 952s # Start of ownerless-polling tests 952s ok 44 /mainloop/ownerless-polling/attach-first 952s ok 45 /mainloop/ownerless-polling/pop-first 952s # End of ownerless-polling tests 952s # End of mainloop tests 952s PASS: glib/mainloop.test 952s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=1.6s; maxrss=15892 952s autopkgtest [18:51:57]: test mainloop: -----------------------] 953s mainloop PASS 953s autopkgtest [18:51:58]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 953s autopkgtest [18:51:58]: test memory-monitor-dbus: preparing testbed 954s Reading package lists... 954s Building dependency tree... 954s Reading state information... 954s Starting pkgProblemResolver with broken count: 0 954s Starting 2 pkgProblemResolver with broken count: 0 954s Done 955s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 955s autopkgtest [18:52:00]: test memory-monitor-dbus: [----------------------- 956s Running test: glib/memory-monitor-dbus.test 956s TAP version 13 956s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 956s # Received memory warning signal, level 956s # Received memory warning signal, level 956s # Received memory warning signal, level 956s 1..1 956s PASS: glib/memory-monitor-dbus.test 956s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=30624 956s autopkgtest [18:52:01]: test memory-monitor-dbus: -----------------------] 957s autopkgtest [18:52:02]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 957s memory-monitor-dbus PASS 957s autopkgtest [18:52:02]: test socket: preparing testbed 957s Reading package lists... 958s Building dependency tree... 958s Reading state information... 958s Starting pkgProblemResolver with broken count: 0 958s Starting 2 pkgProblemResolver with broken count: 0 958s Done 958s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 959s autopkgtest [18:52:04]: test socket: [----------------------- 959s Running test: glib/socket.test 959s TAP version 14 959s # random seed: R02Sab7c0714588bac7e5c85a617fef9aebb 959s 1..28 959s # Start of socket tests 960s ok 1 /socket/ipv4_sync 960s # slow test /socket/ipv4_sync executed in 1.00 secs 961s ok 2 /socket/ipv4_async 961s # slow test /socket/ipv4_async executed in 1.00 secs 961s ok 3 /socket/ipv6_sync 961s ok 4 /socket/ipv6_async 961s ok 5 /socket/ipv6_v4mapped 962s ok 6 /socket/close_graceful 962s # slow test /socket/close_graceful executed in 1.00 secs 962s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 962s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 962s ok 8 /socket/fd_reuse 962s ok 9 /socket/address 962s ok 10 /socket/unix-from-fd 962s ok 11 /socket/unix-connection 962s ok 12 /socket/unix-connection-ancillary-data 962s ok 13 /socket/source-postmortem 962s ok 14 /socket/read_write 962s ok 15 /socket/read_writev 962s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 962s ok 16 /socket/receive_bytes 962s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 962s ok 17 /socket/receive_bytes_from 962s # Start of ipv4_sync tests 962s ok 18 /socket/ipv4_sync/datagram 962s # Start of datagram tests 963s ok 19 /socket/ipv4_sync/datagram/timeouts 963s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 963s # End of datagram tests 963s # End of ipv4_sync tests 963s # Start of ipv6_sync tests 963s ok 20 /socket/ipv6_sync/datagram 963s # Start of datagram tests 965s ok 21 /socket/ipv6_sync/datagram/timeouts 965s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 965s # End of datagram tests 965s # End of ipv6_sync tests 965s # Start of reuse tests 965s ok 22 /socket/reuse/tcp 965s ok 23 /socket/reuse/udp 965s # End of reuse tests 965s # Start of get_available tests 965s ok 24 /socket/get_available/datagram 965s ok 25 /socket/get_available/stream 965s # End of get_available tests 965s # Start of credentials tests 965s # Supported on this OS: GCredentials:linux-ucred:pid=0 965s ok 26 /socket/credentials/tcp_client 965s # Supported on this OS: GCredentials:linux-ucred:pid=0 965s ok 27 /socket/credentials/tcp_server 965s # Supported on this OS: GCredentials:linux-ucred:pid=18115,uid=1000,gid=1000 965s ok 28 /socket/credentials/unix_socketpair 965s # End of credentials tests 965s # End of socket tests 965s PASS: glib/socket.test 965s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5800 965s autopkgtest [18:52:10]: test socket: -----------------------] 965s autopkgtest [18:52:10]: test socket: - - - - - - - - - - results - - - - - - - - - - 965s socket PASS 966s autopkgtest [18:52:11]: test testfilemonitor: preparing testbed 966s Reading package lists... 966s Building dependency tree... 966s Reading state information... 966s Starting pkgProblemResolver with broken count: 0 966s Starting 2 pkgProblemResolver with broken count: 0 966s Done 967s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 968s autopkgtest [18:52:13]: test testfilemonitor: [----------------------- 968s Running test: glib/testfilemonitor.test 968s TAP version 14 968s # random seed: R02S175a6ec7c3d45b9d5df422d7677a42b2 968s 1..8 968s # Start of monitor tests 968s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 968s # Using temporary directory: /tmp/gio-test-testfilemonitor_8XVA62 968s # Using GFileMonitor GInotifyFileMonitor 970s ok 1 /monitor/atomic-replace 970s # slow test /monitor/atomic-replace executed in 2.00 secs 970s # Using temporary directory: /tmp/gio-test-testfilemonitor_X0RA62 970s # Using GFileMonitor GInotifyFileMonitor 972s ok 2 /monitor/file-changes 972s # slow test /monitor/file-changes executed in 2.50 secs 972s # Using temporary directory: /tmp/gio-test-testfilemonitor_J5XS52 972s # Using GFileMonitor GInotifyFileMonitor 973s Executing: glib/testfilemonitor.test 976s ok 3 /monitor/dir-monitor 976s # slow test /monitor/dir-monitor executed in 3.50 secs 976s # Using temporary directory: /tmp/gio-test-testfilemonitor_PW8952 976s # Using GFileMonitor GInotifyFileMonitor 978s Executing: glib/testfilemonitor.test 983s Executing: glib/testfilemonitor.test 988s Executing: glib/testfilemonitor.test 993s Executing: glib/testfilemonitor.test 998s Executing: glib/testfilemonitor.test 1001s ok 4 /monitor/dir-not-existent 1001s # slow test /monitor/dir-not-existent executed in 25.02 secs 1001s # Using temporary directory: /tmp/gio-test-testfilemonitor_1TJB62 1001s # Using GFileMonitor 0 GInotifyFileMonitor 1001s # Using GFileMonitor 1 GInotifyFileMonitor 1003s ok 5 /monitor/cross-dir-moves 1003s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1003s # Using temporary directory: /tmp/gio-test-testfilemonitor_DTFB62 1003s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1003s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1003s ok 6 /monitor/finalize-in-callback 1003s # Using temporary directory: /tmp/gio-test-testfilemonitor_GN0A62 1003s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1003s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1003s ok 7 /monitor/root 1003s # Start of file tests 1003s # Using temporary directory: /tmp/gio-test-testfilemonitor_8RYA62 1003s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1003s # Running with hard link tests 1003s # Using GFileMonitor GInotifyFileMonitor 1003s Executing: glib/testfilemonitor.test 1006s # Event 0 at expected index 7 skipped because it is marked as optional 1006s # Event 2 at expected index 11 skipped because it is marked as optional 1006s ok 8 /monitor/file/hard-links 1006s # slow test /monitor/file/hard-links executed in 3.50 secs 1006s # End of file tests 1006s # End of monitor tests 1006s PASS: glib/testfilemonitor.test 1006s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5964 1007s autopkgtest [18:52:52]: test testfilemonitor: -----------------------] 1007s testfilemonitor PASS 1007s autopkgtest [18:52:52]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1007s autopkgtest [18:52:52]: test thread-pool-slow: preparing testbed 1008s Reading package lists... 1008s Building dependency tree... 1008s Reading state information... 1008s Starting pkgProblemResolver with broken count: 0 1008s Starting 2 pkgProblemResolver with broken count: 0 1008s Done 1009s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1010s autopkgtest [18:52:55]: test thread-pool-slow: [----------------------- 1010s Running test: glib/thread-pool-slow.test 1010s TAP version 14 1010s # random seed: R02S48c12f883a5d5971d59d6f9932f3a8df 1010s 1..7 1010s # Start of threadpool tests 1010s ok 1 /threadpool/functions 1010s ok 2 /threadpool/stop-unused 1010s # slow test /threadpool/stop-unused executed in 0.51 secs 1010s ok 3 /threadpool/pools 1010s # [unsorted] ===> pushed new thread with id:62, number of threads:1, unprocessed:1 1010s # [unsorted] ===> pushed new thread with id:67, number of threads:2, unprocessed:2 1010s # [unsorted] ===> pushed new thread with id:19, number of threads:3, unprocessed:3 1010s # [unsorted] ===> pushed new thread with id:61, number of threads:4, unprocessed:4 1010s # [unsorted] ===> pushed new thread with id:80, number of threads:5, unprocessed:5 1010s # [unsorted] ===> pushed new thread with id:83, number of threads:6, unprocessed:6 1010s # [unsorted] ===> pushed new thread with id:70, number of threads:7, unprocessed:7 1010s # [unsorted] ===> pushed new thread with id:67, number of threads:8, unprocessed:8 1010s # [unsorted] ===> pushed new thread with id:84, number of threads:9, unprocessed:9 1010s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:10 1010s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:9 1010s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:10 1010s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:11 1010s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:12 1010s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:13 1010s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:14 1010s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:15 1010s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:15 1010s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:16 1010s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:17 1010s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:18 1010s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:19 1010s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:20 1010s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:21 1010s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:22 1010s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:23 1010s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:24 1010s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:25 1010s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:26 1010s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:27 1010s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:28 1010s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:29 1010s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:30 1010s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:31 1010s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:32 1010s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:33 1010s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:34 1010s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:35 1010s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:36 1010s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:37 1010s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:38 1010s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:39 1010s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:40 1010s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:41 1010s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:42 1010s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:43 1010s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:44 1010s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:45 1010s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:46 1010s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:47 1010s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:48 1010s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:49 1010s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:50 1010s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:51 1010s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:52 1010s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:53 1010s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:54 1010s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:55 1010s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:56 1010s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:57 1010s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:58 1010s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:59 1010s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:60 1010s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:61 1010s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:62 1010s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:63 1010s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:64 1010s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:65 1010s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:66 1010s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:67 1010s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:68 1010s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:69 1010s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:70 1010s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:71 1010s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:72 1010s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:73 1010s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:74 1010s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:75 1010s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:76 1010s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:77 1010s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:78 1010s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:79 1010s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:80 1010s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:81 1010s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:82 1010s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:83 1010s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:84 1010s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:85 1010s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:86 1010s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:87 1010s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:88 1010s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:89 1010s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:90 1010s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:91 1010s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:92 1010s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:93 1010s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:94 1010s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:95 1010s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:96 1010s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:97 1010s ok 4 /threadpool/no-sort 1010s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:1 1010s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:2 1010s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:3 1010s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:4 1010s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:5 1010s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:6 1010s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:7 1010s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:8 1010s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:9 1010s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:10 1010s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:11 1010s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:12 1010s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:13 1010s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:14 1010s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:15 1010s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:16 1010s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:17 1010s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:18 1010s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:19 1010s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:20 1010s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:21 1010s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:22 1010s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:23 1010s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:24 1010s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:25 1010s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:26 1010s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:27 1010s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:28 1010s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:29 1010s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:30 1010s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:31 1010s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:32 1010s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:33 1010s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:34 1010s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:35 1010s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:36 1010s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:37 1010s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:38 1010s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:39 1010s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:40 1010s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:41 1010s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:42 1010s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:43 1010s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:44 1010s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:45 1010s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:46 1010s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:47 1010s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:48 1010s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:49 1010s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:50 1010s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:51 1010s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:52 1010s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:53 1010s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:54 1010s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:55 1010s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:56 1010s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:57 1010s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:58 1010s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:59 1010s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:60 1010s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:61 1010s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:62 1010s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:63 1010s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:64 1010s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:65 1010s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:66 1010s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:67 1010s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:68 1010s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:69 1010s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:70 1010s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:71 1010s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:72 1010s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:73 1010s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:74 1010s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:75 1010s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:76 1010s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:77 1010s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:78 1010s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:79 1010s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:80 1010s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:81 1010s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:82 1010s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:83 1010s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:84 1010s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:85 1010s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:86 1010s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:87 1010s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:88 1010s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:89 1010s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:90 1010s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:91 1010s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:92 1010s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:93 1010s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:94 1010s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:95 1010s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:96 1010s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:97 1010s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:98 1010s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:99 1010s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:100 1010s # Starting thread pool processing 1010s ok 5 /threadpool/sort 1011s ok 6 /threadpool/stop-unused-multiple 1011s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1011s # Pool idle thread count: 0, unprocessed jobs: 50 1011s # Pool idle thread count: 0, unprocessed jobs: 0 1011s # Pool idle thread count: 0, unprocessed jobs: 0 1012s # Pool idle thread count: 10, unprocessed jobs: 0 1012s # Pool idle thread count: 10, unprocessed jobs: 0 1012s # Pool idle thread count: 10, unprocessed jobs: 0 1012s # Pool idle thread count: 10, unprocessed jobs: 0 1013s # Pool idle thread count: 10, unprocessed jobs: 0 1013s # Pool idle thread count: 10, unprocessed jobs: 0 1013s # Pool idle thread count: 10, unprocessed jobs: 0 1013s # Pool idle thread count: 10, unprocessed jobs: 0 1014s # Pool idle thread count: 10, unprocessed jobs: 0 1014s # Pool idle thread count: 10, unprocessed jobs: 0 1014s # Pool idle thread count: 10, unprocessed jobs: 0 1014s # Pool idle thread count: 10, unprocessed jobs: 0 1015s Executing: glib/thread-pool-slow.test 1015s # Pool idle thread count: 10, unprocessed jobs: 0 1015s # Pool idle thread count: 10, unprocessed jobs: 0 1015s # Pool idle thread count: 10, unprocessed jobs: 0 1015s # Pool idle thread count: 10, unprocessed jobs: 0 1016s # Pool idle thread count: 10, unprocessed jobs: 0 1016s # Pool idle thread count: 10, unprocessed jobs: 0 1016s # Pool idle thread count: 10, unprocessed jobs: 0 1016s # Pool idle thread count: 10, unprocessed jobs: 0 1017s # Pool idle thread count: 10, unprocessed jobs: 0 1017s # Pool idle thread count: 10, unprocessed jobs: 0 1017s # Pool idle thread count: 10, unprocessed jobs: 0 1017s # Pool idle thread count: 10, unprocessed jobs: 0 1018s # Pool idle thread count: 10, unprocessed jobs: 0 1018s # Pool idle thread count: 10, unprocessed jobs: 0 1018s # Pool idle thread count: 10, unprocessed jobs: 0 1018s # Pool idle thread count: 10, unprocessed jobs: 0 1019s # Pool idle thread count: 10, unprocessed jobs: 0 1019s # Pool idle thread count: 10, unprocessed jobs: 0 1019s # Pool idle thread count: 10, unprocessed jobs: 0 1019s # Pool idle thread count: 10, unprocessed jobs: 0 1020s Executing: glib/thread-pool-slow.test 1020s # Pool idle thread count: 10, unprocessed jobs: 2 1020s # Pool idle thread count: 10, unprocessed jobs: 2 1020s # Pool idle thread count: 8, unprocessed jobs: 0 1020s # Pool idle thread count: 8, unprocessed jobs: 0 1020s # Pool idle thread count: 10, unprocessed jobs: 0 1020s # Pool idle thread count: 10, unprocessed jobs: 0 1021s # Pool idle thread count: 10, unprocessed jobs: 0 1021s # Pool idle thread count: 10, unprocessed jobs: 0 1021s # Pool idle thread count: 10, unprocessed jobs: 0 1021s # Pool idle thread count: 10, unprocessed jobs: 0 1022s # Pool idle thread count: 2, unprocessed jobs: 0 1022s # Pool idle thread count: 2, unprocessed jobs: 0 1022s # Pool idle thread count: 2, unprocessed jobs: 0 1022s # Pool idle thread count: 2, unprocessed jobs: 0 1023s # Pool idle thread count: 2, unprocessed jobs: 0 1023s # Pool idle thread count: 2, unprocessed jobs: 0 1023s # Pool idle thread count: 2, unprocessed jobs: 0 1023s # Pool idle thread count: 2, unprocessed jobs: 0 1024s # Pool idle thread count: 2, unprocessed jobs: 0 1024s # Pool idle thread count: 2, unprocessed jobs: 0 1024s # Pool idle thread count: 2, unprocessed jobs: 0 1024s # Pool idle thread count: 2, unprocessed jobs: 0 1025s Executing: glib/thread-pool-slow.test 1025s # Pool idle thread count: 2, unprocessed jobs: 0 1025s # Pool idle thread count: 2, unprocessed jobs: 0 1025s # Pool idle thread count: 2, unprocessed jobs: 0 1025s # Pool idle thread count: 2, unprocessed jobs: 0 1026s # Pool idle thread count: 2, unprocessed jobs: 0 1026s # Pool idle thread count: 2, unprocessed jobs: 0 1026s # Pool idle thread count: 2, unprocessed jobs: 0 1026s # Pool idle thread count: 2, unprocessed jobs: 0 1027s # Pool idle thread count: 2, unprocessed jobs: 0 1027s # Pool idle thread count: 2, unprocessed jobs: 0 1027s # Pool idle thread count: 2, unprocessed jobs: 0 1027s # Pool idle thread count: 2, unprocessed jobs: 0 1028s # Pool idle thread count: 2, unprocessed jobs: 0 1028s # Pool idle thread count: 2, unprocessed jobs: 0 1028s # Pool idle thread count: 2, unprocessed jobs: 0 1028s # Pool idle thread count: 2, unprocessed jobs: 0 1029s # Pool idle thread count: 2, unprocessed jobs: 0 1029s # Pool idle thread count: 2, unprocessed jobs: 0 1029s # Pool idle thread count: 2, unprocessed jobs: 0 1029s # Pool idle thread count: 2, unprocessed jobs: 0 1030s Executing: glib/thread-pool-slow.test 1030s # Pool idle thread count: 2, unprocessed jobs: 0 1030s # Pool idle thread count: 2, unprocessed jobs: 0 1030s ok 7 /threadpool/idle-time 1030s # slow test /threadpool/idle-time executed in 19.53 secs 1030s # End of threadpool tests 1030s PASS: glib/thread-pool-slow.test 1030s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.1s; maxrss=4360 1031s autopkgtest [18:53:16]: test thread-pool-slow: -----------------------] 1031s thread-pool-slow PASS 1031s autopkgtest [18:53:16]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1032s autopkgtest [18:53:17]: test threadtests: preparing testbed 1032s Reading package lists... 1032s Building dependency tree... 1032s Reading state information... 1032s Starting pkgProblemResolver with broken count: 0 1032s Starting 2 pkgProblemResolver with broken count: 0 1033s Done 1033s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1034s autopkgtest [18:53:19]: test threadtests: [----------------------- 1034s Running test: glib/threadtests.test 1034s TAP version 14 1034s # random seed: R02S867535f231b58388585d0f03f557d7f9 1034s 1..5 1034s # Start of GObject tests 1034s ok 1 /GObject/threaded-object-init 1035s ok 2 /GObject/threaded-weak-ref 1035s # slow test /GObject/threaded-weak-ref executed in 0.92 secs 1035s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1035s # /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 1035s ok 3 /GObject/threaded-toggle-notify 1035s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1035s # Start of threaded-weak-ref tests 1035s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1035s # /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. 1035s ok 5 /GObject/threaded-weak-ref/on-finalization 1035s # End of threaded-weak-ref tests 1035s # End of GObject tests 1035s PASS: glib/threadtests.test 1035s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.7s; maxrss=4140 1035s autopkgtest [18:53:20]: test threadtests: -----------------------] 1036s threadtests PASS 1036s autopkgtest [18:53:21]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1036s autopkgtest [18:53:21]: test timeout: preparing testbed 1037s Reading package lists... 1037s Building dependency tree... 1037s Reading state information... 1037s Starting pkgProblemResolver with broken count: 0 1037s Starting 2 pkgProblemResolver with broken count: 0 1037s Done 1038s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1039s autopkgtest [18:53:24]: test timeout: [----------------------- 1039s Running test: glib/timeout.test 1039s TAP version 14 1039s # random seed: R02Sb65cb41d5d273b2af37e41143606ad45 1039s 1..5 1039s # Start of timeout tests 1039s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1041s ok 1 /timeout/seconds 1041s # slow test /timeout/seconds executed in 2.10 secs 1043s ok 2 /timeout/seconds-once 1043s # slow test /timeout/seconds-once executed in 2.10 secs 1043s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1044s Executing: glib/timeout.test 1045s ok 3 /timeout/weeks-overflow 1045s # slow test /timeout/weeks-overflow executed in 2.10 secs 1045s ok 4 /timeout/far-future-ready-time 1049s Executing: glib/timeout.test 1054s Executing: glib/timeout.test 1055s ok 5 /timeout/rounding 1055s # slow test /timeout/rounding executed in 9.98 secs 1055s # End of timeout tests 1055s PASS: glib/timeout.test 1055s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3428 1055s autopkgtest [18:53:40]: test timeout: -----------------------] 1056s timeout PASS 1056s autopkgtest [18:53:41]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1056s autopkgtest [18:53:41]: test timer: preparing testbed 1056s Reading package lists... 1057s Building dependency tree... 1057s Reading state information... 1057s Starting pkgProblemResolver with broken count: 0 1057s Starting 2 pkgProblemResolver with broken count: 0 1057s Done 1058s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1058s autopkgtest [18:53:43]: test timer: [----------------------- 1059s Running test: glib/timer.test 1059s TAP version 14 1059s # random seed: R02S3a5c2ac3c0381e01666843730480bb2e 1059s 1..10 1059s # Start of timer tests 1059s ok 1 /timer/basic 1059s ok 2 /timer/stop 1059s ok 3 /timer/continue 1059s ok 4 /timer/reset 1059s ok 5 /timer/is_active 1059s # End of timer tests 1059s # Start of timeval tests 1059s ok 6 /timeval/add 1059s ok 7 /timeval/from-iso8601 1059s ok 8 /timeval/to-iso8601 1059s # Start of to-iso8601 tests 1059s ok 9 /timeval/to-iso8601/overflow 1059s # End of to-iso8601 tests 1059s # End of timeval tests 1059s # Start of usleep tests 1059s ok 10 /usleep/with-zero-wait 1059s # End of usleep tests 1059s PASS: glib/timer.test 1059s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3516 1059s autopkgtest [18:53:44]: test timer: -----------------------] 1059s autopkgtest [18:53:44]: test timer: - - - - - - - - - - results - - - - - - - - - - 1059s timer PASS 1060s autopkgtest [18:53:45]: test 1065022-futureproofing: preparing testbed 1122s autopkgtest [18:54:47]: testbed dpkg architecture: amd64 1123s autopkgtest [18:54:48]: testbed apt version: 3.0.0 1123s autopkgtest [18:54:48]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1123s autopkgtest [18:54:48]: testbed release detected to be: plucky 1124s autopkgtest [18:54:49]: updating testbed package index (apt update) 1124s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [265 kB] 1124s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1125s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1125s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1125s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [5196 B] 1125s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [5776 B] 1125s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [3700 B] 1125s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 c-n-f Metadata [288 B] 1125s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 c-n-f Metadata [232 B] 1125s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [14.8 kB] 1125s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [17.3 kB] 1125s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 c-n-f Metadata [9496 B] 1125s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 c-n-f Metadata [440 B] 1125s Fetched 322 kB in 1s (462 kB/s) 1126s Reading package lists... 1126s autopkgtest [18:54:51]: upgrading testbed (apt dist-upgrade and autopurge) 1126s Reading package lists... 1127s Building dependency tree... 1127s Reading state information... 1127s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1127s Starting 2 pkgProblemResolver with broken count: 0 1127s Done 1127s Entering ResolveByKeep 1128s 1128s Calculating upgrade... 1128s The following packages will be upgraded: 1128s tzdata 1128s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1128s Need to get 198 kB of archives. 1128s After this operation, 0 B of additional disk space will be used. 1128s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 tzdata all 2025b-1ubuntu1.1 [198 kB] 1128s Preconfiguring packages ... 1128s Fetched 198 kB in 0s (578 kB/s) 1129s (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 ... 80514 files and directories currently installed.) 1129s Preparing to unpack .../tzdata_2025b-1ubuntu1.1_all.deb ... 1129s Unpacking tzdata (2025b-1ubuntu1.1) over (2025b-1ubuntu1) ... 1129s Setting up tzdata (2025b-1ubuntu1.1) ... 1129s 1129s Current default time zone: 'Etc/UTC' 1129s Local time is now: Tue May 6 18:54:54 UTC 2025. 1129s Universal Time is now: Tue May 6 18:54:54 UTC 2025. 1129s Run 'dpkg-reconfigure tzdata' if you wish to change it. 1129s 1129s Reading package lists... 1130s Building dependency tree... 1130s Reading state information... 1130s Starting pkgProblemResolver with broken count: 0 1130s Starting 2 pkgProblemResolver with broken count: 0 1130s Done 1130s Solving dependencies... 1130s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1133s Reading package lists... 1133s Building dependency tree... 1133s Reading state information... 1133s Starting pkgProblemResolver with broken count: 0 1133s Starting 2 pkgProblemResolver with broken count: 0 1133s Done 1133s The following NEW packages will be installed: 1133s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1133s libdconf1 1134s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1134s Need to get 140 kB of archives. 1134s After this operation, 648 kB of additional disk space will be used. 1134s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libdconf1 amd64 0.40.0-5 [39.8 kB] 1134s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 dconf-service amd64 0.40.0-5 [28.4 kB] 1134s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 dconf-gsettings-backend amd64 0.40.0-5 [22.7 kB] 1134s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 dpkg-repack all 1.54 [11.2 kB] 1134s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 gsettings-desktop-schemas all 48.0-1ubuntu1 [37.6 kB] 1134s Fetched 140 kB in 0s (409 kB/s) 1134s Selecting previously unselected package libdconf1:amd64. 1134s (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 ... 80514 files and directories currently installed.) 1134s Preparing to unpack .../libdconf1_0.40.0-5_amd64.deb ... 1134s Unpacking libdconf1:amd64 (0.40.0-5) ... 1134s Selecting previously unselected package dconf-service. 1134s Preparing to unpack .../dconf-service_0.40.0-5_amd64.deb ... 1134s Unpacking dconf-service (0.40.0-5) ... 1134s Selecting previously unselected package dconf-gsettings-backend:amd64. 1134s Preparing to unpack .../dconf-gsettings-backend_0.40.0-5_amd64.deb ... 1134s Unpacking dconf-gsettings-backend:amd64 (0.40.0-5) ... 1134s Selecting previously unselected package dpkg-repack. 1134s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1134s Unpacking dpkg-repack (1.54) ... 1134s Selecting previously unselected package gsettings-desktop-schemas. 1134s Preparing to unpack .../gsettings-desktop-schemas_48.0-1ubuntu1_all.deb ... 1134s Unpacking gsettings-desktop-schemas (48.0-1ubuntu1) ... 1134s Setting up dpkg-repack (1.54) ... 1134s Setting up libdconf1:amd64 (0.40.0-5) ... 1134s Setting up dconf-service (0.40.0-5) ... 1134s Setting up dconf-gsettings-backend:amd64 (0.40.0-5) ... 1134s Setting up gsettings-desktop-schemas (48.0-1ubuntu1) ... 1134s Processing triggers for man-db (2.13.0-1) ... 1135s Processing triggers for libglib2.0-0t64:amd64 (2.84.1-1) ... 1135s Processing triggers for libc-bin (2.41-6ubuntu1) ... 1141s autopkgtest [18:55:06]: test 1065022-futureproofing: [----------------------- 1141s + export DEBIAN_FRONTEND=noninteractive 1141s + n=0 1141s + failed=0 1141s + binary_package=libglib2.0-0t64 1141s + future_binary_package=libglib2.0-0xyz 1141s + pwd 1141s + srcdir=/tmp/autopkgtest.5Mldd1/build.hyQ/src 1141s + mktemp -d 1141s + tmpdir=/tmp/tmp.SSACmH4EJx 1141s + cd /tmp/tmp.SSACmH4EJx 1141s + [ -e /tmp/autopkgtest.5Mldd1/build.hyQ/src/debian/tests/manual/local-1065022.sources ] 1141s + dpkg-query -W dpkg-repack 1141s dpkg-repack 1.54 1141s + dpkg-repack --generate libglib2.0-0t64 1142s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1142s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.Ahx86D for libglib2.0-0t64 1142s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.Ahx86D ." 1142s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.Ahx86D/DEBIAN/control 1142s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.Ahx86D/DEBIAN/control 1142s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.Ahx86D/DEBIAN/control 1142s + 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.Ahx86D/DEBIAN/control 1142s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.Ahx86D libglib2.0-0xyz.deb 1142s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1143s + apt-get -y install ./libglib2.0-0xyz.deb 1143s Reading package lists... 1143s Building dependency tree... 1143s Reading state information... 1143s Solving dependencies... 1143s Writing error report... 1144s The following packages were automatically installed and are no longer required: 1144s apport-symptoms exfatprogs fwupd-signed jq libatasmart4 libbytesize-common 1144s libbytesize1 libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 libicu76 1144s libinih1 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 1144s libonig5 libprotobuf-c1 libtss2-esys-3.0.2-0t64 libtss2-sys1t64 1144s libtss2-tcti-cmd0t64 libtss2-tcti-mssim0t64 libtss2-tcti-swtpm0t64 1144s python3-apport python3-configobj python3-debconf python3-markdown-it 1144s python3-mdurl python3-problem-report python3-pygments python3-rich 1144s python3-systemd 1144s Use 'sudo apt autoremove' to remove them. 1144s The following additional packages will be installed: 1144s xdg-user-dirs 1144s Suggested packages: 1144s low-memory-monitor 1144s Recommended packages: 1144s shared-mime-info 1144s The following packages will be REMOVED: 1144s apport apport-core-dump-handler bolt cloud-init cloud-init-base 1144s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0 1144s gir1.2-glib-2.0 gsettings-desktop-schemas libblockdev-crypto3 1144s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 1144s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3 1144s libdconf1 libfwupd3 libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0 1144s libjcat1 libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 1144s libnetplan1 libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5 1144s libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 1144s netplan-generator netplan.io networkd-dispatcher python3-dbus python3-gi 1144s python3-netplan shared-mime-info ubuntu-minimal udisks2 xfsprogs 1144s The following NEW packages will be installed: 1144s libglib2.0-0xyz xdg-user-dirs 1144s 0 upgraded, 2 newly installed, 49 to remove and 0 not upgraded. 1144s Need to get 18.5 kB/1689 kB of archives. 1144s After this operation, 36.9 MB disk space will be freed. 1144s Get:1 /tmp/tmp.SSACmH4EJx/libglib2.0-0xyz.deb libglib2.0-0xyz amd64 2.84.1-1 [1670 kB] 1144s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 xdg-user-dirs amd64 0.18-2 [18.5 kB] 1144s Fetched 18.5 kB in 0s (82.5 kB/s) 1144s (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 ... 80583 files and directories currently installed.) 1144s Removing bolt (0.9.8-1) ... 1144s Removing cloud-init (25.1.1-0ubuntu2) ... 1144s Removing cloud-init-base (25.1.1-0ubuntu2) ... 1145s Removing gsettings-desktop-schemas (48.0-1ubuntu1) ... 1145s Removing dconf-gsettings-backend:amd64 (0.40.0-5) ... 1145s Removing dconf-service (0.40.0-5) ... 1145s Removing fwupd (2.0.7-1) ... 1145s Removing networkd-dispatcher (2.2.4-1.1) ... 1146s Removing udisks2 (2.10.1-11ubuntu2) ... 1146s Removing libblockdev-crypto3:amd64 (3.3.0-2) ... 1146s Removing libblockdev-fs3:amd64 (3.3.0-2) ... 1146s Removing libblockdev-loop3:amd64 (3.3.0-2) ... 1146s Removing libblockdev-mdraid3:amd64 (3.3.0-2) ... 1146s Removing libblockdev-nvme3:amd64 (3.3.0-2) ... 1146s Removing libblockdev-part3:amd64 (3.3.0-2) ... 1146s Removing libblockdev-swap3:amd64 (3.3.0-2) ... 1146s Removing libblockdev3:amd64 (3.3.0-2) ... 1146s Removing libblockdev-utils3:amd64 (3.3.0-2) ... 1146s Removing libdconf1:amd64 (0.40.0-5) ... 1146s Removing libfwupd3:amd64 (2.0.7-1) ... 1146s Removing shared-mime-info (2.4-5build1) ... 1146s Removing xfsprogs (6.13.0-2ubuntu1) ... 1146s Removing python3-dbus (1.3.2-5build5) ... 1147s Removing libgudev-1.0-0:amd64 (1:238-6) ... 1147s Removing libjcat1:amd64 (0.2.0-2build3) ... 1147s Removing libjson-glib-1.0-0:amd64 (1.10.6+ds-2) ... 1147s Removing libqmi-proxy (1.35.6-1) ... 1147s Removing libqmi-glib5:amd64 (1.35.6-1) ... 1147s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 1147s Removing libmbim-glib4:amd64 (1.31.2-0ubuntu4) ... 1147s Removing libmm-glib0:amd64 (1.23.4-0ubuntu3) ... 1147s Removing ubuntu-minimal (1.549) ... 1147s Removing netplan.io (1.1.2-2ubuntu1) ... 1147s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1147s Removing python3-netplan (1.1.2-2ubuntu1) ... 1147s Removing netplan-generator (1.1.2-2ubuntu1) ... 1147s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1147s Removing libnetplan1:amd64 (1.1.2-2ubuntu1) ... 1147s Removing libpolkit-agent-1-0:amd64 (126-2) ... 1147s Removing libpolkit-gobject-1-0:amd64 (126-2) ... 1147s Removing libqrtr-glib0:amd64 (1.2.2-1ubuntu4) ... 1147s Removing libudisks2-0:amd64 (2.10.1-11ubuntu2) ... 1147s Removing libvolume-key1:amd64 (0.3.12-9) ... 1147s Removing libxmlb2:amd64 (0.3.22-1) ... 1147s Removing apport (2.32.0-0ubuntu5) ... 1148s Removing apport-core-dump-handler (2.32.0-0ubuntu5) ... 1148s Removing python3-gi (3.50.0-4build1) ... 1148s Removing gir1.2-girepository-2.0:amd64 (1.84.0-1) ... 1148s Removing gir1.2-glib-2.0:amd64 (2.84.1-1) ... 1148s Removing libgirepository-1.0-1:amd64 (1.84.0-1) ... 1148s Removing libglib2.0-0t64:amd64 (2.84.1-1) ... 1148s Selecting previously unselected package libglib2.0-0xyz:amd64. 1148s (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 ... 79437 files and directories currently installed.) 1148s Preparing to unpack .../libglib2.0-0xyz.deb ... 1148s Unpacking libglib2.0-0xyz:amd64 (2.84.1-1) ... 1148s Selecting previously unselected package xdg-user-dirs. 1148s Preparing to unpack .../xdg-user-dirs_0.18-2_amd64.deb ... 1148s Unpacking xdg-user-dirs (0.18-2) ... 1148s Setting up xdg-user-dirs (0.18-2) ... 1148s Setting up libglib2.0-0xyz:amd64 (2.84.1-1) ... 1148s No schema files found: removed existing output file. 1148s Processing triggers for dbus (1.16.2-2ubuntu1) ... 1148s Processing triggers for initramfs-tools (0.147ubuntu1) ... 1148s update-initramfs: Generating /boot/initrd.img-6.14.0-15-generic 1148s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 1157s Processing triggers for libc-bin (2.41-6ubuntu1) ... 1157s Processing triggers for man-db (2.13.0-1) ... 1158s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1158s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1158s + n=1 1158s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1158s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1158s + failed=1 1158s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1158s + n=2 1158s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1158s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1158s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1158s + failed=1 1158s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1158s + n=3 1158s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1158s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1158s + failed=1 1158s + assert test -snot ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1158s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1158s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1158s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1158s Reading package lists... 1158s Building dependency tree... /usr/lib/*/gio/modules/libdconfsettings.so 1158s + n=4 1158s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1158s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1158s + failed=1 1158s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1158s + n=5 1158s + test -e /usr/lib/*/gio/modules/giomodule.cache 1158s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1158s + failed=1 1158s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1158s + n=6 1158s + test -s /usr/lib/*/gio/modules/giomodule.cache 1158s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1158s + failed=1 1158s + apt-get -y purge libglib2.0-0t64 1159s 1159s Reading state information... 1159s The following packages were automatically installed and are no longer required: 1159s apport-symptoms exfatprogs fwupd-signed jq libatasmart4 libbytesize-common 1159s libbytesize1 libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 libicu76 1159s libinih1 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 1159s libonig5 libprotobuf-c1 libtss2-esys-3.0.2-0t64 libtss2-sys1t64 1159s libtss2-tcti-cmd0t64 libtss2-tcti-mssim0t64 libtss2-tcti-swtpm0t64 1159s python3-apport python3-configobj python3-debconf python3-markdown-it 1159s python3-mdurl python3-problem-report python3-pygments python3-rich 1159s python3-systemd 1159s Use 'sudo apt autoremove' to remove them. 1159s The following packages will be REMOVED: 1159s libglib2.0-0t64* 1159s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1159s After this operation, 0 B of additional disk space will be used. 1159s (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 ... 79472 files and directories currently installed.) 1159s Purging configuration files for libglib2.0-0t64:amd64 (2.84.1-1) ... 1159s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1159s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1159s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1159s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1159s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1159s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1159s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1159s + n=7 1159s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1159s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1159s + failed=1 1159s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1159s + n=8 1159s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1159s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1159s + failed=1 1159s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1159s + n=9 1159s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1159s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1159s + failed=1 1159s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1159s + n=10 1159s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1159s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1159s + failed=1 1159s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1159s + n=11 1159s + test -e /usr/lib/*/gio/modules/giomodule.cache 1159s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1159s + failed=1 1159s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1159s + n=12 1159s + test -s /usr/lib/*/gio/modules/giomodule.cache 1159s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1159s + failed=1 1159s + apt-get -y purge libglib2.0-0xyz 1160s Reading package lists... 1160s Building dependency tree... 1160s Reading state information... 1160s The following packages were automatically installed and are no longer required: 1160s apport-symptoms exfatprogs fwupd-signed jq libatasmart4 libatomic1 1160s libbytesize-common libbytesize1 libdrm-amdgpu1 libflashrom1 libftdi1-2 1160s libglib2.0-data libgpgme11t64 libicu76 libinih1 libjq1 1160s libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 libprotobuf-c1 1160s libtss2-esys-3.0.2-0t64 libtss2-sys1t64 libtss2-tcti-cmd0t64 1160s libtss2-tcti-mssim0t64 libtss2-tcti-swtpm0t64 python3-apport 1160s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1160s python3-problem-report python3-pygments python3-rich python3-systemd 1160s xdg-user-dirs 1160s Use 'sudo apt autoremove' to remove them. 1160s The following packages will be REMOVED: 1160s libglib2.0-0xyz* 1160s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1160s After this operation, 4638 kB disk space will be freed. 1160s (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 ... 79472 files and directories currently installed.) 1160s Removing libglib2.0-0xyz:amd64 (2.84.1-1) ... 1160s Processing triggers for libc-bin (2.41-6ubuntu1) ... 1160s (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 ... 79447 files and directories currently installed.) 1160s Purging configuration files for libglib2.0-0xyz:amd64 (2.84.1-1) ... 1161s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1161s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1161s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1161s + n=13 1161s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1161s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1161s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1161s + n=14 1161s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1161s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1161s + ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1161s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1161s 1..16 1161s assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1161s + n=15 1161s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1161s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1161s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1161s + n=16 1161s + test -e /usr/lib/*/gio/modules/giomodule.cache 1161s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1161s + echo 1..16 1161s + exit 1 1161s autopkgtest [18:55:26]: test 1065022-futureproofing: -----------------------] 1161s 1065022-futureproofing FLAKY non-zero exit status 1 1161s autopkgtest [18:55:26]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1162s autopkgtest [18:55:27]: @@@@@@@@@@@@@@@@@@@@ summary 1162s build PASS (superficial) 1162s build-static PASS (superficial) 1162s girepository-tools PASS (superficial) 1162s libgio-2.0-dev-bin PASS (superficial) 1162s libglib2.0-dev PASS (superficial) 1162s installed-tests PASS 1162s closure-refcount PASS 1162s debugcontroller PASS 1162s gdbus-server-auth PASS 1162s gdbus-threading PASS 1162s gmenumodel PASS 1162s mainloop PASS 1162s memory-monitor-dbus PASS 1162s socket PASS 1162s testfilemonitor PASS 1162s thread-pool-slow PASS 1162s threadtests PASS 1162s timeout PASS 1162s timer PASS 1162s 1065022-futureproofing FLAKY non-zero exit status 1 1166s nova [W] Skipping flock for amd64 1166s Creating nova instance adt-plucky-amd64-glib2.0-20250506-183605-juju-7f2275-prod-proposed-migration-environment-21-327fec12-ed4f-4bd4-bde7-1dd626ab3d3c from image adt/ubuntu-plucky-amd64-server-20250506.img (UUID d6b827dd-665a-49fe-9aa5-d220430ba795)... 1166s nova [W] Timed out waiting for d4e1001f-217e-42bc-95bc-330ff4553dbd to get deleted. 1166s nova [W] Skipping flock for amd64 1166s Creating nova instance adt-plucky-amd64-glib2.0-20250506-183605-juju-7f2275-prod-proposed-migration-environment-21-327fec12-ed4f-4bd4-bde7-1dd626ab3d3c from image adt/ubuntu-plucky-amd64-server-20250506.img (UUID d6b827dd-665a-49fe-9aa5-d220430ba795)... 1166s nova [W] Timed out waiting for 14e9e32b-fa1e-4e03-adb2-3ab693b5b137 to get deleted. 1166s nova [W] Skipping flock for amd64 1166s Creating nova instance adt-plucky-amd64-glib2.0-20250506-183605-juju-7f2275-prod-proposed-migration-environment-21-327fec12-ed4f-4bd4-bde7-1dd626ab3d3c from image adt/ubuntu-plucky-amd64-server-20250506.img (UUID d6b827dd-665a-49fe-9aa5-d220430ba795)... 1166s nova [W] Timed out waiting for bba1dd75-ff34-41de-b261-0b5564300c84 to get deleted. 1166s nova [W] Skipping flock for amd64 1166s Creating nova instance adt-plucky-amd64-glib2.0-20250506-183605-juju-7f2275-prod-proposed-migration-environment-21-327fec12-ed4f-4bd4-bde7-1dd626ab3d3c from image adt/ubuntu-plucky-amd64-server-20250506.img (UUID d6b827dd-665a-49fe-9aa5-d220430ba795)... 1166s nova [W] Timed out waiting for dcb0b93a-a338-4728-a488-759235e940fa to get deleted. 1166s nova [W] Skipping flock for amd64 1166s Creating nova instance adt-plucky-amd64-glib2.0-20250506-183605-juju-7f2275-prod-proposed-migration-environment-21-327fec12-ed4f-4bd4-bde7-1dd626ab3d3c from image adt/ubuntu-plucky-amd64-server-20250506.img (UUID d6b827dd-665a-49fe-9aa5-d220430ba795)... 1166s nova [W] Timed out waiting for 6073faac-5cb5-49e9-a7dd-bfa6b3b49ad6 to get deleted. 1166s nova [W] Skipping flock for amd64 1166s Creating nova instance adt-plucky-amd64-glib2.0-20250506-183605-juju-7f2275-prod-proposed-migration-environment-21-327fec12-ed4f-4bd4-bde7-1dd626ab3d3c from image adt/ubuntu-plucky-amd64-server-20250506.img (UUID d6b827dd-665a-49fe-9aa5-d220430ba795)... 1166s nova [W] Timed out waiting for 48bc7502-f72c-4f31-a58b-b1df3685a621 to get deleted.